Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[MRG+1] Check estimator pairwise #9701
Fixes issue #9580.
What does this implement/fix? Explain your changes.
The I created a function that checks for the attribute in the estimator being tested and creates a precomputed Gram matrix if the estimator accepts pairwise input. In all of the applicable estimator checks, I wrap the data
Any other comments?
Some of the checks either a) can't accept precomputed kernels or b) are set to fail in cases that don't apply to precomputed kernels. In those cases I skipped the test.
I've not checked how complete this is, but I like the direction it's heading in!
@@ Coverage Diff @@ ## master #9701 +/- ## ========================================== - Coverage 96.19% 96.19% -0.01% ========================================== Files 336 336 Lines 62739 62781 +42 ========================================== + Hits 60353 60392 +39 - Misses 2386 2389 +3