Tried to use it on a data.frame and got that exception. After conversion to a sparse matrix with,
train_embeddings <- Matrix(train_embeddings, sparse=TRUE)
I was able to use svm and predict function, but not the tune function.
Before i updated the package, it got confused with the 'new' "matrix" "array" class / data type. before it was only "matrix", in an earlier version of R. Might have to do with this other exception, still.
Tried to use it on a data.frame and got that exception. After conversion to a sparse matrix with,
train_embeddings <- Matrix(train_embeddings, sparse=TRUE)
I was able to use svm and predict function, but not the tune function.
Before i updated the package, it got confused with the 'new' "matrix" "array" class / data type. before it was only "matrix", in an earlier version of R. Might have to do with this other exception, still.