catboost.save_pool
catboost.save_pool(data,
label = NULL,
weight = NULL,
baseline = NULL,
pool_path = "data.pool",
cd_path = "cd.pool")
Purpose
Use the catboost.load_pool function to read the resulting files. These files can also be used in the Command-line version and the Python package.
Arguments
Argument | Description | Default value |
---|---|---|
data | A data.frame or matrix with features. The following column types are supported:
| Required argument |
label | The target variables (in other words, the objects' label values) of the dataset. | NULL |
weight | The weights of objects. | NULL |
baseline | A vector of formula values for all input objects. The training starts from these values for all input objects instead of starting from zero. | NULL |
pool_path | The path to the output file that contains the dataset description. | data.pool |
cd_path | The path to the output file that contains the columns description. | cd.pool |
Argument | Description | Default value |
---|---|---|
data | A data.frame or matrix with features. The following column types are supported:
| Required argument |
label | The target variables (in other words, the objects' label values) of the dataset. | NULL |
weight | The weights of objects. | NULL |
baseline | A vector of formula values for all input objects. The training starts from these values for all input objects instead of starting from zero. | NULL |
pool_path | The path to the output file that contains the dataset description. | data.pool |
cd_path | The path to the output file that contains the columns description. | cd.pool |