Package | Description |
---|---|
smile.classification |
Classification algorithms.
|
Modifier and Type | Method and Description |
---|---|
static KNN<double[]> |
KNN.learn(double[][] x,
int[] y)
Learn the 1-NN classifier from data of type double[].
|
static KNN<double[]> |
KNN.learn(double[][] x,
int[] y,
int k)
Learn the K-NN classifier from data of type double[].
|
KNN<T> |
KNN.Trainer.train(T[] x,
int[] y) |
Copyright © 2015. All rights reserved.