public class MissingValueWeights extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MissingValueWeights.Builder
Builder for
MissingValueWeights instances. |
Modifier and Type | Method and Description |
---|---|
static MissingValueWeights.Builder |
builder(double[] weights)
Creates a builder that builds
MissingValueWeights
instances with the provided missing value weights. |
static MissingValueWeights |
createDefault(int size)
Creates a
MissingValueWeights instance with
a numArray of the requested size filled with 1.0s
(default value according to the PMML specification). |
double[] |
getNumArray()
Gets the missing value weights array of this
MissingValueWeights
instance. |
public double[] getNumArray()
MissingValueWeights
instance.public static MissingValueWeights createDefault(int size)
MissingValueWeights
instance with
a numArray of the requested size filled with 1.0s
(default value according to the PMML specification).size
- the size of the numArrayMissingValueWeights
instance with default missing value weightspublic static MissingValueWeights.Builder builder(double[] weights)
MissingValueWeights
instances with the provided missing value weights.weights
- the missing value weights, must not be nullMissingValueWeights.Builder
Copyright © 2016 Actian Corporation. All rights reserved.