Package | Description |
---|---|
org.neuroph.nnet.learning.kmeans | |
org.neuroph.nnet.learning.knn |
Modifier and Type | Method and Description |
---|---|
KVector |
Cluster.getCentroid() |
Modifier and Type | Method and Description |
---|---|
List<KVector> |
Cluster.getPoints() |
Modifier and Type | Method and Description |
---|---|
void |
Cluster.assignVector(KVector vector)
Assignes vector to this cluster.
|
double |
KVector.distanceFrom(KVector otherVector)
Calculates and returns euclidean distance of this vector from the given cluster
|
void |
Cluster.removePoint(KVector point) |
void |
Cluster.setCentroid(KVector centroid) |
Modifier and Type | Method and Description |
---|---|
KVector[] |
KNearestNeighbour.getKNearestNeighbours(KVector vector,
int k)
http://en.wikipedia.org/wiki/Selection_algorithm
|
Modifier and Type | Method and Description |
---|---|
List<KVector> |
KNearestNeighbour.getDataSet() |
Modifier and Type | Method and Description |
---|---|
KVector[] |
KNearestNeighbour.getKNearestNeighbours(KVector vector,
int k)
http://en.wikipedia.org/wiki/Selection_algorithm
|
Modifier and Type | Method and Description |
---|---|
void |
KNearestNeighbour.setDataSet(List<KVector> dataSet) |
Copyright © 2019 Neuroph Project. All rights reserved.