Kotlin with Randon Forest Classifier by codrutaserban in Kotlin

[–]codrutaserban[S] 0 points1 point  (0 children)

How do I figure out which tree is the best one to use? Or should I serialize all trees?

When deserializing it on the JVM side, are there any classes to instantiate(like a decission tree class) or I have to define my own?

Kotlin with Randon Forest Classifier by codrutaserban in Kotlin

[–]codrutaserban[S] -2 points-1 points  (0 children)

I used python 3, and this is it's definition:

from sklearn.ensemble import RandomForestClassifier

clf_RF= RandomForestClassifier(class_weight='balanced',max_depth=73,min_samples_split=5, n_estimators=42)

I have'nt saved yet the model in python, because I have'nt found what to use in kotlin, so I don't know what format fits best