public class AutoDeskewTransform extends Object implements InPlaceTransform
Modifier | Constructor and Description |
---|---|
|
AutoDeskewTransform()
Creates a new AutoDeskew transform
|
protected |
AutoDeskewTransform(AutoDeskewTransform toCopy)
Copy constructor
|
|
AutoDeskewTransform(boolean ignorZeros,
List<Double> lambdas)
Creates a new AutoDeskew transform
|
|
AutoDeskewTransform(DataSet dataSet)
Creates a new deskewing object from the given data set
|
|
AutoDeskewTransform(DataSet dataSet,
boolean ignorZeros,
List<Double> lambdas)
Creates a new deskewing object from the given data set
|
|
AutoDeskewTransform(DataSet dataSet,
List<Double> lambdas)
Creates a new deskewing object from the given data set
|
|
AutoDeskewTransform(double... lambdas)
Creates a new AutoDeskew transform
|
|
AutoDeskewTransform(List<Double> lambdas)
Creates a new AutoDeskew transform
|
Modifier and Type | Method and Description |
---|---|
AutoDeskewTransform |
clone() |
void |
fit(DataSet dataSet)
Fits this transform to the given dataset.
|
void |
mutableTransform(DataPoint dp)
Mutates the given data point.
|
boolean |
mutatesNominal()
By default returns
false . |
DataPoint |
transform(DataPoint dp)
Returns a new data point that is a transformation of the original data
point.
|
public AutoDeskewTransform()
public AutoDeskewTransform(double... lambdas)
lambdas
- the list of lambda values to evaluatepublic AutoDeskewTransform(List<Double> lambdas)
lambdas
- the list of lambda values to evaluatepublic AutoDeskewTransform(boolean ignorZeros, List<Double> lambdas)
ignorZeros
- true
to ignore zero values when calculating the
skewness, false
to include them.lambdas
- the list of lambda values to evaluatepublic AutoDeskewTransform(DataSet dataSet)
dataSet
- the data set to deskewpublic AutoDeskewTransform(DataSet dataSet, List<Double> lambdas)
dataSet
- the data set to deskewlambdas
- the list of lambda values to evaluatepublic AutoDeskewTransform(DataSet dataSet, boolean ignorZeros, List<Double> lambdas)
dataSet
- the data set to deskewignorZeros
- true
to ignore zero values when calculating the
skewness, false
to include them.lambdas
- the list of lambda values to evaluateprotected AutoDeskewTransform(AutoDeskewTransform toCopy)
toCopy
- the object to copypublic void fit(DataSet dataSet)
DataTransform
FailedToFitException
exception may be
thrown.fit
in interface DataTransform
dataSet
- the dataset to fir this transform topublic DataPoint transform(DataPoint dp)
DataTransform
transform
in interface DataTransform
dp
- the data point to apply a transformation topublic void mutableTransform(DataPoint dp)
InPlaceTransform
DataTransform.transform(jsat.classifiers.DataPoint)
.mutableTransform
in interface InPlaceTransform
dp
- the data point to alterpublic AutoDeskewTransform clone()
clone
in interface DataTransform
clone
in class Object
public boolean mutatesNominal()
InPlaceTransform
false
. Only returns true if this transform
will mutableTransform the nominal feature values of a data point.mutatesNominal
in interface InPlaceTransform
true
if nominal feature values are mutated, false
otherwise.Copyright © 2017. All rights reserved.