O
- the type of DatabaseObjects handled by this Resultpublic static class SOD.SODModel<O extends NumberVector<O,?>> extends Object implements TextWriteable, Comparable<SOD.SODModel<?>>
Modifier and Type | Field and Description |
---|---|
private O |
center |
private double[] |
centerValues |
private double |
expectationOfVariance |
private double |
sod |
private double[] |
variances |
private BitSet |
weightVector |
Constructor and Description |
---|
SOD.SODModel(Relation<O> database,
DBIDs neighborhood,
double alpha,
O queryObject)
Initialize SOD Model
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SOD.SODModel<?> o) |
double |
getSod()
Return the SOD of the point.
|
private double |
subspaceOutlierDegree(O queryObject,
O center,
BitSet weightVector) |
void |
writeToText(TextWriterStream out,
String label)
Write self to the given
TextWriterStream |
private double[] centerValues
private O extends NumberVector<O,?> center
private double[] variances
private double expectationOfVariance
private BitSet weightVector
private double sod
private double subspaceOutlierDegree(O queryObject, O center, BitSet weightVector)
queryObject
- center
- weightVector
- public double getSod()
public void writeToText(TextWriterStream out, String label)
TextWriteable
TextWriterStream
writeToText
in interface TextWriteable
out
- Output writerlabel
- Labelpublic int compareTo(SOD.SODModel<?> o)
compareTo
in interface Comparable<SOD.SODModel<?>>