Closed mohammadreza-sheykhmousa closed 4 years ago
It states the error when loading mlr3measures
.
tnr
(true negative rate) from mlr3measures overwrites tnr
(tuner shortcut) from mlr3tuning.
There should not be a reason to explicitly load mlr3measures
, either do not do this or use bbotk::tnr()
instead.
Hi mlr3 team,
I am facing this weird error with a regression task
which normally happens for a classification task. I am providing a minimal reprex and seesion info for your reference. I would appreciate any help here.
Created on 2020-09-21 by the reprex package (v0.3.0)
Session info
``` r devtools::session_info() #> ─ Session info ─────────────────────────────────────────────────────────────── #> setting value #> version R version 4.0.2 (2020-06-22) #> os Ubuntu 20.04.1 LTS #> system x86_64, linux-gnu #> ui X11 #> language (EN) #> collate en_US.UTF-8 #> ctype en_US.UTF-8 #> tz Europe/Amsterdam #> date 2020-09-21 #> #> ─ Packages ─────────────────────────────────────────────────────────────────── #> package * version date lib #> assertthat 0.2.1 2019-03-21 [1] #> backports 1.1.10 2020-09-15 [1] #> bbotk * 0.2.1 2020-09-05 [1] #> callr 3.4.4 2020-09-07 [1] #> checkmate 2.0.0 2020-02-06 [1] #> cli 2.0.2 2020-02-28 [1] #> codetools 0.2-16 2018-12-24 [3] #> colorspace 1.4-1 2019-03-18 [1] #> crayon 1.3.4 2017-09-16 [1] #> curl 4.3 2019-12-02 [1] #> data.table * 1.13.0 2020-07-24 [1] #> desc 1.2.0 2018-05-01 [1] #> devtools 2.3.1 2020-07-21 [1] #> digest 0.6.25 2020-02-23 [1] #> dplyr 1.0.2 2020-08-18 [1] #> ellipsis 0.3.1 2020-05-15 [1] #> evaluate 0.14 2019-05-28 [1] #> fansi 0.4.1 2020-01-08 [1] #> foreach 1.5.0 2020-03-30 [1] #> fs 1.5.0 2020-07-31 [1] #> FSelectorRcpp * 0.3.3 2020-01-24 [1] #> future * 1.18.0 2020-07-09 [1] #> future.apply * 1.6.0 2020-07-01 [1] #> generics 0.0.2 2018-11-29 [1] #> ggplot2 * 3.3.2 2020-06-19 [1] #> globals 0.12.5 2019-12-07 [1] #> glue 1.4.2 2020-08-27 [1] #> gtable 0.3.0 2019-03-25 [1] #> highr 0.8 2019-03-20 [1] #> hms 0.5.3 2020-01-08 [1] #> htmltools 0.5.0 2020-06-16 [1] #> httr 1.4.2 2020-07-20 [1] #> igraph 1.2.5 2020-03-19 [1] #> iterators 1.0.12 2019-07-26 [1] #> knitr 1.29 2020-06-23 [1] #> lattice 0.20-41 2020-04-02 [3] #> lgr 0.3.4 2020-03-20 [1] #> lifecycle 0.2.0 2020-03-06 [1] #> listenv 0.8.0 2019-12-05 [1] #> magrittr * 1.5 2014-11-22 [1] #> Matrix 1.2-18 2019-11-27 [1] #> memoise 1.1.0 2017-04-21 [1] #> mime 0.9 2020-02-04 [1] #> mlr3 * 0.6.0-9000 2020-09-14 [1] #> mlr3filters * 0.3.0.9000 2020-09-11 [1] #> mlr3fselect * 0.2.0 2020-08-23 [1] #> mlr3learners * 0.3.0 2020-08-29 [1] #> mlr3measures * 0.2.0 2020-06-27 [1] #> mlr3misc 0.5.0 2020-08-13 [1] #> mlr3pipelines * 0.2.1-9000 2020-09-09 [1] #> mlr3tuning * 0.2.0 2020-07-28 [1] #> mlr3verse * 0.1.3 2020-07-06 [1] #> mlr3viz * 0.2.0 2020-08-07 [1] #> mltools * 0.3.5 2018-05-12 [1] #> munsell 0.5.0 2018-06-12 [1] #> paradox * 0.4.0 2020-07-21 [1] #> pillar 1.4.6 2020-07-10 [1] #> pkgbuild 1.1.0 2020-07-13 [1] #> pkgconfig 2.0.3 2019-09-22 [1] #> pkgload 1.1.0 2020-05-29 [2] #> prettyunits 1.1.1 2020-01-24 [1] #> processx 3.4.4 2020-09-03 [1] #> progress * 1.2.2 2019-05-16 [1] #> ps 1.3.4 2020-08-11 [1] #> purrr 0.3.4 2020-04-17 [1] #> R6 2.4.1 2019-11-12 [1] #> Rcpp 1.0.5 2020-07-06 [1] #> remotes 2.2.0 2020-07-21 [1] #> reprex * 0.3.0 2019-05-16 [1] #> rlang 0.4.7 2020-07-09 [1] #> rmarkdown 2.3 2020-06-18 [1] #> rprojroot 1.3-2 2018-01-03 [1] #> scales 1.1.1 2020-05-11 [1] #> sessioninfo 1.1.1 2018-11-05 [1] #> sp * 1.4-2 2020-05-20 [1] #> stringi 1.4.6 2020-02-17 [1] #> stringr 1.4.0 2019-02-10 [1] #> testthat 2.3.2 2020-03-02 [2] #> tibble 3.0.3 2020-07-10 [1] #> tidyselect 1.1.0 2020-05-11 [1] #> usethis 1.6.1 2020-04-29 [1] #> uuid 0.1-4 2020-02-26 [1] #> vctrs 0.3.4 2020-08-29 [1] #> withr 2.2.0 2020-04-20 [1] #> xfun 0.16 2020-07-24 [1] #> xml2 1.3.2 2020-04-23 [1] #> yaml 2.2.1 2020-02-01 [1] #> source #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.0) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.0) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> Github (mlr-org/mlr3@870de0a) #> Github (mlr-org/mlr3filters@faf79ad) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> Github (mlr-org/mlr3pipelines@fae2715) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.0) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.0) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> CRAN (R 4.0.2) #> #> [1] /home/msheykhmousa/R/x86_64-pc-linux-gnu-library/4.0 #> [2] /usr/lib/R/site-library #> [3] /usr/lib/R/library ```