#[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
impl StructuralPartialEq for TextClassificationJobConfig
Auto Trait Implementations§
impl Freeze for TextClassificationJobConfig
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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