AutoH2oDRFHurdleModel: AutoH2oDRFHurdleModel is generalized hurdle modeling...

Description Usage Arguments Value See Also Examples

View source: R/AutoH2oDRFHurdleModel.R

Description

AutoH2oDRFHurdleModel is generalized hurdle modeling framework

Usage

1
2
3
4
5
6
7
8
AutoH2oDRFHurdleModel(data, ValidationData = NULL, TestData = NULL,
  Buckets = 0, TargetColumnName = NULL, FeatureColNames = NULL,
  TransformNumericColumns = NULL, 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

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, AutoH2oDRFRegression, AutoH2oGBMHurdleModel, AutoH2oGBMRegression, AutoNLS, AutoXGBoostHurdleModel, AutoXGBoostRegression

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
Output <- RemixAutoML::AutoH2oDRFHurdleModel(
  data,
  ValidationData = NULL,
  TestData = NULL,
  Buckets = 1,
  TargetColumnName = "Target_Variable",
  FeatureColNames = 4:ncol(data),
  TransformNumericColumns = NULL,
  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)

AdrianAntico/RemixAutoML documentation built on Oct. 22, 2019, 8:06 a.m.