|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ac.ulb.mlg.utils.UniformDiscretizer
public class UniformDiscretizer
The UniformDiscretizer
Nested Class Summary | |
---|---|
static class |
UniformDiscretizer.Mode
|
Constructor Summary | |
---|---|
UniformDiscretizer(UniformDiscretizer.Mode mode,
int range)
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) |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UniformDiscretizer(UniformDiscretizer.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/columnMethod Detail |
---|
public double[][] discretize(double[][] matrix)
Discretizer
discretize
in interface Discretizer
matrix
- The input matrix to be normalized
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |