Investigate combined honest trees + isotonic calibration
@jzheng17 ci sta già lavorando.
Dal 17/2/2022.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Background
Honest decision trees build upon conventional decision trees by splitting the samples into two sets: one for learning the decision tree structure and the other for learning the classification posterior probabilities. In practice, this provides better calibration (i.e. the estimated probabilities are closer to the true probabilities). See this paper for details.
The code and experiments for the above paper are located in a fork of ProgLearn. The minimum working code and tutorial is seen in this notebook. This code is separate from the honest tree code used in ProgLearn as there is no need for transfer/lifelong learning. As an upside, the code has been optimized for maximum efficiency and benchmarked.
Request
An issue was made in sklearn and the simulations and paper attracted developer interest. The paper explored the performance of honest decision forests against the traditional forest as well as two other calibration methods, sigmoid and isotonic. A developer expressed interest in the results of combining honest trees with isotonic calibration given that isotonic calibration seems to do better than just honest posteriors. The request is thus to run the simulations and cc18 experiments from the paper with the added honest + isotonic forest method to see if this combined approach gives better calibration results than either approach alone.
Proposed Workflow
As the current honest forest code and experiments lie on a fork, it may be worthwhile to first create a new repository for just the optimized honest forest code and experiments as a separate entity from proglearn. Either way, the rough workflow would be:
- Write an
HonestTreeClassifierclass and then rewrite theUncertaintyForestclass to use the new honest trees. Consider renamingUncertaintyForesttoHonestForestClassifierfor consistency. Currently there is no honest decision tree code, ratherUncertaintyForestbuilds an ensemble of honest decision trees using regular decision trees. - Verify that this honest decision tree can be used as the base estimator for the sklearn isotonic calibration just like the regular sklearn decision tree can be. This may require editing the honest tree class to conform to sklearn specific needs. This is probably the hardest step.
- Rerun the overlapping Gaussian simulation using this method too and determine the results.
- If the method seems promising, run on the real cc18 data experiments.
- Lingua principale
- Jupyter Notebook
- Stelle
- 39
- Fork
- 44
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di neurodata/ProgLearn
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
-
FIX migrate Netlify image from Xenial to FocalForse già presa @PSSF23 l’ha presa 1550 giorni fa. Aperta
-
DOC fix typos in model attribute titlesForse già presa @PSSF23 l’ha presa 1684 giorni fa. Aperta
-
ndd
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
Scene Segmentation with SynFForse di nuovo libera @amyvanee l’ha presa 1853 giorni fa e non c’è nessuna pull request aperta. Apertandd