scalation.modeling.classifying.KNN_Classifier
See theKNN_Classifier companion class
The KNN_Classifier companion object provides a factory method.
Attributes
-
Companion
-
class
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Self type
-
Members list
Create a KNN_Classifier classifier from a combined xy data matrix.
Create a KNN_Classifier classifier from a combined xy data matrix.
Value parameters
-
cname
-
the names for all classes
-
col
-
the designated response column (defaults to the last column)
-
fname
-
the names for all features/variables
-
k
-
the number of classes
-
kappa
-
the number of nearest neighbors to consider
-
xy
-
the combined data matrix [ x | y ]
Attributes