K-Means示例(聚类:查找类似公司)不起作用 [英] K-Means example (Clustering: Find similar companies) not working

查看:88
本文介绍了K-Means示例(聚类:查找类似公司)不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试让群集示例正常运行。 训练和预测模型似乎都有效,但它们经常会出错:  "在评估R脚本期间发生以下错误:R_tryEval:返回错误:pca $ x [,1:10]中的错误:
下标超出界限"<

Trying to get the Clustering example to work.  The training and predictive model both appear to work but they often throw an error:  "following error occurred during evaluation of R script: R_tryEval: return error: Error in pca$x[, 1:10] : subscript out of bounds"

最终如果你设法部署模型(在测试或Excel中),它会抛出一个不同的错误,它缺少PC2或PC6,这两个错误都存在于列车和预测模型中。

Eventually if you manage to deploy the model (in Test or Excel), it throws a different error that it is missing PC2 or PC6, both of which are present in the train and predictive model.

Am我错过了什么? 列是在那里,所以我假设如果他们在预测模型中工作,部署的模型也应该工作。

Am I missing something?  The columns are there, so I assume if they work in the predictive model, the deployed model should also work.

似乎同样的问题是在2016年回答(第4点),但没有回答:

Seems this same question was asked back in 2016 (point 4) but not answered:

https://social.msdn.microsoft.com/Forums/en-US/a53a7622-251a-4667-8186-43cb1f57b041/azure-machine-learning -text-clustering-issues-k-means?forum = MachineLearning

https://social.msdn.microsoft.com/Forums/en-US/a53a7622-251a-4667-8186-43cb1f57b041/azure-machine-learning-text-clustering-issues-k-means?forum=MachineLearning

推荐答案

很抱歉听到你这个问题。由于我没有看到你的代码示例,我现在无法确切地说出原因。但我确实有一些针对您遇到的类似问题的解决方案。请参考它并告诉我们您是否还有其他挑战。  https://stackoverflow.com/questions/15031338/subscript-out-of-bounds-general-definition-and-solution

Sorry to hear you are suffering from this issue. I can not tell the exactly reason at this time since I have not seen your code sample. But I do have some solutions for the similar issue you have. Please refer to it and tell us if you have further challenge. https://stackoverflow.com/questions/15031338/subscript-out-of-bounds-general-definition-and-solution

问候,

宇通


这篇关于K-Means示例(聚类:查找类似公司)不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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