de.lmu.ifi.dbs.elki.algorithm.outlier
Class SODModel<O extends RealVector<O,Double>>
java.lang.Object
  
de.lmu.ifi.dbs.elki.algorithm.outlier.SODModel<O>
- Type Parameters:
 O - the type of DatabaseObjects handled by this Result
- All Implemented Interfaces: 
 - TextWriteable, Comparable<SODModel<?>>
 
public class SODModel<O extends RealVector<O,Double>>
- extends Object
- implements TextWriteable, Comparable<SODModel<?>>
  
- Author:
 
  - Arthur Zimek
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
DISTANCE_FUNCTION
private final DimensionsSelectingEuclideanDistanceFunction<O extends RealVector<O,Double>> DISTANCE_FUNCTION
centerValues
private double[] centerValues
center
private O extends RealVector<O,Double> center
variances
private double[] variances
expectationOfVariance
private double expectationOfVariance
weightVector
private BitSet weightVector
sod
private double sod
SODModel
public SODModel(Database<O> database,
                List<Integer> neighborhood,
                double alpha,
                O queryObject)
- Parameters:
 database - neighborhood - alpha - queryObject - 
subspaceOutlierDegree
private double subspaceOutlierDegree(O queryObject,
                                     O center,
                                     BitSet weightVector)
 
- Parameters:
 queryObject - center - weightVector - 
- Returns:
 - sod value
 
 
getSod
public double getSod()
- Return the SOD of the point.
 
- Returns:
 - sod value
 
 
 
writeToText
public void writeToText(TextWriterStream out,
                        String label)
- Description copied from interface: 
TextWriteable 
- Write self to the given 
TextWriterStream
- Specified by:
 writeToText in interface TextWriteable
 
- Parameters:
 out - Output writerlabel - Label
 
 
compareTo
public int compareTo(SODModel<?> o)
- Specified by:
 compareTo in interface Comparable<SODModel<?>>