public class CreateDocumentClassifier
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
CreateDocumentClassifier.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
String |
answerField()
Gets the answerField.
|
String |
description()
Gets the description.
|
List<DocumentClassifierEnrichment> |
enrichments()
Gets the enrichments.
|
ClassifierFederatedModel |
federatedClassification()
Gets the federatedClassification.
|
String |
language()
Gets the language.
|
String |
name()
Gets the name.
|
CreateDocumentClassifier.Builder |
newBuilder()
New builder.
|
public CreateDocumentClassifier.Builder newBuilder()
public String name()
A human-readable name of the document classifier.
public String description()
A description of the document classifier.
public String language()
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 String answerField()
The name of the field from the training and test data that contains the classification labels.
public List<DocumentClassifierEnrichment> enrichments()
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 ClassifierFederatedModel federatedClassification()
An object with details for creating federated document classifier models.
Copyright © 2024 IBM Cloud. All rights reserved.