[英]Packages R Azure Machine Learning
I'm new in Azure and I would like to run my R Code, I read how it's work but I have problem to run my packages but I always get errors like this . 我是Azure的新手,我想运行R代码,我读了它的工作原理,但是在运行程序包时遇到了问题,但是我总是会遇到这样的错误。
package 'ParamHelpers' required by 'mlr' could not be found 找不到'mlr'所需的软件包'ParamHelpers'
And when I run in Rstudio i don't have the same errors 当我在Rstudio中运行时,不会出现相同的错误
I have a zip file with inside the zip packages 我在zip包中有一个zip文件
install.packages("src/Metrics_0.1.1.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/checkmate_1.7.0.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/mlr_2.7.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/xgboost_0.4-2.zip", lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/BBmisc_1.9.zip", lib = ".", repos = NULL, verbose = TRUE)
library(xgboost)
library(Metrics, lib.loc=".", verbose=TRUE)
library(checkmate, lib.loc=".", verbose=TRUE)
library(BBmisc, lib.loc=".", verbose=TRUE)
library(mlr, lib.loc=".", verbose=TRUE)
library(Hmisc)
packageVersion("mlr")
You need to add all the packages to your zip-file that mlr needs. 您需要将所有软件包添加到mlr所需的zip文件中。 Both BBmisc and ParamHelpers are not available on Azure, so you need to add these to the zip-file containing the other packages like mlr. BBmisc和ParamHelpers都不在Azure上可用,因此您需要将它们添加到包含其他包(如mlr)的zip文件中。
Here is a list of available packages in Azure ML . 这是Azure ML中可用包的列表。
and here is the overview of packages mlr depends on and suggests 这是mlr所依赖的软件包的概述并提出建议
You can try this - http://gallery.azureml.net/Details/7507f907deb845d9b9b193b455a8615d 您可以尝试一下-http://gallery.azureml.net/Details/7507f907deb845d9b9b193b455a8615d
The above link shows a simple model for predicting acceptance to graduate school using xgboost library and serializing model into data.frame 上面的链接显示了一个简单的模型,用于使用xgboost库预测研究生院的录取率并将模型序列化为data.frame
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.