public class CreateSentimentModelOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
CreateSentimentModelOptions.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.
|
CreateSentimentModelOptions.Builder |
newBuilder()
New builder.
|
InputStream |
trainingData()
Gets the trainingData.
|
Map<String,Object> |
userMetadata()
Gets the userMetadata.
|
String |
versionDescription()
Gets the versionDescription.
|
String |
workspaceId()
Gets the workspaceId.
|
public CreateSentimentModelOptions.Builder newBuilder()
public String language()
The 2-letter language code of this model.
public InputStream trainingData()
Training data in CSV format. For more information, see [Sentiment training data requirements](https://cloud.ibm.com/docs/natural-language-understanding?topic=natural-language-understanding-custom-sentiment#sentiment-training-data-requirements).
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.
Copyright © 2023 IBM Cloud. All rights reserved.