rfModel.pdp: Random forest model approach with pdp estimator

View source: R/rfModel.R

rfModel.pdpR Documentation

Random forest model approach with pdp estimator

Description

Use of pdp estimator in random forest approach

Usage

## S3 method for class 'pdp'
rfModel(estimator, rf_df, rf_spec, ntrees = 200, seed = 1, ...)

Arguments

estimator

Type of model to estimates (pdp)

rf_df

Transactions dataset from hedCreateSales()

rf_spec

Model specification ('formula' object)

ntrees

[200] Set number of trees to use

seed

[1] Random seed for reproducibility

...

Additional arguments

Further Details

See '?rfModel' for more information


andykrause/hpiR documentation built on Feb. 2, 2024, 8:13 p.m.