GoogleCloudRecommendationengineV1beta1FeatureMap constructor

const GoogleCloudRecommendationengineV1beta1FeatureMap({
  1. Input<Map<String, String>>? categoricalFeatures,
  2. Input<Map<String, String>>? numericalFeatures,
})

Creates a new GoogleCloudRecommendationengineV1beta1FeatureMap. categoricalFeatures 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"]} numericalFeatures 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.3, 15.4]}, "heights_cm": {"value":[8.1, 6.4]} }

Implementation

const GoogleCloudRecommendationengineV1beta1FeatureMap({
  this.categoricalFeatures,
  this.numericalFeatures,
});