GoogleCloudRecommendationengineV1beta1FeatureMapResponse

data class GoogleCloudRecommendationengineV1beta1FeatureMapResponse(val categoricalFeatures: Map<String, String>, val numericalFeatures: Map<String, String>)

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

Constructors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

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]} }