R mlr包预测函数在AzureML中显示错误 [英] R mlr package predict function showing Error in AzureML

查看:61
本文介绍了R mlr包预测函数在AzureML中显示错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

下面是错误日志

错误消息:执行R脚本管道(RPackage):在评估R脚本期间发生以下错误:R_tryEval:return error:Error in UseMethod("预测"):


 没有适用于"预测"的方法应用于类的对象"c('FilterModel','BaseWrapperModel','WrappedModel')"
Error Message: Execute R Script Piped (RPackage) : The following error occurred during evaluation of R script: R_tryEval: return error: Error in UseMethod("predict") :
  no applicable method for 'predict' applied to an object of class "c('FilterModel', 'BaseWrapperModel', 'WrappedModel')"

推荐答案

根据错误消息,您似乎没有很好地上传模型。请尝试以下操作:

According to the error message, it seems that you did not upload your model well. Please try following:

1)请导入您创建该功能的包。就像你的情况一样,请输入"mlr"。包。 

1) Please import the package by which you created the function as well. Like, for your case, please import "mlr" package. 

2)您能否查看以下文档中的自定义模型以查看是否有任何错误?

2) Could you please check the following document for custom model to see if there anything wrong?

https://docs.microsoft.com/en-us/azure/machine-learning/studio/custom-r-modules

问候,

宇通

- -------------------------------------------------- -------------------------------------------------- -----

如果您觉得这篇文章有用,请给它一个"有帮助的"投票。

如果有帮助,请记得将回复标记为答案。


这篇关于R mlr包预测函数在AzureML中显示错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆