The purpose of this vignette is to present the calculations of the
costs for the categorical distribution over
classes.
Each time step
belongs to group
whose time stamps are the set
.
A group has either an a priori known probability of being in
each class
or an unknown probability of being in each class
No Anomaly (Baseline)
The data generating distribution gives for
where
if the
th
sample is in the
th
class and zero otherwise. For convience let there be
samples in
of which
are of class
.
The cost is computed as twice the negative log likelhiood and there
is no penalty term giving
Anomaly
In the case of the anomaly the cost is computed by
where
An anomalous region is created when
In the case of a poitn anomaly
giving