public class CreateDocumentClassifierModelOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
CreateDocumentClassifierModelOptions.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
String |
classifierId()
Gets the classifierId.
|
String |
description()
Gets the description.
|
Double |
improvementRatio()
Gets the improvementRatio.
|
List<Double> |
l1RegularizationStrengths()
Gets the l1RegularizationStrengths.
|
List<Double> |
l2RegularizationStrengths()
Gets the l2RegularizationStrengths.
|
Double |
learningRate()
Gets the learningRate.
|
String |
name()
Gets the name.
|
CreateDocumentClassifierModelOptions.Builder |
newBuilder()
New builder.
|
String |
projectId()
Gets the projectId.
|
Long |
trainingMaxSteps()
Gets the trainingMaxSteps.
|
public CreateDocumentClassifierModelOptions.Builder newBuilder()
public String projectId()
The ID of the project. This information can be found from the *Integrate and Deploy* page in Discovery.
public String classifierId()
The ID of the classifier.
public String name()
The name of the document classifier model.
public String description()
A description of the document classifier model.
public Double learningRate()
A tuning parameter in an optimization algorithm that determines the step size at each iteration of the training process. It influences how much of any newly acquired information overrides the existing information, and therefore is said to represent the speed at which a machine learning model learns. The default value is `0.1`.
public List<Double> l1RegularizationStrengths()
Avoids overfitting by shrinking the coefficient of less important features to zero, which removes some features altogether. You can specify many values for hyper-parameter optimization. The default value is `[0.000001]`.
public List<Double> l2RegularizationStrengths()
A method you can apply to avoid overfitting your model on the training data. You can specify many values for hyper-parameter optimization. The default value is `[0.000001]`.
public Long trainingMaxSteps()
Maximum number of training steps to complete. This setting is useful if you need the training process to finish in a specific time frame to fit into an automated process. The default value is ten million.
public Double improvementRatio()
Stops the training run early if the improvement ratio is not met by the time the process reaches a certain point. The default value is `0.00001`.
Copyright © 2022 IBM Cloud. All rights reserved.