Skip to content

Compatibility with scikit-learn > 0.21.3 #109

@igorkurinnyi

Description

@igorkurinnyi

Hello,

Currently, dragnet is not compatible with scikit-learn > 0.21.3. I did research and composed a table of compatibilities of pickled dragnet models with new sklearn versions.

Trained with version Compatible with versions Not compatible from version Error
1.0.1 1.0.1; 0.24.2 0.23.2 AttributeError: 'ExtraTreeClassifier' object has no attribute 'n_features_'
0.23.2 0.23.2; 0.22.1 0.21.3 ModuleNotFoundError: No module named 'sklearn.ensemble._forest'

Models were trained with: python 3.9, Cython==0.29.24, numpy==1.21.4, scipy==1.7.2

Is it possible to update the library with new models? I could help with a pull request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions