tedana.selection.tedica.automatic_selection
- automatic_selection(component_table, selector, **kwargs)[source]
Classify components based on component table and decision tree type.
- Parameters:
component_table (
pd.DataFrame
) – The component table to classifyselector (
tedana.selection.component_selector.ComponentSelector
) – A selector object initialized with a decision tree
- Returns:
selector (
tedana.selection.component_selector.ComponentSelector
) – Contains component classifications in a component_table and provenance and metadata from the component selection process
Notes
If selector.tree=meica, the selection algorithm used in this function was originated in ME-ICA by Prantik Kundu, and his original implementation is available at: https://github.com/ME-ICA/me-ica/blob/ b2781dd087ab9de99a2ec3925f04f02ce84f0adc/meica.libs/select_model.py The tedana_orig tree is very similar to meica, but might accept fewer edge-case components.
The appropriate citation is Kundu et al.[1].
This component selection process uses multiple, previously calculated metrics that include kappa, rho, variance explained, noise and spatial frequency metrics, and measures of spatial overlap across metrics.
Prantik began to update these selection criteria to use SVMs to distinguish components, a hypercommented version of this attempt is available at: https://gist.github.com/emdupre/ca92d52d345d08ee85e104093b81482e
If tree==”minimal”, a selection algorithm based on the “meica” tree will be used. The differences between the “minimal” and “meica” trees are described in the FAQ.
References