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

Tutorial.py does not work because pipe are not defined #14

Open
SunnyH666 opened this issue Mar 30, 2022 · 0 comments
Open

Tutorial.py does not work because pipe are not defined #14

SunnyH666 opened this issue Mar 30, 2022 · 0 comments

Comments

@SunnyH666
Copy link

Dear experts, I am trying to run the Tutorial.ipynb on the jupyter notebooks: https://github.com/nipreps/mriqc-learn/tree/main/docs/notebooks using spyder. And got two errors: GridSearchCV and pipe are not defined.

first can be fixed by adding "from sklearn.model_selection import GridSearchCV"
but I don't know how to fix the "pipe" error.

and scripts with errors:
clf = GridSearchCV(
estimator=pipe,
param_grid=p_grid,
cv=inner_cv,
n_jobs=30,
scoring="roc_auc",
)

And I'm freshman with python and mriqc, so I'm not very sure how to evaluate my own group_T1w.tsv using the tutorial.py

Please give me some advice.

Many Thanks!

Best,

Wenjun

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