Struct aws_sdk_personalize::types::RecommenderConfig
source · #[non_exhaustive]pub struct RecommenderConfig {
pub item_exploration_config: Option<HashMap<String, String>>,
pub min_recommendation_requests_per_second: Option<i32>,
pub training_data_config: Option<TrainingDataConfig>,
}Expand description
The configuration details of the recommender.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.item_exploration_config: Option<HashMap<String, String>>Specifies the exploration configuration hyperparameters, including explorationWeight and explorationItemAgeCutOff, you want to use to configure the amount of item exploration Amazon Personalize uses when recommending items. Provide itemExplorationConfig data only if your recommenders generate personalized recommendations for a user (not popular items or similar items).
min_recommendation_requests_per_second: Option<i32>Specifies the requested minimum provisioned recommendation requests per second that Amazon Personalize will support. A high minRecommendationRequestsPerSecond will increase your bill. We recommend starting with 1 for minRecommendationRequestsPerSecond (the default). Track your usage using Amazon CloudWatch metrics, and increase the minRecommendationRequestsPerSecond as necessary.
training_data_config: Option<TrainingDataConfig>Specifies the training data configuration to use when creating a domain recommender.
Implementations§
source§impl RecommenderConfig
impl RecommenderConfig
sourcepub fn item_exploration_config(&self) -> Option<&HashMap<String, String>>
pub fn item_exploration_config(&self) -> Option<&HashMap<String, String>>
Specifies the exploration configuration hyperparameters, including explorationWeight and explorationItemAgeCutOff, you want to use to configure the amount of item exploration Amazon Personalize uses when recommending items. Provide itemExplorationConfig data only if your recommenders generate personalized recommendations for a user (not popular items or similar items).
sourcepub fn min_recommendation_requests_per_second(&self) -> Option<i32>
pub fn min_recommendation_requests_per_second(&self) -> Option<i32>
Specifies the requested minimum provisioned recommendation requests per second that Amazon Personalize will support. A high minRecommendationRequestsPerSecond will increase your bill. We recommend starting with 1 for minRecommendationRequestsPerSecond (the default). Track your usage using Amazon CloudWatch metrics, and increase the minRecommendationRequestsPerSecond as necessary.
sourcepub fn training_data_config(&self) -> Option<&TrainingDataConfig>
pub fn training_data_config(&self) -> Option<&TrainingDataConfig>
Specifies the training data configuration to use when creating a domain recommender.
source§impl RecommenderConfig
impl RecommenderConfig
sourcepub fn builder() -> RecommenderConfigBuilder
pub fn builder() -> RecommenderConfigBuilder
Creates a new builder-style object to manufacture RecommenderConfig.
Trait Implementations§
source§impl Clone for RecommenderConfig
impl Clone for RecommenderConfig
source§fn clone(&self) -> RecommenderConfig
fn clone(&self) -> RecommenderConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RecommenderConfig
impl Debug for RecommenderConfig
source§impl PartialEq<RecommenderConfig> for RecommenderConfig
impl PartialEq<RecommenderConfig> for RecommenderConfig
source§fn eq(&self, other: &RecommenderConfig) -> bool
fn eq(&self, other: &RecommenderConfig) -> bool
self and other values to be equal, and is used
by ==.