我正在尝试在天蓝色的机器学习分类实验中使用unbalanced package in R。
我遇到的问题是将程序包导入R中,特别是要安装mlr程序包依赖项。
我使用以下R脚本导入不平衡的包:
install.packages("src/colorspace_1.2-6.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/RColorBrewer_1.1-2.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/dichromat_2.0-0.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/munsell_0.4.3.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/labeling_0.3.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/tibble_1.2.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/DBI_0.5-1.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/BH_1.60.0-2.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/digest_0.6.10.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/gtable_0.2.0.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/scales_0.4.0.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/backports_1.0.3.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/chron_2.3-47.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/assertthat_0.1.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/jsonlite_1.1.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/magrittr_1.5.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/dplyr_0.5.0.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/lazyeval_0.2.0.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/htmltools_0.3.5.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/Rcpp_0.12.7.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/stringr_1.1.0.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/httpuv_1.3.3.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/mime_0.5.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/xtable_1.8-2.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/R6_2.1.3.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/sourcetools_0.1.5.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/BBmisc_1.10.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/ggplot2_2.1.0.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/ParamHelpers_1.9.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/stringi_1.1.1.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/checkmate_1.8.1.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/data.table_1.9.6.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/ggvis_0.4.3.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/parallelMap_1.3.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/plyr_1.8.4.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/reshape2_1.4.1.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/shiny_0.14.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/iterators_1.0.8.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/mlr_2.9.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/foreach_1.4.3.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/doParallel_1.0.10.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/FNN_1.1.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/RANN_2.5.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/unbalanced_2.0.zip", lib = ".", repos = NULL, verbose = TRUE)
library(unbalanced, lib.loc=".", verbose=TRUE)
我有一个压缩存档,其中包含连接到Azure ML中的Execute R脚本模块的压缩包,如下所示:
此外,存档包含mlr包及其依赖项,因为存档是在存档包中创建的
C:\Users\my_user\AppData\Local\Temp\RtmpU3WpI6\downloaded_packages
我在Azure ML中使用CRAN R 3.1.0 R版本。
我收到以下错误:
Error 0063: The following error occurred during evaluation of R script:
---------- Start of error message from R ----------
package 'mlr' could not be loaded
更改为Microsoft R Open 3.2.2根本不起作用,因为错误代码表示无法找到mlr包。
我安装这些软件包的顺序与我在执行新软件时在R Studio中安装它们的错误相同
install.packages("unbalanced")
我真的需要使用这个包进行分类。有关解决此错误的任何想法吗?
谢谢!