Skip to content

Error with oob_importances with scikit-learn 0.22.1 #27

Description

@mkhan037

oob_importances internally uses _generate_unsampled_indices which is a private function within scikit-learn. In scikit-learn 0.22.1 the function signature of _generate_unsampled_indices has changed from
_generate_unsampled_indices(random_state, n_samples) to
_generate_unsampled_indices(random_state, n_samples, n_samples_bootstrap) .
This signature change can be seen here

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions