Skip to content

Estimator verification API #3810

Closed
@mblondel

Description

@mblondel

Some of our common tests could be transformed into reusable functions. This would allow third-party developers to run a battery of tests on their estimator to check whether it is scikit-learn compatible. In a way, we can see these tests as a way of writing our API specification directly in Python language.

Things that come to mind:

  • test if clonable
  • test if can be pickled
  • test if accepts lists
  • tests that fit with sparse matrices either work or raises a TypeError
  • etc...

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