Closed Saadi4469 closed 10 months ago
Update:
I am also getting an error with predictions = predict_new(output_2, data = x)
No imputation performed due to only one observation. If any values are missing, user has to handle them by himself.
Error in [.data.frame
(train, , i) : undefined columns selected
Hello,
Thank you for your comment.
The reason for the different results may be due to the setting of a randomness seed. Because we do not assume one fixed, we may get different results when splitting the data or initialising the algorithms. In random search, we may also receive other combinations of hyperparameters, which may affect the results obtained.
@kozaka93, thank you for the response and what about the two errors mentioned in the question?
We are currently working on the new version of the tutorial with better visualisations and fixed bugs. It should be available soon.
Awesome!
So I was following this new tutorial and I have a couple of questions.
output_dir
, I get the following error, how can this be fixed? I mean the function does create the folder and pdfs temporarily as shown below, but the folder gets deleted after the error.Error:
"C:/Program Files/RStudio/resources/app/bin/quarto/bin/tools/pandoc" +RTS -K512m -RTS report.knit.md --to latex --from markdown+autolink_bare_uris+tex_math_single_backslash --output pandocf9861506bf9.tex --lua-filter "C:\Users\ed\AppData\Local\R\win-library\4.2\rmarkdown\rmarkdown\lua\pagebreak.lua" --lua-filter "C:\Users\ed\AppData\Local\R\win-library\4.2\rmarkdown\rmarkdown\lua\latex-div.lua" --embed-resources --standalone --highlight-style tango --pdf-engine pdflatex --variable graphics --variable "geometry:margin=1in"
A new version of TeX Live has been released. If you need to install or update any LaTeX packages, you have to upgrade TinyTeX with tinytex::reinstall_tinytex(repository = "illinois").
! Undefined control sequence.
<argument> O:psd
ed ML Learninghands _on_report_files/figure-latex/rada...
l.147 ...n_report_files/figure-latex/radar_plot-1}
Error: LaTeX failed to compile O:/psd/ed/ML Learning/hands_on_report.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See hands_on_report.log for more info.
Hi, I'm sorry for a very long response time. In recent package version the issue was fixed, and it should work properly.
Hello and good day all,
First of all, thank you for the great tutorial, it's really helpful for newcomers like me who want to learn ML in R and thus I would also really appreciate more tutorials like these. Anyways, so, I started learning ML with this tutorial. And, I have a few follow up questions.
and
random_evals` have to have the same value i.e. 20 in this case?processing file: report.Rmd |................... | 30% (unnamed-chunk-1) Quitting from lines 65-67 (report.Rmd) Error in predictor$predict(data = data, start_iteration = start_iteration, : Attempting to use a Booster which no longer exists. This can happen if you have called Booster$finalize() or if this Booster was saved with saveRDS(). To avoid this error in the future, use saveRDS.lgb.Booster() or Booster$save_model() to save lightgbm Boosters.