public final class TrainingOptions extends Object
Constructor and Description |
---|
TrainingOptions() |
Modifier and Type | Method and Description |
---|---|
String |
getModelName()
Get the optional model name defined by the user.
|
Duration |
getPollInterval()
Get the duration between each poll for the operation status.
|
TrainingFileFilter |
getTrainingFileFilter()
Get the filter to apply to the documents in the source path for training.
|
TrainingOptions |
setModelName(String modelName)
Set the optional model name defined by the user.
|
TrainingOptions |
setPollInterval(Duration pollInterval)
Set the duration between each poll for the operation status.
|
TrainingOptions |
setTrainingFileFilter(TrainingFileFilter trainingFileFilter)
Set the filter to apply to the documents in the source path for training.
|
public TrainingFileFilter getTrainingFileFilter()
public TrainingOptions setTrainingFileFilter(TrainingFileFilter trainingFileFilter)
trainingFileFilter
- the filter
to apply to the documents
in the source path for training.TrainingOptions
value.public Duration getPollInterval()
pollInterval
value.public TrainingOptions setPollInterval(Duration pollInterval)
pollInterval
- the duration to specify between each poll for the operation status.TrainingOptions
value.public String getModelName()
public TrainingOptions setModelName(String modelName)
modelName
- the user defined model name to set.TrainingOptions
value.Copyright © 2021. All rights reserved.