public class OLSRegressionEvaluator extends RecursiveObjectEvaluator implements ManyValueWorker
| Modifier and Type | Class and Description |
|---|---|
static class |
OLSRegressionEvaluator.MultipleRegressionTuple |
| Modifier and Type | Field and Description |
|---|---|
protected static long |
serialVersionUID |
constructingFactory, containedEvaluators, nodeId, streamContext| Constructor and Description |
|---|
OLSRegressionEvaluator(StreamExpression expression,
StreamFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
Object |
doWork(Object... values) |
protected org.apache.commons.math3.stat.regression.MultipleLinearRegression |
regress(double[][] observations,
double[] outcomes) |
evaluate, getStreamContext, normalizeInputType, normalizeOutputType, recursivelyEvaluate, setStreamContext, toExplanation, toExpressionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitevaluateOverContextprotected static final long serialVersionUID
public OLSRegressionEvaluator(StreamExpression expression, StreamFactory factory) throws IOException
IOExceptionpublic Object doWork(Object... values) throws IOException
doWork in interface ManyValueWorkerdoWork in interface ValueWorkerIOExceptionprotected org.apache.commons.math3.stat.regression.MultipleLinearRegression regress(double[][] observations,
double[] outcomes)
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.