|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.ac.ulb.mlg.utils.discretizer.UniformFrequencyDiscretizer
public class UniformFrequencyDiscretizer
The UniformFrequencyDiscretizer
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface be.ac.ulb.mlg.utils.Discretizer |
|---|
Discretizer.Mode |
| Constructor Summary | |
|---|---|
UniformFrequencyDiscretizer(Discretizer.Mode mode,
int range)
Constructor of UniformDiscretizer which setup the mode and the range of discretization without preprocessing |
|
UniformFrequencyDiscretizer(Discretizer.Mode mode,
int range,
boolean preprocess)
Constructor of UniformDiscretizer which setup the mode and the range of discretization |
|
| Method Summary | |
|---|---|
double[][] |
discretize(double[][] matrix)
Transform value of a double matrix to integer but preserve the structure (double matrix) |
boolean |
hasNativeImplementation()
Know if the discretization owns a native implementation |
void |
preprocess(double[][] matrix)
TODO |
boolean |
requirePreprocessing()
TODO |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UniformFrequencyDiscretizer(Discretizer.Mode mode,
int range)
mode - The mode of discretization column/row wise or by using the whole matrixrange - The number of value between min/max values of each row/column
public UniformFrequencyDiscretizer(Discretizer.Mode mode,
int range,
boolean preprocess)
mode - The mode of discretization column/row wise or by using the whole matrixrange - The number of value between min/max values of each row/columnspecify - if the method has to preprocess (compute measure before normalization, required for GLOBAL Mode)| Method Detail |
|---|
public double[][] discretize(double[][] matrix)
Discretizer
discretize in interface Discretizermatrix - The input matrix to be normalized
public boolean hasNativeImplementation()
Discretizer
hasNativeImplementation in interface Discretizerpublic boolean requirePreprocessing()
Discretizer
requirePreprocessing in interface Discretizerpublic void preprocess(double[][] matrix)
Discretizer
preprocess in interface Discretizer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||