|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MLCluster
Defines a cluster. Usually used with the MLClustering method to break input into clusters.
Method Summary | |
---|---|
void |
add(MLData pair)
Add data to this cluster. |
MLDataSet |
createDataSet()
Create a machine learning dataset from the data. |
MLData |
get(int pos)
Get the specified data item by index. |
List<MLData> |
getData()
|
void |
remove(MLData data)
Remove the specified item. |
int |
size()
|
Method Detail |
---|
void add(MLData pair)
pair
- The data to add.MLDataSet createDataSet()
MLData get(int pos)
pos
- The index of the data item to get.
List<MLData> getData()
void remove(MLData data)
data
- The item to remove.int size()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |