public class AnomalyDetectionPrediction extends AbstractPrediction
Modifier and Type | Field and Description |
---|---|
java.lang.Boolean |
isAnomaly
Only available when MojoModel has contamination parameter defined otherwise is null.
|
int[] |
leafNodeAssignmentIds
Ditto, available in MOJO 1.3 and newer
|
java.lang.String[] |
leafNodeAssignments
Only valid for tree-based models, null for all other mojo models.
|
double |
normalizedScore
Higher number means more anomalous point, smaller number means more normal point.
|
double |
score
The raw number that an algorithm is using to count final anomaly score.
|
double[] |
stageProbabilities
Staged predictions of tree algorithms (prediction probabilities of trees per iteration).
|
Constructor and Description |
---|
AnomalyDetectionPrediction() |
AnomalyDetectionPrediction(double[] preds) |
Modifier and Type | Method and Description |
---|---|
double[] |
toPreds() |
public java.lang.Boolean isAnomaly
public double score
public double normalizedScore
public java.lang.String[] leafNodeAssignments
public int[] leafNodeAssignmentIds
public double[] stageProbabilities