public static class SOM.Neuron
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
cluster
Cluster id of this neuron.
|
double[] |
distance
The distance to neighbors.
|
int[] |
ni
The count of each class that best matched samples belong to.
|
int[] |
samples
The samples that are best matched.
|
double[] |
w
Weight vector.
|
int |
y
The class label of majority, y = which.max(ni).
|
Constructor and Description |
---|
Neuron() |
public double[] w
public int cluster
public int[] samples
public int y
public int[] ni
public double[] distance