public class Literals
extends java.lang.Object
This class transforms the data set into a set of literals given the positive class
Constructor and Description |
---|
Literals(Instance[] inst,
int positiveClass)
Constructor of the class
|
Modifier and Type | Method and Description |
---|---|
boolean[][] |
getLiteralsMatrix()
It returns the matrix of literals
|
int |
getNumLiterals()
It returns the number the literals
|
void |
printlit()
It prints the matrix of literals
|
public Literals(Instance[] inst, int positiveClass)
Constructor of the class
inst
- instances of the original data setpositiveClass
- positive class as integerpublic int getNumLiterals()
It returns the number the literals
public boolean[][] getLiteralsMatrix()
It returns the matrix of literals
public void printlit()
It prints the matrix of literals