morphomapping.MM.feature_importance

morphomapping.MM.feature_importance#

MM.feature_importance(dep, indep)#

Calculates feature importance of columns in self.df (especially for x and y after dmap/umap were run). Returns DataFrame with the 10 most important features and their according importance values.

Parameters:
  • dep (str) – name of column which should represent the dependent variable

  • indep (str) – name of column which should represent the independent variable

Return type:

DataFrame