public class ConjDatos
extends java.lang.Object
Stores a set of data with the form: attribute attribute..class.
Constructor and Description |
---|
ConjDatos()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addDato(Muestra m)
Add a data item
|
ConjDatos |
copiaConjDatos()
Copy the set of data in other one(new)
|
void |
deleteDato(int i)
Removes a data item
|
Muestra |
getDato(int i)
Returns an example
|
void |
hazUniforme(Dataset datos)
Adapt the examples to the [0,1] interval
|
void |
print()
Prints the examples on the screen
|
void |
setDato(int i,
Muestra m)
Assign a data item
|
int |
size()
Returns the number of examples of our set of data items
|
public void deleteDato(int i)
Removes a data item
i
- Position to deletepublic void addDato(Muestra m)
Add a data item
m
- Examplepublic Muestra getDato(int i)
Returns an example
i
- Position of the examplepublic void setDato(int i, Muestra m)
Assign a data item
i
- Position to insertm
- Examplepublic int size()
Returns the number of examples of our set of data items
public void print()
Prints the examples on the screen
public ConjDatos copiaConjDatos()
Copy the set of data in other one(new)
public void hazUniforme(Dataset datos)
Adapt the examples to the [0,1] interval
datos
- Set of data