Documentation of 'ca.pfv.spmf.tools.dataset_converter.Formats' Java class
Formats
ca.pfv.spmf.tools.dataset_converter

Enum Formats

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Formats>


    public enum Formats
    extends java.lang.Enum<Formats>
    Enumeration of the data formats that can be read by the database converters. All output are to the SPMF format.

    For a sequence database, the following format can be converted to SPMF: CSV, IBMGenerator, Kosarak, Snake and BMS (see documentation for a description of these formats).

    For a transaction database, the following format can be converted to SPMF: CSV, ARF
    See Also:
    TransactionDatabaseConverter, SequenceDatabaseConverter
    • Enum Constant Detail

      • SPMF

        public static final Formats SPMF
      • CSV_INTEGER

        public static final Formats CSV_INTEGER
      • IBMGenerator

        public static final Formats IBMGenerator
      • Kosarak

        public static final Formats Kosarak
      • Snake

        public static final Formats Snake
      • BMS

        public static final Formats BMS
      • ARFF

        public static final Formats ARFF
      • ARFF_WITH_MISSING_VALUES

        public static final Formats ARFF_WITH_MISSING_VALUES
      • SPMF_SEQUENCE_DB

        public static final Formats SPMF_SEQUENCE_DB
      • SPMF_TRANSACTION_DB

        public static final Formats SPMF_TRANSACTION_DB
    • Method Detail

      • values

        public static Formats[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Formats c : Formats.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Formats valueOf(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.