Class GoogleCloudRecommendationengineV1beta1FeatureMap
FeatureMap represents extra features that customers want to include in the recommendation model for catalogs/user events as categorical/numerical features.
Implements
Inherited Members
Namespace: Google.Apis.RecommendationsAI.v1beta1.Data
Assembly: Google.Apis.RecommendationsAI.v1beta1.dll
Syntax
public class GoogleCloudRecommendationengineV1beta1FeatureMap : IDirectResponseSchema
Properties
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"]}
Declaration
[JsonProperty("categoricalFeatures")]
public virtual IDictionary<string, GoogleCloudRecommendationengineV1beta1FeatureMapStringList> CategoricalFeatures { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, GoogleCloudRecommendationengineV1beta1FeatureMapStringList> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
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]} }
Declaration
[JsonProperty("numericalFeatures")]
public virtual IDictionary<string, GoogleCloudRecommendationengineV1beta1FeatureMapFloatList> NumericalFeatures { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, GoogleCloudRecommendationengineV1beta1FeatureMapFloatList> |