public class MutableRegressionInfo extends RegressionInfo implements MutableOutputInfo<Regressor>
MutableOutputInfo
for Regressor
s. All observed Regressors must
contain the same named dimensions.countMap, maxMap, meanMap, minMap, overallCount, sumSquaresMap, unknownCount
Constructor and Description |
---|
MutableRegressionInfo(RegressionInfo info) |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the OutputInfo, removing all things it's observed.
|
MutableRegressionInfo |
copy()
Generates a copy of this OutputInfo, including it's mutability.
|
void |
observe(Regressor output)
Records an output value or statistics thereof.
|
String |
toReadableString()
Generates a String form of this OutputInfo.
|
String |
toString() |
generateImmutableOutputInfo, generateMutableOutputInfo, getDomain, getMax, getMean, getMin, getUnknownCount, getVariance, outputCountsIterable, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
generateImmutableOutputInfo, generateMutableOutputInfo, getDomain, getUnknownCount, outputCountsIterable, size
public MutableRegressionInfo(RegressionInfo info)
public void observe(Regressor output)
MutableOutputInfo
observe
in interface MutableOutputInfo<Regressor>
output
- The observed output.public void clear()
MutableOutputInfo
clear
in interface MutableOutputInfo<Regressor>
public MutableRegressionInfo copy()
OutputInfo
copy
in interface OutputInfo<Regressor>
copy
in class RegressionInfo
public String toReadableString()
OutputInfo
This String can contain newlines, tabs and other formatting.
toReadableString
in interface OutputInfo<Regressor>
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.