be.ac.ulb.mlg.utils
Interface Discretizer

All Known Implementing Classes:
UniformFrequencyDiscretizer, UniformWidthDiscretizer

public interface Discretizer

Matrix discretization interface


Nested Class Summary
static class Discretizer.Mode
           
 
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
 

Method Detail

requirePreprocessing

boolean requirePreprocessing()
TODO

Returns:

preprocess

void preprocess(double[][] matrix)
TODO

Parameters:
matrix -

discretize

double[][] discretize(double[][] matrix)
Transform value of a double matrix to integer but preserve the structure (double matrix)

Parameters:
matrix - The input matrix to be normalized
Returns:
The normalized matrix

hasNativeImplementation

boolean hasNativeImplementation()
Know if the discretization owns a native implementation

Returns:
True if the discretizer is also natively implemented