1

I am using RWeka package to carry out a machine learning experiment, the method runs fine for other machine learning algorithms given by RWeka but whenever I run the neural networks I get the below mentioned error:

MLP <- make_Weka_classifier('weka/classifiers/functions/Multilayerperceptron')
BoW_MLP_m <- MLP( y~ ., data = train_data_m,control = Weka_control(N=70,L=0.3))

I get the following error:

Error in .jcall(man, "Ljava/lang/Object;", "objectForName", as_qualified_name(name)) : java.lang.ClassNotFoundException

I have the rJava library imported and called, so I am a bit confused

nicola
  • 24,005
  • 3
  • 35
  • 56
IronMaiden
  • 552
  • 4
  • 20
  • It's just a typo. It's `MLP <- make_Weka_classifier('weka/classifiers/functions/MultilayerPerceptron')` (with the capital P for Perceptron). – nicola Jun 17 '17 at 04:37
  • Thank you very much, issue resolved but I get this error now GC overhead limit exceeded – IronMaiden Jun 17 '17 at 04:48
  • Error in .jcall(o, "Ljava/lang/Class;", "getClass"): java.lang.OutOfMemoryError: GC overhead limit exceeded – IronMaiden Jun 17 '17 at 05:32

0 Answers0