public class myDataset
extends java.lang.Object
Title: Data-set
Description: Manage the data-sets
Constructor and Description |
---|
myDataset()
Builder.
|
Modifier and Type | Method and Description |
---|---|
void |
addData(Instance m)
It adds a data
|
myDataset |
copyDataSet()
It copies the data-set in a new one
|
void |
deleteData(int i)
It removes a data
|
Instance |
getData(int i)
It return an example
|
void |
print()
It prints the examples
|
void |
setData(int i,
Instance m)
It assigns a data.
|
int |
size()
It returns the number of examples of the data-set
|
public void deleteData(int i)
i
- Position to removepublic void addData(Instance m)
m
- Examplepublic Instance getData(int i)
i
- Position of the examplepublic void setData(int i, Instance m)
i
- Position to insertm
- Examplepublic int size()
public void print()
public myDataset copyDataSet()