Documentation of 'smile.association.ItemSet' Java class
ItemSet
smile.association

Class ItemSet



  • public class ItemSet
    extends java.lang.Object
    A set of items. The support supp(X) of an item set X is defined as the proportion of transactions in the data set which contain the item set. In this class, the support is actually the raw frequency rather than the ratio.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      int[] items
      The set of items.
      int support
      The associated support of item set.
    • Constructor Summary

      Constructors 
      Constructor and Description
      ItemSet(int[] items, int support)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object o) 
      int hashCode() 
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • items

        public final int[] items
        The set of items.
      • support

        public final int support
        The associated support of item set.
    • Constructor Detail

      • ItemSet

        public ItemSet(int[] items,
                       int support)
        Constructor.
        Parameters:
        items - The set of items.
        support - The associated support value.
    • Method Detail

      • equals

        public boolean equals(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.