mriqc.classifier.cv – MRIQC Cross-validation Helpers

class mriqc.classifier.cv.CVHelper(X=None, Y=None, load_clf=None, param=None, n_jobs=-1, site_label=u'site', rate_label=u'rater_1', zscored=False)[source]

Bases: mriqc.classifier.cv.CVHelperBase

Xtest
estimator
evaluate(scoring=u'accuracy')[source]
fit()[source]
load(filehandler)[source]

UnPickle the estimator, adding the feature names http://scikit-learn.org/stable/modules/model_persistence.html

predict(datapoints)[source]
predict_dataset(data, out_file=None)[source]
save(filehandler, compress=3)[source]

Pickle the estimator, adding the feature names http://scikit-learn.org/stable/modules/model_persistence.html

setXtest(X, Y)[source]
class mriqc.classifier.cv.CVHelperBase(X, Y, param=None, n_jobs=-1, site_label=u'site', rate_label=u'rater_1')[source]

Bases: future.types.newobject.newobject

fit()[source]
ftnames
get_groups()[source]
predict(data)[source]
predict_dataset(data, out_file=None)[source]
rate_column
class mriqc.classifier.cv.NestedCVHelper(X, Y, param=None, n_jobs=-1, site_label=u'site', rate_label=u'rater_1', task_id=None)[source]

Bases: mriqc.classifier.cv.CVHelperBase

best_clf
best_model
cv_inner
cv_outer
cv_scores_df
fit()[source]
get_inner_cv_scores()[source]
get_outer_cv_scores()[source]