public static class CreateClassifierOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(InputStream trainingMetadata,
InputStream trainingData)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
CreateClassifierOptions |
build()
Builds a CreateClassifierOptions.
|
CreateClassifierOptions.Builder |
trainingData(File trainingData)
Set the trainingData.
|
CreateClassifierOptions.Builder |
trainingData(InputStream trainingData)
Set the trainingData.
|
CreateClassifierOptions.Builder |
trainingMetadata(File trainingMetadata)
Set the trainingMetadata.
|
CreateClassifierOptions.Builder |
trainingMetadata(InputStream trainingMetadata)
Set the trainingMetadata.
|
public Builder()
public Builder(InputStream trainingMetadata, InputStream trainingData)
trainingMetadata
- the trainingMetadatatrainingData
- the trainingDatapublic CreateClassifierOptions build()
public CreateClassifierOptions.Builder trainingMetadata(InputStream trainingMetadata)
trainingMetadata
- the trainingMetadatapublic CreateClassifierOptions.Builder trainingData(InputStream trainingData)
trainingData
- the trainingDatapublic CreateClassifierOptions.Builder trainingMetadata(File trainingMetadata) throws FileNotFoundException
trainingMetadata
- the trainingMetadataFileNotFoundException
- if the file could not be foundpublic CreateClassifierOptions.Builder trainingData(File trainingData) throws FileNotFoundException
trainingData
- the trainingDataFileNotFoundException
- if the file could not be foundCopyright © 2021 IBM Cloud. All rights reserved.