Class MutableRegressionInfo
java.lang.Object
org.tribuo.regression.RegressionInfo
org.tribuo.regression.MutableRegressionInfo
- All Implemented Interfaces:
Serializable,MutableOutputInfo<Regressor>,OutputInfo<Regressor>
A
MutableOutputInfo for Regressors. All observed Regressors must
contain the same named dimensions.- See Also:
-
Field Summary
Fields inherited from class org.tribuo.regression.RegressionInfo
countMap, maxMap, meanMap, minMap, overallCount, sumSquaresMap, unknownCount -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.tribuo.regression.RegressionInfo
generateImmutableOutputInfo, generateMutableOutputInfo, getDomain, getMax, getMean, getMin, getUnknownCount, getVariance, outputCountsIterable, sizeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.tribuo.OutputInfo
generateImmutableOutputInfo, generateMutableOutputInfo, getDomain, getUnknownCount, outputCountsIterable, size
-
Constructor Details
-
MutableRegressionInfo
-
-
Method Details
-
observe
Description copied from interface:MutableOutputInfoRecords an output value or statistics thereof.- Specified by:
observein interfaceMutableOutputInfo<Regressor>- Parameters:
output- The observed output.
-
clear
public void clear()Description copied from interface:MutableOutputInfoClears the OutputInfo, removing all things it's observed.- Specified by:
clearin interfaceMutableOutputInfo<Regressor>
-
copy
Description copied from interface:OutputInfoGenerates a copy of this OutputInfo, including it's mutability.- Specified by:
copyin interfaceOutputInfo<Regressor>- Specified by:
copyin classRegressionInfo- Returns:
- A copy of the OutputInfo.
-
toString
-
toReadableString
Description copied from interface:OutputInfoGenerates a String form of this OutputInfo.This String can contain newlines, tabs and other formatting.
- Specified by:
toReadableStringin interfaceOutputInfo<Regressor>- Returns:
- A formatted String representing this OutputInfo.
-