|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
weka.clusterers.Seeder
Field Summary | |
protected java.util.ArrayList |
m_CurrentSeedInstances
Stores the current instances which are set as seeds |
protected java.util.HashMap |
m_TotalSeedHash
Stores the mapping between all possible seeds and their cluster assignments |
protected boolean |
m_Verbose
Verbose? |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
Seeder(java.util.HashMap totalSeedHash)
|
|
Seeder(Instances dataWithoutClass,
Instances dataWithClass)
Constructor |
Method Summary | |
void |
createSeeds(java.util.ArrayList seed_data)
Set the current seeds |
java.util.HashMap |
getAllSeeds()
Returns the total hashMap, with the instance to cluster assignment mapping for all the seeds |
java.util.HashMap |
getSeeds()
Returns a hashMap with the instance to cluster assignment mapping for the current seeds |
void |
setVerbose(boolean verbose)
set the verbosity level of the clusterer |
Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
containsAll, remove, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList |
Field Detail |
protected java.util.HashMap m_TotalSeedHash
protected java.util.ArrayList m_CurrentSeedInstances
protected boolean m_Verbose
Constructor Detail |
public Seeder(java.util.HashMap totalSeedHash)
public Seeder(Instances dataWithoutClass, Instances dataWithClass) throws java.lang.Exception
Method Detail |
public void setVerbose(boolean verbose)
verbose
- messages on(true) or off (false)public void createSeeds(java.util.ArrayList seed_data)
public java.util.HashMap getAllSeeds() throws java.lang.Exception
java.lang.Exception
public java.util.HashMap getSeeds() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |