我有一些个人数据集。所以我把它分成变量来预测和预测。以下是语法:
library(Cubist)
str(A)
'data.frame': 6038 obs. of 3 variables:
$ ads_return_count : num 7 10 10 4 10 10 10 10 10 9 ...
$ actual_cpc : num 0.0678 0.3888 0.2947 0.0179 0.095 ...
$ is_user_agent_bot: Factor w/ 1 level "False": 1 1 1 1 1 1 1 1 1 1 ...
cubist(A[,c("ads_return_count","is_user_agent_bot")],A[,"actual_cpc"])
我收到以下错误
cubist code called exit with value 1
Error in strsplit(tmp, "\"")[[1]] : subscript out of bounds
有什么我想念的吗?