public Object2IntOpenHashMap<int[]> supportMap(){
  List<ItemSet> itemSets=learn();
  Object2IntOpenHashMap<int[]> confidenceMap=new Object2IntOpenHashMap<>(itemSets.size());
  for (  ItemSet itemSet : itemSets) {
    confidenceMap.put(itemSet.items,itemSet.support);
  }
  return confidenceMap;
}

public Object2IntOpenHashMap < int [ ] > supportMap ( ) { List < ItemSet > itemSets = learn ( ) ; Object2IntOpenHashMap < int [ ] > confidenceMap = new Object2IntOpenHashMap < > ( itemSets . size ( ) ) ; for ( ItemSet itemSet : itemSets ) { confidenceMap . put ( itemSet . items , itemSet . support ) ; } return confidenceMap ; }
returns a map of discovered itemsets and their support , where the support is the number of times the combination appears in the input data
