Enum MLSandboxDatasets

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

    public enum MLSandboxDatasets
    extends java.lang.Enum<MLSandboxDatasets>
    The names of popular datasets used in examples.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      AMAZON_EMPLOYEE_ACCESS
      A dataset with categorical features and labels.
      BOSTON_HOUSE_PRICES
      The Boston house-prices dataset.
      CLEARED_MACHINES
      The dataset is about different computers' properties based on https://archive.ics.uci.edu/ml/datasets/Computer+Hardware.
      ENGLISH_VS_SCOTTISH
      Example from book Barber D.
      FRAUD_DETECTION
      Fraud detection problem [part of whole dataset].
      GLASS_IDENTIFICATION
      The preprocessed Glass dataset from the Machine Learning Repository https://archive.ics.uci.edu/ml/datasets/Glass+Identification There are 3 classes with labels: 1 {building_windows_float_processed}, 3 {vehicle_windows_float_processed}, 7 {headlamps}.
      IRIS
      The full Iris dataset from Machine Learning Repository.
      MIXED_DATASET
      A dataset with discrete and continuous features.
      MORTALITY_DATA
      The health data is related to death rate based on; doctor availability, hospital availability, annual per capita income, and population density people per square mile.
      MOVIELENS
      Movielens dataset with ratings.
      MUSHROOMS
      A dataset with categorical features and labels.
      TITANIC
      The Titanic dataset from Kaggle competition.
      TWO_CLASSED_IRIS
      The 1st and 2nd classes from the Iris dataset.
      WHOLESALE_CUSTOMERS
      Wholesale customers dataset.
      WINE_RECOGNITION
      The Wine recognition data.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getFileName()  
      java.lang.String getSeparator()  
      boolean hasHeader()  
      static MLSandboxDatasets valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static MLSandboxDatasets[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • MOVIELENS

        public static final MLSandboxDatasets MOVIELENS
        Movielens dataset with ratings.
      • IRIS

        public static final MLSandboxDatasets IRIS
        The full Iris dataset from Machine Learning Repository.
      • TITANIC

        public static final MLSandboxDatasets TITANIC
        The Titanic dataset from Kaggle competition.
      • TWO_CLASSED_IRIS

        public static final MLSandboxDatasets TWO_CLASSED_IRIS
        The 1st and 2nd classes from the Iris dataset.
      • CLEARED_MACHINES

        public static final MLSandboxDatasets CLEARED_MACHINES
        The dataset is about different computers' properties based on https://archive.ics.uci.edu/ml/datasets/Computer+Hardware.
      • MORTALITY_DATA

        public static final MLSandboxDatasets MORTALITY_DATA
        The health data is related to death rate based on; doctor availability, hospital availability, annual per capita income, and population density people per square mile.
      • GLASS_IDENTIFICATION

        public static final MLSandboxDatasets GLASS_IDENTIFICATION
        The preprocessed Glass dataset from the Machine Learning Repository https://archive.ics.uci.edu/ml/datasets/Glass+Identification There are 3 classes with labels: 1 {building_windows_float_processed}, 3 {vehicle_windows_float_processed}, 7 {headlamps}. Feature names: 'Na-Sodium', 'Mg-Magnesium', 'Al-Aluminum', 'Ba-Barium', 'Fe-Iron'.
      • WINE_RECOGNITION

        public static final MLSandboxDatasets WINE_RECOGNITION
        The Wine recognition data. Could be found here.
      • BOSTON_HOUSE_PRICES

        public static final MLSandboxDatasets BOSTON_HOUSE_PRICES
        The Boston house-prices dataset. Could be found here.
      • ENGLISH_VS_SCOTTISH

        public static final MLSandboxDatasets ENGLISH_VS_SCOTTISH
        Example from book Barber D. Bayesian reasoning and machine learning. Chapter 10.
      • WHOLESALE_CUSTOMERS

        public static final MLSandboxDatasets WHOLESALE_CUSTOMERS
        Wholesale customers dataset. Could be found here.
      • FRAUD_DETECTION

        public static final MLSandboxDatasets FRAUD_DETECTION
        Fraud detection problem [part of whole dataset]. Could be found here.
      • MIXED_DATASET

        public static final MLSandboxDatasets MIXED_DATASET
        A dataset with discrete and continuous features.
      • MUSHROOMS

        public static final MLSandboxDatasets MUSHROOMS
        A dataset with categorical features and labels.
      • AMAZON_EMPLOYEE_ACCESS

        public static final MLSandboxDatasets AMAZON_EMPLOYEE_ACCESS
        A dataset with categorical features and labels.
    • Method Detail

      • values

        public static MLSandboxDatasets[] 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 (MLSandboxDatasets c : MLSandboxDatasets.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MLSandboxDatasets 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
      • getFileName

        public java.lang.String getFileName()
      • hasHeader

        public boolean hasHeader()
      • getSeparator

        public java.lang.String getSeparator()