public static class KnnRegressionEvaluator.KnnRegressionTuple extends Tuple
MapWriter.EntryWriterEOF, 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, EOF, EXCEPTION, EXCEPTION, get, getBool, getBools, getDate, getDates, getDouble, getDoubles, getException, getFieldLabels, getFieldNames, getFields, getLong, getLongs, getMap, getMaps, getMetrics, getString, getStrings, merge, put, remove, setFieldLabels, setFieldNames, setMaps, setMetrics, writeMapequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr, _sizeCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.