| Modifier and Type | Method and Description |
|---|---|
Map<String,Double> |
IClassifier.predict(Tuple predict) |
| Modifier and Type | Method and Description |
|---|---|
IClassifier |
IClassifier.train(List<Tuple> trainingData) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Double> |
KNNClassifier.predict(Tuple predict)
Return the predict to every other train vector's distance.
|
| Modifier and Type | Method and Description |
|---|---|
IClassifier |
KNNClassifier.train(List<Tuple> trainingData)
train() method for knn is just used for loading trainingdata!!
|
| Constructor and Description |
|---|
TupleEventStream(List<Tuple> data) |
| Modifier and Type | Method and Description |
|---|---|
static List<Tuple> |
NaiveBayesClassifier.readTrainingData(String filename,
String delimiter) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Double> |
NaiveBayesClassifier.predict(Tuple predict) |
String |
NaiveBayesClassifier.predictLabel(Tuple predict) |
| Modifier and Type | Method and Description |
|---|---|
IClassifier |
NaiveBayesClassifier.train(List<Tuple> trainingData) |
static void |
NaiveBayesClassifier.writeToFile(List<Tuple> dataset,
String filename) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Double> |
PerceptronClassifier.predict(Tuple predict) |
| Modifier and Type | Method and Description |
|---|---|
IClassifier |
PerceptronClassifier.train(List<Tuple> trainingData) |
| Constructor and Description |
|---|
PerceptronModel(List<Tuple> trainingData) |
| Constructor and Description |
|---|
LabelIndexer(List<Tuple> trainingData) |
Copyright © 2015. All rights reserved.