nipreps/mriqc-learn

Tutorial.py does not work because pipe are not defined

Opened this issue · 0 comments

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