public static class AlgorithmCompareMethod.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String label)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
AlgorithmCompareMethod.Builder |
addMethods(AlgorithmMethods methods)
Adds an methods to methods.
|
AlgorithmCompareMethod.Builder |
addWeights(Float weights)
Adds an weights to weights.
|
AlgorithmCompareMethod |
build()
Builds a AlgorithmCompareMethod.
|
AlgorithmCompareMethod.Builder |
label(String label)
Set the label.
|
AlgorithmCompareMethod.Builder |
methods(List<AlgorithmMethods> methods)
Set the methods.
|
AlgorithmCompareMethod.Builder |
weights(List<Float> weights)
Set the weights.
|
public Builder()
public Builder(String label)
label
- the labelpublic AlgorithmCompareMethod build()
public AlgorithmCompareMethod.Builder addWeights(Float weights)
weights
- the new weightspublic AlgorithmCompareMethod.Builder addMethods(AlgorithmMethods methods)
methods
- the new methodspublic AlgorithmCompareMethod.Builder weights(List<Float> weights)
weights
- the weightspublic AlgorithmCompareMethod.Builder methods(List<AlgorithmMethods> methods)
methods
- the methodspublic AlgorithmCompareMethod.Builder label(String label)
label
- the labelCopyright © 2021 IBM Cloud. All rights reserved.