public static class CreateDocumentClassifierModelOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String projectId,
String classifierId,
String name)
Instantiates a new builder with required properties.
|
public CreateDocumentClassifierModelOptions build()
public CreateDocumentClassifierModelOptions.Builder addL1RegularizationStrengths(Double l1RegularizationStrengths)
l1RegularizationStrengths
- the new l1RegularizationStrengthspublic CreateDocumentClassifierModelOptions.Builder addL2RegularizationStrengths(Double l2RegularizationStrengths)
l2RegularizationStrengths
- the new l2RegularizationStrengthspublic CreateDocumentClassifierModelOptions.Builder projectId(String projectId)
projectId
- the projectIdpublic CreateDocumentClassifierModelOptions.Builder classifierId(String classifierId)
classifierId
- the classifierIdpublic CreateDocumentClassifierModelOptions.Builder name(String name)
name
- the namepublic CreateDocumentClassifierModelOptions.Builder description(String description)
description
- the descriptionpublic CreateDocumentClassifierModelOptions.Builder learningRate(Double learningRate)
learningRate
- the learningRatepublic CreateDocumentClassifierModelOptions.Builder l1RegularizationStrengths(List<Double> l1RegularizationStrengths)
l1RegularizationStrengths
- the l1RegularizationStrengthspublic CreateDocumentClassifierModelOptions.Builder l2RegularizationStrengths(List<Double> l2RegularizationStrengths)
l2RegularizationStrengths
- the l2RegularizationStrengthspublic CreateDocumentClassifierModelOptions.Builder trainingMaxSteps(long trainingMaxSteps)
trainingMaxSteps
- the trainingMaxStepspublic CreateDocumentClassifierModelOptions.Builder improvementRatio(Double improvementRatio)
improvementRatio
- the improvementRatioCopyright © 2022 IBM Cloud. All rights reserved.