Documentation of 'ca.pfv.spmf.algorithms.frequentpatterns.estDec.estNode' Java class
estNode
ca.pfv.spmf.algorithms.frequentpatterns.estDec

Class estNode



  • public class estNode
    extends java.lang.Object
    This is an implementation of a estTree node. This implementation was made by Azadeh Soltani This file is part of the SPMF DATA MINING SOFTWARE (http://www.philippe-fournier-viger.com/spmf). SPMF is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. SPMF is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with SPMF. If not, see .
    See Also:
    Algo_estDec, estTree
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double computeSupport(double N)
      Compute the support of this node as a percentage.
      int getChildIndexWithID(int id)
      Return the immediate index of the node having a given ID.
      estNode getChildWithID(int id)
      Return the immediate child of this node having a given ID.
      void update(int k, int value, double d)
      Update the count of a node
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getChildWithID

        public estNode getChildWithID(int id)
        Return the immediate child of this node having a given ID. If there is no such child, return null;
        Parameters:
        id - the id
        Returns:
        the node or null
      • getChildIndexWithID

        public int getChildIndexWithID(int id)
        Return the immediate index of the node having a given ID. If there is no such child, return -1;
        Parameters:
        id -
      • update

        public void update(int k,
                           int value,
                           double d)
        Update the count of a node
        Parameters:
        k - the current transaction id
        value - the value to be added to the count
        d - the decay rate
      • computeSupport

        public double computeSupport(double N)
        Compute the support of this node as a percentage.
        Parameters:
        N - an integer representing a transaction count.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.