Class KnnRegressionEvaluator.KnnRegressionTuple
- java.lang.Object
-
- org.apache.solr.client.solrj.io.Tuple
-
- org.apache.solr.client.solrj.io.eval.KnnRegressionEvaluator.KnnRegressionTuple
-
- All Implemented Interfaces:
Cloneable
,org.apache.solr.common.MapSerializable
,org.apache.solr.common.MapWriter
,org.apache.solr.common.NavigableObject
,org.noggit.JSONWriter.Writable
- Enclosing class:
- KnnRegressionEvaluator
public static class KnnRegressionEvaluator.KnnRegressionTuple extends Tuple
-
-
Constructor Summary
Constructors Constructor Description KnnRegressionTuple(Matrix observations, double[] outcomes, int k, org.apache.commons.math3.ml.distance.DistanceMeasure distanceMeasure, Map<String,Object> map, boolean scale, boolean robust, boolean bivariate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getBivariate()
boolean
getScale()
double
predict(double[] values)
double[]
scale(double[] predictors)
Matrix
scale(Matrix predictors)
-
Methods inherited from class org.apache.solr.client.solrj.io.Tuple
clone, EOF, EXCEPTION, EXCEPTION, get, getBool, getBools, getDate, getDates, getDouble, getDoubles, getException, getFieldLabels, getFieldNames, getFields, getLong, getLongs, getMaps, getMetrics, getString, getStrings, merge, put, putAll, remove, setFieldLabels, setFieldNames, setMaps, setMetrics, writeMap
-
-