Closed VishakAmin closed 3 years ago
Saved the Random Forest model using toJSON() but while trying to load the saved model it gives an error of (node:38489) UnhandledPromiseRejectionWarning: TypeError: classifier.load is not a function (classifier being the Random forest classifier)
Got it, as load was a static method had to write it differently.
Saved the Random Forest model using toJSON() but while trying to load the saved model it gives an error of (node:38489) UnhandledPromiseRejectionWarning: TypeError: classifier.load is not a function (classifier being the Random forest classifier)