public class MinMaxScaler$ extends Object implements scala.Serializable
Modifier and Type | Field and Description |
---|---|
static MinMaxScaler$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
MinMaxScaler$() |
Modifier and Type | Method and Description |
---|---|
MinMaxScaler |
apply() |
Object |
fitLabeledVectorMinMaxScaler()
Trains the
MinMaxScaler by learning the minimum and maximum of the features of the
training data which is of type LabeledVector . |
<T extends Vector> |
fitVectorMinMaxScaler()
Trains the
MinMaxScaler by learning the minimum and maximum of each feature of the
training data. |
Object |
transformLabeledVectors() |
<T extends Vector> |
transformVectors(BreezeVectorConverter<T> evidence$1,
TypeInformation<T> evidence$2,
scala.reflect.ClassTag<T> evidence$3)
TransformDataSetOperation which scales input data of subtype of Vector with respect to
the calculated minimum and maximum of the training data. |
public static final MinMaxScaler$ MODULE$
public MinMaxScaler apply()
public <T extends Vector> Object fitVectorMinMaxScaler()
MinMaxScaler
by learning the minimum and maximum of each feature of the
training data. These values are used in the transform step to transform the given input data.
FitOperation
training the MinMaxScaler
on subtypes of Vector
public Object fitLabeledVectorMinMaxScaler()
MinMaxScaler
by learning the minimum and maximum of the features of the
training data which is of type LabeledVector
. The minimum and maximum are used to
transform the given input data.
public <T extends Vector> Object transformVectors(BreezeVectorConverter<T> evidence$1, TypeInformation<T> evidence$2, scala.reflect.ClassTag<T> evidence$3)
TransformDataSetOperation
which scales input data of subtype of Vector
with respect to
the calculated minimum and maximum of the training data. The minimum and maximum
values of the resulting data is configurable.
TransformDataSetOperation
scaling subtypes of Vector
such that the feature
values are in the configured rangepublic Object transformLabeledVectors()
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.