question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

All tests in `check_estimator` are disabled if `X_types` does not include `"2darray"`

See original GitHub issue

Description

All tests in in check_estimator are disabled if X_types does not include "2darray". Some tests such as check_get_params_invariance or check_set_params do not require a fit step, and should be run no matter what.

I am currently building a library that uses its own data types, but tries to be Scikit-learn compatible. Thus, I try to make estimators with the same API as Scikit-learn, but different input and output types. It would be useful to check API conformance using check_estimator with our estimator objects.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:19 (19 by maintainers)

github_iconTop GitHub Comments

1reaction
adrinjalalicommented, Apr 1, 2020

If you could go through all the tests we have and see what we create and see how that compares to what you could generate, would be nice.

1reaction
rtavenarcommented, Apr 1, 2020

Well, that would definitely be a pretty convenient way for our use-case. Should I list the different factories that would be required?

Read more comments on GitHub >

github_iconTop Results From Across the Web

scikit-learn: Expected 2D array, got 1D array instead
1 Answer 1 ... Hard to tell with such little information, but it might have to do with the parameters clf.fit() is receiving....
Read more >
cuBLAS - NVIDIA Documentation Center
cuBLAS. The API Reference guide for cuBLAS, the CUDA Basic Linear Algebra Subroutine library. 1. Introduction . The cuBLAS library is an...
Read more >
Check for possible path in 2D matrix - GeeksforGeeks
Given a 2D array(m x n). The task is to check if there is any path from top left to bottom right. In...
Read more >
TOPCAT - Tool for OPerations on Catalogues And Tables
Generates a simulated all-sky star catalogue with a specified number of rows. This is intended to provide crude test catalogues when no ......
Read more >
NumPy Array Reshaping - W3Schools
Convert the following 1-D array with 12 elements into a 2-D array. The outermost dimension will have 4 arrays, each with 3 elements:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found