Struct aws_sdk_personalize::types::TrainingDataConfig
source · #[non_exhaustive]pub struct TrainingDataConfig {
pub excluded_dataset_columns: Option<HashMap<String, Vec<String>>>,
}
Expand description
The training data configuration to use when creating a domain recommender or custom solution version (trained model).
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.excluded_dataset_columns: Option<HashMap<String, Vec<String>>>
Specifies the columns to exclude from training. Each key is a dataset type, and each value is a list of columns. Exclude columns to control what data Amazon Personalize uses to generate recommendations. For example, you might have a column that you want to use only to filter recommendations. You can exclude this column from training and Amazon Personalize considers it only when filtering.
Implementations§
source§impl TrainingDataConfig
impl TrainingDataConfig
sourcepub fn excluded_dataset_columns(&self) -> Option<&HashMap<String, Vec<String>>>
pub fn excluded_dataset_columns(&self) -> Option<&HashMap<String, Vec<String>>>
Specifies the columns to exclude from training. Each key is a dataset type, and each value is a list of columns. Exclude columns to control what data Amazon Personalize uses to generate recommendations. For example, you might have a column that you want to use only to filter recommendations. You can exclude this column from training and Amazon Personalize considers it only when filtering.
source§impl TrainingDataConfig
impl TrainingDataConfig
sourcepub fn builder() -> TrainingDataConfigBuilder
pub fn builder() -> TrainingDataConfigBuilder
Creates a new builder-style object to manufacture TrainingDataConfig
.
Trait Implementations§
source§impl Clone for TrainingDataConfig
impl Clone for TrainingDataConfig
source§fn clone(&self) -> TrainingDataConfig
fn clone(&self) -> TrainingDataConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TrainingDataConfig
impl Debug for TrainingDataConfig
source§impl PartialEq for TrainingDataConfig
impl PartialEq for TrainingDataConfig
source§fn eq(&self, other: &TrainingDataConfig) -> bool
fn eq(&self, other: &TrainingDataConfig) -> bool
self
and other
values to be equal, and is used
by ==
.