Learn R Programming

RemixAutoML (version 0.11.0)

AutoH2oGBMHurdleModel: AutoH2oGBMHurdleModel is generalized hurdle modeling framework

Description

AutoH2oGBMHurdleModel is generalized hurdle modeling framework

Usage

AutoH2oGBMHurdleModel(data, ValidationData = NULL, TestData = NULL,
  Buckets = 0, TargetColumnName = NULL, FeatureColNames = NULL,
  TransformNumericColumns = NULL, Distribution = "gaussian",
  SplitRatios = c(0.7, 0.2, 0.1), ModelID = "ModelTest",
  Paths = NULL, MetaDataPaths = NULL, SaveModelObjects = TRUE,
  IfSaveModel = "mojo", MaxMem = "28G", NThreads = max(1,
  parallel::detectCores() - 2), Trees = 1000, GridTune = TRUE,
  MaxModelsInGrid = 1, NumOfParDepPlots = 10, PassInGrid = NULL)

Arguments

data

Source training data. Do not include a column that has the class labels for the buckets as they are created internally.

ValidationData

Source validation data. Do not include a column that has the class labels for the buckets as they are created internally.

TestData

Souce test data. Do not include a column that has the class labels for the buckets as they are created internally.

Buckets

A numeric vector of the buckets used for subsetting the data. NOTE: the final Bucket value will first create a subset of data that is less than the value and a second one thereafter for data greater than the bucket value.

TargetColumnName

Supply the column name or number for the target variable

FeatureColNames

Supply the column names or number of the features (not included the PrimaryDateColumn)

TransformNumericColumns

Transform numeric column inside the AutoCatBoostRegression() function

Distribution

Set to the distribution of choice based on H2O regression documents.

SplitRatios

Supply vector of partition ratios. For example, c(0.70,0.20,0,10).

ModelID

Define a character name for your models

Paths

The path to your folder where you want your model information saved

MetaDataPaths

A character string of your path file to where you want your model evaluation output saved. If left NULL, all output will be saved to Paths.

SaveModelObjects

Set to TRUE to save the model objects to file in the folders listed in Paths

IfSaveModel

Save as "mojo" or "standard"

MaxMem

Set the maximum memory your system can provide

NThreads

Set the number of threads you want to dedicate to the model building

Trees

Default 15000

GridTune

Set to TRUE if you want to grid tune the models

MaxModelsInGrid

Set to a numeric value for the number of models to try in grid tune

NumOfParDepPlots

Set to pull back N number of partial dependence calibration plots.

PassInGrid

Pass in a grid for changing up the parameter settings for catboost

Value

Returns AutoXGBoostRegression() model objects: VariableImportance.csv, Model, ValidationData.csv, EvalutionPlot.png, EvalutionBoxPlot.png, EvaluationMetrics.csv, ParDepPlots.R a named list of features with partial dependence calibration plots, ParDepBoxPlots.R, GridCollect, and the grid used

See Also

Other Automated Regression: AutoCatBoostHurdleModel, AutoCatBoostRegression, AutoH2oDRFHurdleModel, AutoH2oDRFRegression, AutoH2oGBMRegression, AutoNLS, AutoXGBoostHurdleModel, AutoXGBoostRegression

Examples

Run this code
# NOT RUN {
Output <- RemixAutoML::AutoH2oGBMHurdleModel(
  data,
  ValidationData = NULL,
  TestData = NULL,
  Buckets = 1,
  TargetColumnName = "Target_Variable",
  FeatureColNames = 4:ncol(data),
  TransformNumericColumns = NULL,
  Distribution = "gaussian",
  SplitRatios = c(0.7, 0.2, 0.1),
  NThreads = max(1, parallel::detectCores()-2),
  ModelID = "ModelID",
  Paths = NULL,
  MetaDataPaths = NULL,
  SaveModelObjects = TRUE,
  IfSaveModel = "mojo",
  Trees = 1000,
  GridTune = FALSE,
  MaxModelsInGrid = 1,
  NumOfParDepPlots = 10,
  PassInGrid = NULL)
# }

Run the code above in your browser using DataLab