I'm really enjoying this library. Thank you for all your work!
At the moment, it is possible to train and save a random forest model with toJSON(), but I don't see how to load a saved model. It would be really useful to be able to load pre-trained models.
let m;
function preload(){
m = loadJSON('rf.json')
}
function setup(){
rf = ML.RandomForestClassifier.load(m)
let result = rf.predict(trainingSet)
console.log(result)
}
I'm really enjoying this library. Thank you for all your work!
At the moment, it is possible to train and save a random forest model with toJSON(), but I don't see how to load a saved model. It would be really useful to be able to load pre-trained models.