public class UpdateDocumentClassifierOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
UpdateDocumentClassifierOptions.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
UpdateDocumentClassifier |
classifier()
Gets the classifier.
|
String |
classifierId()
Gets the classifierId.
|
UpdateDocumentClassifierOptions.Builder |
newBuilder()
New builder.
|
String |
projectId()
Gets the projectId.
|
InputStream |
testData()
Gets the testData.
|
InputStream |
trainingData()
Gets the trainingData.
|
public UpdateDocumentClassifierOptions.Builder newBuilder()
public String projectId()
The Universally Unique Identifier (UUID) of the project. This information can be found from the *Integrate and Deploy* page in Discovery.
public String classifierId()
The Universally Unique Identifier (UUID) of the classifier.
public UpdateDocumentClassifier classifier()
An object that contains a new name or description for a document classifier, updated training data, or new or updated test data.
public InputStream trainingData()
The training data CSV file to upload. The CSV file must have headers. The file must include a field that contains the text you want to classify and a field that contains the classification labels that you want to use to classify your data. If you want to specify multiple values in a single column, use a semicolon as the value separator. For a sample file, see [the product documentation](/docs/discovery-data?topic=discovery-data-cm-doc-classifier).
public InputStream testData()
The CSV with test data to upload. The column values in the test file must be the same as the column values in the training data file. If no test data is provided, the training data is split into two separate groups of training and test data.
Copyright © 2024 IBM Cloud. All rights reserved.