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. For information about enabling metadata for a recommender, see Enabling metadata in recommendations for a recommender.
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. For information about enabling metadata for a recommender, see Enabling metadata in recommendations for a recommender.
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 ==.impl StructuralPartialEq for RecommenderConfig
Auto Trait Implementations§
impl Freeze for RecommenderConfig
impl RefUnwindSafe for RecommenderConfig
impl Send for RecommenderConfig
impl Sync for RecommenderConfig
impl Unpin for RecommenderConfig
impl UnwindSafe for RecommenderConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more