Building Tabular Data Models

You can create a new machine learning training procedure and train models for tabular data.


Before you begin:
  • You must have the Data Scientist (DAL) or the Therapeutics Data Scientist (BTD) role to build tabular data models.
  • Data used for building models must be available in Data Factory Studio, Dataset Governance, or 3DDrive, and must follow certain requirements. For more information, see Data Storage Requirements.
  • You must have the Data Steward (DAS) and the Data Engineer (DAE) roles to use data sets from Dataset Governance to build models.
  • Model training consumes credits. For more information, see About Credits in Machine Learning Workbench.
See Also
About Model and Training Procedure Versioning
  1. From the home page, click New and select Tabular Data.
  2. Choose the source from which you want to select the input data.

    • If choosing data from 3DDrive, drop the file in the workspace.
    • If choosing data from Dataset Governance, select a dataset.
    • If choosing data from Data Factory Studio, select a Bucket and File.

  3. Define the modeling task.
    1. Choose a Type.
    2. In the Target and Features table, choose the Target. The remaining items are the Features. For the features that are integers, you can specify Training Data Type as Categorical or Numerical.

      Notes:
      • Click the column headers to sort the target and features.
      • Use the statistics to determine the quality of the target and features.
      • Use the histogram to view the data distribution. For categorical data, the histogram contains 20 categories. For numerical data, the histogram contains 20 bins. For integers, you can generate categorical or numerical histograms. Hover over the histogram to view a larger chart.

  4. Optional: In the Missing Value Strings section, enter the strings to consider as a missing value, press Enter, and click Apply.
  5. Optional: Select the number of records and click Calculate to view the correlation matrix.
    • In the correlation matrix, categorical property names are in a lighter blue and numerical property names are in a darker blue color.
    • The shading color in the matrix represents the correlation between the two properties. A darker color represents a higher correlation and a lighter color represents a lower correlation.
    • In the Target and Features table, for classification models, Cramer's V scores are displayed for categorical features and One-way ANOVA p-value scores are displayed for numerical values. For regression models, One-way ANOVA p-value scores are displayed for categorical features and Pearson Correlation Coefficient scores are displayed for numerical features.
  6. Optional: Turn on Calculate Feature Importance to calculate the importance of the selected features.

    Notes:
    • This option is available if you select only numerical features.
    • This option consumes credits.

    After the calculation completes, an Importance column appears in the Target and Features table. You can modify the features based on the results and create the model. After you calculate feature importance, you can use only the LightGBM algorithm.
  7. Split the data. Move the slider to choose the percentage of the data to split as training data.

    The remaining data is testing data.

  8. Optional: Select AutoML to automatically generate the best performing model.
    1. In the Optimization Target list, select the performance indicator to optimize.

      For more information, see AutoML.

    2. Select the number of initial random points and number of optimization iterations.
  9. Select the required learning algorithms and configure their parameters.
    1. Choose one or more algorithms based on your model type and configuration.

      Type Algorithms
      Classification algorithms if you have selected the AutoML option By default, the selected algorithms are FCNN, LightGBM, Ridge, and SVM.
      Classification algorithms if you have not selected the AutoML option Fully Connected Neural Network, KNN, LightGBM, Logistic Regression, Random Forest, Ridge, SVM, and XGBoost.
      Regression algorithms if you have selected the AutoML option By default, the selected algorithms are ElasticNet, FCNN, LightGBM, and SVM.
      Regression algorithms if you have not selected the AutoML option ElasticNet, Fully Connected Neural Network, Huber, KNN, Lasso, LightGBM, Ridge, SISSO, SVM, and XGBoost.
      Note: For more information, see Algorithms for Tabular Data Models.

    2. Click Add.

      You can add more than one algorithm. If you add multiple algorithms, a training procedure generates for each algorithm.

    3. Optional: Click to expand the algorithm and update the parameters.

    4. Optional: Click Remove to remove an algorithm.
  10. Enter a name in the Model field, and if required, a name in the Training Procedure field.

    Notes:
    • If you do not provide a name for the training procedure, the training procedure for your models does not appear in the Managing Training Procedures page. You can name the training procedure later from the Managing Models page. For more information, see Managing Models.
    • Do not include the following characters:
      ":/\#@=,|%;[]?*<>^

  11. Click Start Training.

Result: A training procedure is created, model building begins, and the Tasks page opens.

What's Next