public class EachDataSet
extends java.lang.Object
Stores a set of data with the form: attribute, attribute, , class
Constructor and Description |
---|
EachDataSet()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addData(Sample m)
Removes a data item
|
EachDataSet |
copyDataSet()
Copy the data set in other new
|
void |
doUniform(Dataset datos)
Adapt the examples to the [0,1] interval
|
Sample |
getData(int i)
Returns an example
|
void |
print()
Shows the examples on the screen
|
void |
removeData(int i)
Borra un dato
|
void |
setData(int i,
Sample m)
Assign a data item.
|
int |
size()
Returns the number of examples of the data set
|
public void removeData(int i)
i
- Posicion a borrarpublic void addData(Sample m)
Removes a data item
m
- Position to deletepublic Sample getData(int i)
Returns an example
i
- Position of the examplepublic void setData(int i, Sample m)
Assign a data item.
i
- Position to insertm
- Examplepublic int size()
Returns the number of examples of the data set
public void print()
Shows the examples on the screen
public EachDataSet copyDataSet()
Copy the data set in other new
public void doUniform(Dataset datos)
Adapt the examples to the [0,1] interval
datos
- Set of data