Documentation of 'ca.pfv.spmf.algorithms.frequentpatterns.uapriori.ItemsetUApriori' Java class
ItemsetUApriori
ca.pfv.spmf.algorithms.frequentpatterns.uapriori

Class ItemsetUApriori



  • public class ItemsetUApriori
    extends java.lang.Object
    This class represents an itemset (a set of items) as used by the UApriori algorithm uncertain itemset mining.
    See Also:
    AlgoUApriori, ItemUApriori
    • Constructor Summary

      Constructors 
      Constructor and Description
      ItemsetUApriori()
      Default constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean contains(ItemUApriori item)
      Check if this itemset contains a given item.
      ItemUApriori get(int index)
      Get the item at at a given position in that itemset
      double getExpectedSupport()
      Get the expected support of this itemset.
      java.util.List<ItemUApriori> getItems()
      Get items from that itemset.
      java.lang.String getSupportAsString()
      Get the expected support as a five decimals string
      boolean isEqualTo(ItemsetUApriori itemset2)
      Check if this itemset is equal to another one.
      void print()
      print this itemset to System.out.
      void printWithoutSupport()
      Print the items in this itemset to System.out.
      int size()
      Get the number of items in this itemset
      java.lang.String toString()
      Get a string representation of the items in this itemset.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ItemsetUApriori

        public ItemsetUApriori()
        Default constructor
    • Method Detail

      • getExpectedSupport

        public double getExpectedSupport()
        Get the expected support of this itemset.
        Returns:
        expected support value.
      • getSupportAsString

        public java.lang.String getSupportAsString()
        Get the expected support as a five decimals string
        Returns:
        a string
      • getItems

        public java.util.List<ItemUApriori> getItems()
        Get items from that itemset.
        Returns:
        a list of integers (items).
      • get

        public ItemUApriori get(int index)
        Get the item at at a given position in that itemset
        Parameters:
        index - the position
        Returns:
        the item (Integer)
      • print

        public void print()
        print this itemset to System.out.
      • printWithoutSupport

        public void printWithoutSupport()
        Print the items in this itemset to System.out.
      • toString

        public java.lang.String toString()
        Get a string representation of the items in this itemset.
        Overrides:
        toString in class java.lang.Object
      • contains

        public boolean contains(ItemUApriori item)
        Check if this itemset contains a given item.
        Parameters:
        item - the item
        Returns:
        true, if yes, otherwise false.
      • isEqualTo

        public boolean isEqualTo(ItemsetUApriori itemset2)
        Check if this itemset is equal to another one.
        Parameters:
        itemset2 - the other itemset
        Returns:
        true if yes, otherwise false
      • size

        public int size()
        Get the number of items in this itemset
        Returns:
        the item count (int)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.