|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttextclassifier.discretization.SimpleD
public class SimpleD
A class containing implementation of numeric attributes discretization
Constructor Summary | |
---|---|
SimpleD()
Constructor of the class |
Method Summary | |
---|---|
static java.util.ArrayList<DiscInterval> |
cprocess(double[] numbers,
int ivals,
int ivalsize,
int pocet)
Executes the adaptive method of numerical attributes merging for discretization (!!! |
static java.util.ArrayList<DiscInterval> |
process(double[] numbers,
int ivals,
int ivalsize)
Executes the sipmle discretization method (equi-width) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleD()
Method Detail |
---|
public static java.util.ArrayList<DiscInterval> cprocess(double[] numbers, int ivals, int ivalsize, int pocet)
numbers
- all values of discretized attributepocet
- count of various values of the attribute
public static java.util.ArrayList<DiscInterval> process(double[] numbers, int ivals, int ivalsize)
numbers
- all values of discretized attributeivals
- count of intervals to create by discretizationivalsize
- a given value of interval width
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |