I am working on model that build in Weka “Model1.model”, then when I run my application in c# using this statement
weka.core.SerializationHelper.read(“Model1.model”);
I get this error
Unable to cast object of type ‘java.util.ArrayList’ to type ‘weka.core.FastVector’.
I have the same problem.
I built a MLP model using Weka, and saved this as MLPModel.model.
When I try to read it in C# code below:
It outputs the following error: Unable to cast object of type ‘java.util.ArrayList’ to type ‘weka.core.FastVector’.