Class MutableAnomalyInfo

java.lang.Object
org.tribuo.anomaly.AnomalyInfo
org.tribuo.anomaly.MutableAnomalyInfo
All Implemented Interfaces:
Serializable, MutableOutputInfo<Event>, OutputInfo<Event>

public final class MutableAnomalyInfo extends AnomalyInfo implements MutableOutputInfo<Event>
An MutableOutputInfo object for Events.

Counts the number of Event.EventType.ANOMALOUS, Event.EventType.EXPECTED and Event.EventType.UNKNOWN outputs observed. The unknown output is invalid at training time, and used as a prediction time sentinel (similarly to other Tribuo prediction tasks).

Anomaly detection has a fixed domain, so it will throw IllegalArgumentException if you somehow modify the Event.EventType enum to add a new value.

See Also: