All tests in `check_estimator` are disabled if `X_types` does not include `"2darray"`
See original GitHub issueDescription
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:
- Created 4 years ago
- Comments:19 (19 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

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.
Well, that would definitely be a pretty convenient way for our use-case. Should I list the different factories that would be required?