pub struct ClassifierMetadata {
pub evaluation_metrics: Option<ClassifierEvaluationMetrics>,
pub number_of_labels: Option<i64>,
pub number_of_test_documents: Option<i64>,
pub number_of_trained_documents: Option<i64>,
}Expand description
Provides information about a document classifier.
Fields§
§evaluation_metrics: Option<ClassifierEvaluationMetrics>Describes the result metrics for the test data associated with an documentation classifier.
number_of_labels: Option<i64>The number of labels in the input data.
number_of_test_documents: Option<i64>The number of documents in the input data that were used to test the classifier. Typically this is 10 to 20 percent of the input documents, up to 10,000 documents.
number_of_trained_documents: Option<i64>The number of documents in the input data that were used to train the classifier. Typically this is 80 to 90 percent of the input documents.
Trait Implementations§
Source§impl Clone for ClassifierMetadata
impl Clone for ClassifierMetadata
Source§fn clone(&self) -> ClassifierMetadata
fn clone(&self) -> ClassifierMetadata
Returns a duplicate 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 ClassifierMetadata
impl Debug for ClassifierMetadata
Source§impl Default for ClassifierMetadata
impl Default for ClassifierMetadata
Source§fn default() -> ClassifierMetadata
fn default() -> ClassifierMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClassifierMetadata
impl<'de> Deserialize<'de> for ClassifierMetadata
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ClassifierMetadata
impl PartialEq for ClassifierMetadata
impl StructuralPartialEq for ClassifierMetadata
Auto Trait Implementations§
impl Freeze for ClassifierMetadata
impl RefUnwindSafe for ClassifierMetadata
impl Send for ClassifierMetadata
impl Sync for ClassifierMetadata
impl Unpin for ClassifierMetadata
impl UnwindSafe for ClassifierMetadata
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