Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cMDA #3

Open
andrewlu2021 opened this issue Apr 29, 2022 · 0 comments
Open

cMDA #3

andrewlu2021 opened this issue Apr 29, 2022 · 0 comments

Comments

@andrewlu2021
Copy link

For the cMDA function in ch6_feature_importance_analysis.py, should the following code be outside of train test for loop? The mean score is for cross vaildation calcualted on cluster level.

    imp=(-1*scr1).add(scr0,axis=0)
    imp = imp/(-1*scr1)
    imp = pd.concat({'mean':imp.mean(), 'std':imp.std()*imp.shape[0]**-.5}, axis=1)
    imp.index=['C_'+str(i) for i in imp.index]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant