|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectKnnMethod.Classes.KClasses
public class KClasses
Class, which computes and stores occurence counts of classified items and returns those ones with highest number of occurences.
Constructor Summary | |
---|---|
KClasses()
|
Method Summary | |
---|---|
void |
addClass(java.lang.String newClass)
Adds a new class for classification. |
java.lang.String |
getKNNClass()
Method, which returns the most numerous classification class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KClasses()
Method Detail |
---|
public void addClass(java.lang.String newClass)
newClass
- the name of the class to be addedpublic java.lang.String getKNNClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |