Stuck with a convert the estimator into a list of strings step in RF #1922
Answered
by
giswqs
itsabhinash
asked this question in
Q&A
-
import ee from geemap import ml geemap.ee_initialize() url = "D://DRP//rf//summermediancsv.csv" df feature_names = ["median"] X = df[feature_names] n_trees = 10 trees = ml.rf_to_strings(rf, feature_names) error is - IndexError: list index out of range |
Beta Was this translation helpful? Give feedback.
Answered by
giswqs
Feb 27, 2024
Replies: 1 comment 1 reply
-
Convert your training data to ee.FeatureCollection, then use the ee random forest classifier to train the model. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
giswqs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Convert your training data to ee.FeatureCollection, then use the ee random forest classifier to train the model.