M5P from PackageRWeka

Mohamed Bah 1 Reputation point
2020-11-12T07:06:42.407+00:00

After running that command for R (from Machine Learning with R) in Azure Databricks Notebook:

library(SparkR)
library(RWeka)
m.m5p <- M5P(quality ~ alcohol + sulphates , data = wine_train)

I obtained this :

Error in .jcall(o, "Ljava/lang/Class;", "getClass") : Error in .jcall(o, "Ljava/lang/Class;", "getClass") :
java.lang.NoClassDefFoundError: no/uib/cipr/matrix/Matrix
Error in .jcall(o, "Ljava/lang/Class;", "getClass") :
java.lang.NoClassDefFoundError: no/uib/cipr/matrix/Matrix

When I used R I did not have that issue. The problem occured only when I moved to Azure Databricks Notebook (for R).

Any idea.
Thank you in advance

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,171 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.