Open abrh opened 6 years ago
There is no as.party for these objects. If you want to get more information from the model, you need to get the java object elements. Just use the $ operator on the java object which is returned by the model and see which methods are available and try to obtain what you want by looking at the docs (https://jwijffels.github.io/RMOA, https://jwijffels.github.io/RMOA/MOA_2014_11/doc/apidocs/index.html)
Following by is the model I have. I would like to extract just the model (i.e. Model description) and use it. I tried to get it in the following ways with no success:
My target is to extract the model itself and use it with as.party for instance. (I get > as.party (myNewModel$model) Error in UseMethod("as.party") : no applicable method for 'as.party' applied to an object of class "c('HoeffdingAdaptiveTree', 'MOA_classifier', 'MOA_model')" )
Here is the model: