#[non_exhaustive]pub struct TextClassificationJobConfig {
    pub completion_criteria: Option<AutoMlJobCompletionCriteria>,
    pub content_column: Option<String>,
    pub target_label_column: Option<String>,
}Expand description
The collection of settings used by an AutoML job V2 for the text classification problem type.
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.completion_criteria: Option<AutoMlJobCompletionCriteria>How long a job is allowed to run, or how many candidates a job is allowed to generate.
content_column: Option<String>The name of the column used to provide the sentences to be classified. It should not be the same as the target column.
target_label_column: Option<String>The name of the column used to provide the class labels. It should not be same as the content column.
Implementations§
source§impl TextClassificationJobConfig
 
impl TextClassificationJobConfig
sourcepub fn completion_criteria(&self) -> Option<&AutoMlJobCompletionCriteria>
 
pub fn completion_criteria(&self) -> Option<&AutoMlJobCompletionCriteria>
How long a job is allowed to run, or how many candidates a job is allowed to generate.
sourcepub fn content_column(&self) -> Option<&str>
 
pub fn content_column(&self) -> Option<&str>
The name of the column used to provide the sentences to be classified. It should not be the same as the target column.
sourcepub fn target_label_column(&self) -> Option<&str>
 
pub fn target_label_column(&self) -> Option<&str>
The name of the column used to provide the class labels. It should not be same as the content column.
source§impl TextClassificationJobConfig
 
impl TextClassificationJobConfig
sourcepub fn builder() -> TextClassificationJobConfigBuilder
 
pub fn builder() -> TextClassificationJobConfigBuilder
Creates a new builder-style object to manufacture TextClassificationJobConfig.
Trait Implementations§
source§impl Clone for TextClassificationJobConfig
 
impl Clone for TextClassificationJobConfig
source§fn clone(&self) -> TextClassificationJobConfig
 
fn clone(&self) -> TextClassificationJobConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TextClassificationJobConfig
 
impl Debug for TextClassificationJobConfig
source§impl PartialEq for TextClassificationJobConfig
 
impl PartialEq for TextClassificationJobConfig
source§fn eq(&self, other: &TextClassificationJobConfig) -> bool
 
fn eq(&self, other: &TextClassificationJobConfig) -> bool
self and other values to be equal, and is used
by ==.