Class ClustreamKernel

    • Field Detail

      • LST

        protected double LST
      • SST

        protected double SST
    • Constructor Detail

      • ClustreamKernel

        public ClustreamKernel​(Instance instance,
                               int dimensions,
                               long timestamp,
                               double t,
                               int m)
      • ClustreamKernel

        public ClustreamKernel​(ClustreamKernel cluster,
                               double t,
                               int m)
    • Method Detail

      • insert

        public void insert​(Instance instance,
                           long timestamp)
      • getRelevanceStamp

        public double getRelevanceStamp()
      • getRadius

        public double getRadius()
        Description copied from class: CFCluster
        See interface Cluster
        Specified by:
        getRadius in class CFCluster
        Returns:
        The radius of the cluster.
      • getCenter

        public double[] getCenter()
        Overrides:
        getCenter in class CFCluster
        Returns:
        this kernels' center
      • getInclusionProbability

        public double getInclusionProbability​(Instance instance)
        See interface Cluster
        Specified by:
        getInclusionProbability in class CFCluster
        Parameters:
        instance -
        Returns:
        a value between 0 and 1
      • isEmpty

        public boolean isEmpty()
        Check if this cluster is empty or not.
        Returns:
        true if the cluster has no data points, false otherwise.
      • inverseError

        public static double inverseError​(double x)
        Approximates the inverse error function. Clustream needs this.
        Parameters:
        x -