GoogleCloudRecommendationengineV1beta1FeatureMapArgs

data class GoogleCloudRecommendationengineV1beta1FeatureMapArgs(val categoricalFeatures: Output<Map<String, String>>? = null, val numericalFeatures: Output<Map<String, String>>? = null) : ConvertibleToJava<GoogleCloudRecommendationengineV1beta1FeatureMapArgs>

FeatureMap represents extra features that customers want to include in the recommendation model for catalogs/user events as categorical/numerical features.

Constructors

fun GoogleCloudRecommendationengineV1beta1FeatureMapArgs(categoricalFeatures: Output<Map<String, String>>? = null, numericalFeatures: Output<Map<String, String>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): GoogleCloudRecommendationengineV1beta1FeatureMapArgs

Properties

Link copied to clipboard
val categoricalFeatures: Output<Map<String, String>>? = null

Categorical features that can take on one of a limited number of possible values. Some examples would be the brand/maker of a product, or country of a customer. Feature names and values must be UTF-8 encoded strings. For example: { "colors": {"value": ["yellow", "green"]}, "sizes": {"value":["S", "M"]}

Link copied to clipboard
val numericalFeatures: Output<Map<String, String>>? = null

Numerical features. Some examples would be the height/weight of a product, or age of a customer. Feature names must be UTF-8 encoded strings. For example: { "lengths_cm": {"value":[2&#46;3, 15&#46;4]}, "heights_cm": {"value":[8&#46;1, 6&#46;4]} }