public static class KnnRegressionEvaluator.KnnRegressionTuple extends Tuple
MapWriter.EntryWriter
EOF, EXCEPTION, fieldLabels, fieldNames, fields
Constructor and Description |
---|
KnnRegressionTuple(Matrix observations,
double[] outcomes,
int k,
org.apache.commons.math3.ml.distance.DistanceMeasure distanceMeasure,
Map<?,?> map,
boolean scale,
boolean robust,
boolean bivariate) |
Modifier and Type | Method and Description |
---|---|
boolean |
getBivariate() |
boolean |
getScale() |
double |
predict(double[] values) |
double[] |
scale(double[] predictors) |
Matrix |
scale(Matrix predictors) |
clone, get, getBool, getBools, getDate, getDates, getDouble, getDoubles, getException, getLong, getLongs, getMap, getMaps, getMetrics, getString, getStrings, merge, put, remove, setMaps, setMetrics, writeMap
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.