You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Part of #97. The goal is to make the function more explainable.
Moved the aggregation function to utils.py where it can be
inspected more easily. By default it's a simple sum, but
for the feature importance measure it normalizes before
summing over features, then normalizes the result so the
importances sum to 1. Borda counts are an option too but
I think scores are best for importance, to preserve the
magnitudes of the coefficients.
Also switched to LinearRegression instead of Lasso, which
should really be fitted for alpha, see #98.
Lasso may be a better indicator of feature importance, as it tries to eliminate features. But the alpha parameter needs to be tuned, eg with https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LassoCV.html
The text was updated successfully, but these errors were encountered: