public class OpenDataset
extends java.lang.Object
Dataset interface simplification
Constructor and Description |
---|
OpenDataset()
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDatosAt(int index)
Return example data at index in a string separated by comma without spaces
|
int |
getndatos()
Access to ndatos
|
int |
getnentradas()
Access to nentradas
|
int |
getnsalidas()
Access to nsalidas
|
int |
getnvariables()
Access to nvariables
|
java.util.Vector |
getRangosVar(int index)
It returns the list of nominal values of an attribute
|
int |
getTiposAt(int index)
Return type (0 nominal, 1 integer, 2 float,..) of the attribute at index
|
void |
processClassifierDataset(java.lang.String nfejemplos,
boolean b)
Load nfejemplos file and parse it
|
public int getndatos()
Access to ndatos
public int getnvariables()
Access to nvariables
public int getnentradas()
Access to nentradas
public int getnsalidas()
Access to nsalidas
public int getTiposAt(int index)
Return type (0 nominal, 1 integer, 2 float,..) of the attribute at index
index
- public java.util.Vector getRangosVar(int index)
It returns the list of nominal values of an attribute
index
- Index of the attributepublic java.lang.String getDatosAt(int index)
Return example data at index in a string separated by comma without spaces
index
- Index of the instancepublic void processClassifierDataset(java.lang.String nfejemplos, boolean b)
Load nfejemplos file and parse it
nfejemplos
- training file to readb
- Flag to see if it a training or test file