GoogleCloudRecommendationengineV1beta1FeatureMap class

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

Constructors

GoogleCloudRecommendationengineV1beta1FeatureMap({Input<Map<String, String>>? categoricalFeatures, 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]} }
const
GoogleCloudRecommendationengineV1beta1FeatureMap.fromMap(Map<String, dynamic> map)
factory

Properties

categoricalFeatures → Input<Map<String, String>>?
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"]}
final
hashCode → int
The hash code for this object.
no setterinherited
numericalFeatures → Input<Map<String, String>>?
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]} }
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited