Error in plot.window(…) : need finite 'xlim' values

前端 未结 4 1391
余生分开走
余生分开走 2020-12-03 20:55

What should i do for this error? My code is :

library(e1071)
library(hydroGOF)
donnees <- read.csv("F:/new work with shahab/Code-SVR/SVR/MainData.csv&         


        
4条回答
  •  再見小時候
    2020-12-03 21:34

    I had the same problem. I solve it when I convert string to factor. In your case, check the class of variable and check if they are numeric and 'train and test' should be factor.

提交回复
热议问题