Quick start

To get started:
  1. Load the dataset from the CatBoost R package (this dataset is a subset of the Adult Data Set distributed through the UCI Machine Learning Repository):
    pool_path <- system.file("extdata", "adult_train.1000", package = "catboost")
    cd_path <- system.file("extdata", "adult.cd", package = "catboost")
    pool <- catboost.load_pool(pool_path, column_description = cd_path)
  2. Train the model:
    fit_params <- list(iterations = 100, thread_count = 10, loss_function = 'Logloss')
    model <- catboost.train(pool, pool, fit_params)
  3. Apply the model:
    prediction <- catboost.predict(model, pool)
    head(prediction)