public class ClusterEvalDataset extends MapBackedDataset<String,ListBackedDataset<Integer>,Integer>
MapBackedDataset.IdentifiableBuilder<DATASET extends Dataset<INSTANCE> & Identifiable,INSTANCE>AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>map| Constructor and Description |
|---|
ClusterEvalDataset(File f)
Load this file as a dataset
|
ClusterEvalDataset(InputStream is)
Read the clusters from this stream
|
ClusterEvalDataset(String loc)
Read from this file location
|
| Modifier and Type | Method and Description |
|---|---|
int[][] |
toClusters() |
add, builder, entrySet, getGroups, getInstances, getMap, getRandomInstance, getRandomInstance, iterator, numInstances, of, of, of, of, of, of, of, put, toStringclear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, putAll, remove, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic ClusterEvalDataset(String loc) throws IOException
loc - IOExceptionpublic ClusterEvalDataset(File f) throws IOException
f - IOExceptionpublic ClusterEvalDataset(InputStream is) throws IOException
is - IOExceptionpublic int[][] toClusters()