Documentation of 'jsat.outlier.LOF' Java class
LOF
jsat.outlier

Class LOF

  • All Implemented Interfaces:
    java.io.Serializable, Outlier


    public class LOF
    extends java.lang.Object
    implements Outlier
    This class implements the Local Outlier Factor (LOF) algorithm for outlier detection.
    See Also:
    Serialized Form
    • Constructor Detail

      • LOF

        public LOF()
      • LOF

        public LOF(int minPnts)
    • Method Detail

      • setMinPnts

        public void setMinPnts(int minPnts)
      • getMinPnts

        public int getMinPnts()
      • setDistanceMetric

        public void setDistanceMetric(DistanceMetric distanceMetric)
      • fit

        public void fit(DataSet d,
                        boolean parallel)
        Specified by:
        fit in interface Outlier
      • score

        public double score(DataPoint x)
        Description copied from interface: Outlier
        Returns an unbounded anomaly/outlier score. Negative values indicate the input is likely to be an outlier, and positive values that the input is likely to be an inlier.
        Specified by:
        score in interface Outlier
        Returns:

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.