Skip to content

Issues with examples in README and Vignette #8

@iembry

Description

@iembry

Hi, I just tested out your ClassificationEnsembles example code in both the README and the HTML vignette. I am sharing the results below:

README

library(ClassificationEnsembles)

Classification(data = Carseats,
  colnum = 7,
  numresamples = 2,
  do_you_have_new_data = "N",
  how_to_handle_strings = 1,
  save_all_trained_models = "N",
  use_parallel = "N",
  train_amount = 0.60,
  test_amount = 0.20,
  validation_amount = 0.20)

Error in Classification(data = Carseats, colnum = 7, numresamples = 2,  :
  unused argument (do_you_have_new_data = "N")

HTML vignette at https://CRAN.R-project.org/package=ClassificationEnsembles/vignettes/ClassificationEnsembles-vignette.html


library(ClassificationEnsembles)

Classification(data = ISLR::Carseats,
colnum = 7,
remove_VIF_above = 5.00,
numresamples = 25,
predict_on_new_data = "N",
how_to_handle_strings = 1,
save_all_trained_models = "N",
save_all_plots = "N",
scale_all_numeric_predictors_in_data = "N",
use_parallel = "Y",
train_amount = 0.60,
test_amount = 0.20,
validation_amount = 0.20)

Error in if (set_seed == "Y") { : the condition has length 1

Will you please correct the issues?

Thank you in advance.

Irucka

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions