Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for MULTIPROBABILITY outputs with RF classifiers #551

Closed
KMarkert opened this issue Jul 1, 2021 · 0 comments
Closed

Support for MULTIPROBABILITY outputs with RF classifiers #551

KMarkert opened this issue Jul 1, 2021 · 0 comments
Assignees
Labels
Feature Request New feature or request

Comments

@KMarkert
Copy link
Member

KMarkert commented Jul 1, 2021

Description

There has been current discussion on implementing PROBABILITY output modes with the locally trained RF models (#522 ). The recent PR to support this request (#550) only works for binary classification problems.

Per the discussion on this string: https://issuetracker.google.com/issues/192387018, MULTIPROBABILITY outputs can be achieved by outputting the probability that the prediction class is correct. We would then need to keep track of which class has which probability from trees and reduce.

Source code

There is a start to the feature here: https://github.com/giswqs/geemap/blob/master/geemap/ml.py#L81

But this extracts the probabilities for each class (i.e. a n length vector of probabilities) which does not work with ee.Classifier.decisionTree. We would need to refactor to output only one probability and keep track of which class that probability is for so that it can be reshaped later.

I expect the part of keeping track of probability values and which class it belongs to will require a custom wrapper around ee.Classifier.decisionTree.

@KMarkert KMarkert added the Feature Request New feature or request label Jul 1, 2021
@KMarkert KMarkert self-assigned this Jul 1, 2021
@giswqs giswqs closed this as not planned Won't fix, can't repro, duplicate, stale Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants