cran / SpatialML

:exclamation: This is a read-only mirror of the CRAN R package repository. SpatialML — Spatial Machine Learning. Homepage: https://stamatisgeoai.eu/
8 stars 1 forks source link

Error when doing a classification using SpatialML #1

Open JacobusS opened 3 years ago

JacobusS commented 3 years ago

Hi I'm getting the error below when doing a classification, The dependent variable was converted to factor, we have 5 classes. Am I doing something wrong?

Residual Sum of Squares (Predicted): NA R-squared (Predicted) %: NA Error in x[[jj]][iseq] <- vjj : replacement has length zero In addition: Warning messages: 1: In Ops.factor(Gl.Model$y, yhat) : ‘-’ not meaningful for factors 2: In mean.default(Gl.Model$y) : argument is not numeric or logical: returning NA 3: In Ops.factor(Gl.Model$y, g.mean.y) : ‘-’ not meaningful for factors

gaborcsardi commented 3 years ago

Hi, this is a read only mirror of CRAN, please see the package authors in the DESCRIPTION file. Thanks!