KNN classifier
KNN
01 Syntax
Microsoft.VisualBasic.DataMining.Clustering.KNN
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| .ctor | 1 |
03 Fields
| Name | Overloads | Summary |
|---|---|---|
| trainingSet | 1 | this holds the values of the training data |
| clusterNames | 1 | this holds the class associated with the values |
04 Members
#ctor(
IEnumerable(Of ClusterEntity), Dictionary(Of Int32, String))Parameters
| Name | Type | Description |
|---|---|---|
trainingSet | IEnumerable(Of ClusterEntity) | should contains the ClusterEntity.cluster index value |
clusterNames | Dictionary(Of Int32, String) | the class label that associated with the ClusterEntity.cluster |
trainingSet
this holds the values of the training data
clusterNames
this holds the class associated with the values