Package | Description |
---|---|
com.pervasive.datarush.analytics.knn |
Provides an implementation of the KNN algorithm using DataRush's sparse data API.
|
Modifier and Type | Method and Description |
---|---|
static NearnessMeasure |
NearnessMeasure.cosine()
Measures nearness using cosine similarity.
|
static NearnessMeasure |
NearnessMeasure.euclidean()
Measures nearness using Euclidean distance.
|
NearnessMeasure |
KNNClassifier.getNearnessMeasure()
Gets how the nearest neighbors of a record in the query data
are determined.
|
Modifier and Type | Method and Description |
---|---|
void |
KNNClassifier.setNearnessMeasure(NearnessMeasure measure)
Specifies how to determine the nearest neighbors of a record in
the query data.
|
Copyright © 2016 Actian Corporation. All rights reserved.