#[non_exhaustive]pub struct TextClassificationJobConfig { /* private fields */ }
Expand description
Stores the configuration information for the text classification problem of an AutoML job using the V2 API.
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TextClassificationJobConfig
impl Debug for TextClassificationJobConfig
source§impl PartialEq<TextClassificationJobConfig> for TextClassificationJobConfig
impl PartialEq<TextClassificationJobConfig> for TextClassificationJobConfig
source§fn eq(&self, other: &TextClassificationJobConfig) -> bool
fn eq(&self, other: &TextClassificationJobConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TextClassificationJobConfig
Auto Trait Implementations§
impl RefUnwindSafe for TextClassificationJobConfig
impl Send for TextClassificationJobConfig
impl Sync for TextClassificationJobConfig
impl Unpin for TextClassificationJobConfig
impl UnwindSafe for TextClassificationJobConfig
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
Mutably borrows from an owned value. Read more