ME-ICA / tedana

TE-dependent analysis of multi-echo fMRI
https://tedana.readthedocs.io
GNU Lesser General Public License v2.1
161 stars 95 forks source link

Refactor `ComponentSelector` to match sklearn's `DecisionTreeClassifier` #1034

Open tsalo opened 7 months ago

tsalo commented 7 months ago

Summary

If we use DecisionTreeClassifier as the general template for ComponentSelector.

If we organize the tree's attributes similarly to DecisionTreeClassifier, we might be able to directly use sklearn's plot_tree. It would also be really cool if we could figure out how to plot the decision surfaces based on features (see this example).