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>,
pub enable_metadata_with_recommendations: Option<bool>,
}
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.
enable_metadata_with_recommendations: Option<bool>
Whether metadata with recommendations is enabled for the recommender. If enabled, you can specify the columns from your Items dataset in your request for recommendations. Amazon Personalize returns this data for each item in the recommendation response.
If you enable metadata in recommendations, you will incur additional costs. For more information, see Amazon Personalize pricing.
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.
sourcepub fn enable_metadata_with_recommendations(&self) -> Option<bool>
pub fn enable_metadata_with_recommendations(&self) -> Option<bool>
Whether metadata with recommendations is enabled for the recommender. If enabled, you can specify the columns from your Items dataset in your request for recommendations. Amazon Personalize returns this data for each item in the recommendation response.
If you enable metadata in recommendations, you will incur additional costs. For more information, see Amazon Personalize pricing.
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 for RecommenderConfig
impl PartialEq 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 ==
.