简体   繁体   English

包R Azure机器学习

[英]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.

相关问题 Azure机器学习:删除预安装的R程序包 - Azure Machine Learning: Remove pre-installed R packages 如何在天蓝色机器学习中添加新的R包以进行时间序列异常检测 - how to add new R packages in azure machine learning for time series anomaly detection Azure机器学习而不是R Studio中的R错误 - R error in Azure Machine Learning, not in R Studio R机器学习包处理具有大量级别的因素 - R machine learning packages to deal with factors with a large number of levels 无法在 R 中安装包 kerndwd、sdwd 和flare 包以满足插入符号机器学习要求 - Cannot install packages kerndwd, sdwd, and flare packages in R for Caret Machine Learning Requirements Azure机器学习:编译R脚本,但结果不同 - Azure-machine-learning: Compiling R-script, but different results 在Azure机器学习中的R脚本中访问blob存储中的文件? - Access files in blob storage in R scripts in Azure Machine Learning? Azure机器学习或R语言中的中文字符文本挖掘 - Text Mining with Chinese Characters in Azure Machine Learning or R Language 在Azure机器学习中的R脚本中运行h2o - Running h2o in R script in Azure machine learning 将 R(本地)中保存的 ML 模型上传到 Azure 机器学习工作室 - Upload Saved ML Model in R (local) to Azure Machine Learning Studio
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM