DTUComputeStatisticsAndDataAnalysis / MBPLS

(Multiblock) Partial Least Squares Regression for Python
https://mbpls.readthedocs.io
BSD 3-Clause "New" or "Revised" License
29 stars 8 forks source link

[JOSS review]: compatibility with scikit learn #6

Closed arokem closed 5 years ago

arokem commented 5 years ago

The compatibility with scikit learn should be confirmed by adding a test that uses check_estimator

I think something like this should work:

def test_sklearn_compatibility():
    from sklearn.utils.estimator_checks import check_estimator
    from mbpls.mbpls import MBPLS
    check_estimator(MBPLS)