Package org.tribuo
Interface MutableOutputInfo<T extends Output<T>>
- Type Parameters:
T
- The type of the output.
- All Superinterfaces:
OutputInfo<T>
,ProtoSerializable<org.tribuo.protos.core.OutputDomainProto>
,Serializable
- All Known Implementing Classes:
MutableAnomalyInfo
,MutableClusteringInfo
,MutableLabelInfo
,MutableMultiLabelInfo
,MutableRegressionInfo
A mutable OutputInfo that can record observed output values.
-
Field Summary
Fields inherited from interface org.tribuo.protos.ProtoSerializable
DESERIALIZATION_METHOD_NAME, PROVENANCE_SERIALIZER
-
Method Summary
Methods inherited from interface org.tribuo.OutputInfo
copy, generateImmutableOutputInfo, generateMutableOutputInfo, getDomain, getUnknownCount, outputCountsIterable, size, toReadableString
Methods inherited from interface org.tribuo.protos.ProtoSerializable
serialize
-
Method Details
-
observe
Records an output value or statistics thereof.- Parameters:
output
- The observed output.
-
clear
void clear()Clears the OutputInfo, removing all things it's observed.
-