Documentation of 'ca.pfv.spmf.tools.other_dataset_tools.FixTransactionDatabaseTool' Java class
FixTransactionDatabaseTool
ca.pfv.spmf.tools.other_dataset_tools

Class FixTransactionDatabaseTool



  • public class FixTransactionDatabaseTool
    extends java.lang.Object
    This tool allows to fix some common problems in a transaction database file in SPMF format. In particular: (1) the tool removes items that appears more than once in a transaction. (2) it sort transactions according to the lexicographical ordering. The reason for performing this is that many itemset and association rule mining algorithms assumes that items cannot appear more than once in a transaction and that transactions are sorted.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void convert(java.lang.String input, java.lang.String output)
      Fix the transaction database
      • Methods inherited from class java.lang.Object

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

      • FixTransactionDatabaseTool

        public FixTransactionDatabaseTool()
    • Method Detail

      • convert

        public void convert(java.lang.String input,
                            java.lang.String output)
                     throws java.lang.NumberFormatException,
                            java.io.IOException
        Fix the transaction database
        Parameters:
        input - the input file path (a transaction database in SPMF format)
        output - the output file path (the fixed trnasactoin database in SPMF format)
        Throws:
        java.io.IOException - if an error while reading/writting files.
        java.lang.NumberFormatException

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.