public class DocumentClassifier
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Method and Description |
---|---|
String |
getAnswerField()
Gets the answerField.
|
String |
getClassifierId()
Gets the classifierId.
|
Date |
getCreated()
Gets the created.
|
String |
getDescription()
Gets the description.
|
List<DocumentClassifierEnrichment> |
getEnrichments()
Gets the enrichments.
|
ClassifierFederatedModel |
getFederatedClassification()
Gets the federatedClassification.
|
String |
getLanguage()
Gets the language.
|
String |
getName()
Gets the name.
|
List<String> |
getRecognizedFields()
Gets the recognizedFields.
|
String |
getTestDataFile()
Gets the testDataFile.
|
String |
getTrainingDataFile()
Gets the trainingDataFile.
|
public String getClassifierId()
A unique identifier of the document classifier.
public String getName()
A human-readable name of the document classifier.
public String getDescription()
A description of the document classifier.
public Date getCreated()
The date that the document classifier was created.
public String getLanguage()
The language of the training data that is associated with the document classifier. Language is specified by using the ISO 639-1 language code, such as `en` for English or `ja` for Japanese.
public List<DocumentClassifierEnrichment> getEnrichments()
An array of enrichments to apply to the data that is used to train and test the document classifier. The output from the enrichments is used as features by the classifier to classify the document content both during training and at run time.
public List<String> getRecognizedFields()
An array of fields that are used to train the document classifier. The same set of fields must exist in the training data, the test data, and the documents where the resulting document classifier enrichment is applied at run time.
public String getAnswerField()
The name of the field from the training and test data that contains the classification labels.
public String getTrainingDataFile()
Name of the CSV file with training data that is used to train the document classifier.
public String getTestDataFile()
Name of the CSV file with data that is used to test the document classifier. If no test data is provided, a subset of the training data is used for testing purposes.
public ClassifierFederatedModel getFederatedClassification()
An object with details for creating federated document classifier models.
Copyright © 2023 IBM Cloud. All rights reserved.