public class CreateClassificationsModelOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
CreateClassificationsModelOptions.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
String |
description()
Gets the description.
|
String |
language()
Gets the language.
|
String |
modelVersion()
Gets the modelVersion.
|
String |
name()
Gets the name.
|
CreateClassificationsModelOptions.Builder |
newBuilder()
New builder.
|
InputStream |
trainingData()
Gets the trainingData.
|
String |
trainingDataContentType()
Gets the trainingDataContentType.
|
ClassificationsTrainingParameters |
trainingParameters()
Gets the trainingParameters.
|
Map<String,Object> |
userMetadata()
Gets the userMetadata.
|
String |
versionDescription()
Gets the versionDescription.
|
String |
workspaceId()
Gets the workspaceId.
|
public CreateClassificationsModelOptions.Builder newBuilder()
public String language()
The 2-letter language code of this model.
public InputStream trainingData()
Training data in JSON format. For more information, see [Classifications training data requirements](https://cloud.ibm.com/docs/natural-language-understanding?topic=natural-language-understanding-classifications#classification-training-data-requirements).
public String trainingDataContentType()
The content type of trainingData. Values for this parameter can be obtained from the HttpMediaType class.
public String name()
An optional name for the model.
public Map<String,Object> userMetadata()
An optional map of metadata key-value pairs to store with this model.
public String description()
An optional description of the model.
public String modelVersion()
An optional version string.
public String workspaceId()
ID of the Watson Knowledge Studio workspace that deployed this model to Natural Language Understanding.
public String versionDescription()
The description of the version.
public ClassificationsTrainingParameters trainingParameters()
Optional classifications training parameters along with model train requests.
Copyright © 2024 IBM Cloud. All rights reserved.