JuliaGaussianProcesses / KernelFunctions.jl

Julia package for kernel functions for machine learning
https://juliagaussianprocesses.github.io/KernelFunctions.jl/stable/
MIT License
266 stars 32 forks source link

add zero(::ColVecs) / zero(::RowVecs) definitions #444

Closed st-- closed 2 years ago

st-- commented 2 years ago

Moved here from the AD tests in https://github.com/JuliaGaussianProcesses/AbstractGPs.jl/pull/313

codecov[bot] commented 2 years ago

Codecov Report

Merging #444 (08c470b) into master (c92f2e5) will decrease coverage by 49.89%. The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           master     #444       +/-   ##
===========================================
- Coverage   93.13%   43.23%   -49.90%     
===========================================
  Files          52       52               
  Lines        1252     1242       -10     
===========================================
- Hits         1166      537      -629     
- Misses         86      705      +619     
Impacted Files Coverage Δ
src/utils.jl 88.88% <100.00%> (-2.26%) :arrow_down:
src/basekernels/sm.jl 0.00% <0.00%> (-100.00%) :arrow_down:
src/basekernels/gabor.jl 0.00% <0.00%> (-100.00%) :arrow_down:
src/basekernels/cosine.jl 0.00% <0.00%> (-100.00%) :arrow_down:
src/basekernels/constant.jl 0.00% <0.00%> (-100.00%) :arrow_down:
src/basekernels/periodic.jl 0.00% <0.00%> (-100.00%) :arrow_down:
src/basekernels/rational.jl 0.00% <0.00%> (-100.00%) :arrow_down:
src/basekernels/nn.jl 0.00% <0.00%> (-97.62%) :arrow_down:
src/basekernels/wiener.jl 0.00% <0.00%> (-92.86%) :arrow_down:
src/basekernels/piecewisepolynomial.jl 0.00% <0.00%> (-89.48%) :arrow_down:
... and 29 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c92f2e5...08c470b. Read the comment docs.

theogf commented 2 years ago

Look nice but maybe add some unit tests?

devmotion commented 2 years ago

Is this PR so important that you can't even wait for me to recheck whether I'm happy with the changes and officially approve? :smile: :see_no_evil: :eyes: I really don't think this is how it should work.

st-- commented 2 years ago

I really don't think you should be blocking PRs on minor details such as whether a function in a test is in one place or another. That seems really petty. I was waiting on this so I could fix it over in AbstractGPs. It seems like any time you look at something you find yet another detail you can criticise that isn't yet as perfect as you can dream it up. And yes, on the whole your code is amazing, and you can make really good comments. But requesting changes on minor details like this really puts me off contributing at all. You previously said not to expect reviews from you. Please don't review my code then, and leave it to @willtebbutt / @theogf / ...

devmotion commented 2 years ago

This is just ridiculous - all suggestions here were reasonable, responsive, and ended up in the code, in some way or another. I would have approved the PR anyway today, the main point is just that I don't see how merging PRs before reviewers were able to recheck is good behaviour. Well, I'm out here and giving up on you. I've tried to discuss and fix these collaborations long enough and have better things to do if you don't plan to work on it.

st-- commented 2 years ago

I've tried to discuss and fix these collaborations long enough and have better things to do if you don't plan to work on it.

Yes, and the same applies in reverse - I've tried to discuss & improve these collaborations too! I'm just really at a loss how to get across how upset I get and how much I struggle with the way you give feedback on PRs. I'd be happy to discuss what we could both do differently, if it's not just "how do you plan to work on it" but also how do you plan to work on it. In the meantime, maybe better if you don't look at my PRs and I don't look at your PRs, and either can be reviewed by other people involved in the packages (@theogf / @willtebbutt / etc. as appropriate). Can we do that?

devmotion commented 2 years ago

I only try to provide valuable suggestions, in the same way I get and I would like to get suggestions on my PRs. But since clearly this is not desired, leads to endless unproductive discussions, and I don't see how this will change in the near future, I won't review any of your PRs anymore and hope others, possibly with more time and less frustration, provide you with the same suggestions and comments. In general, I will refrain from any further interaction with you, it's too time consuming and unproductive. As a final possibly not well received comment, maybe you should start considering that the problem is on your side (as well) since reviews, discussions, etc. work and worked fine with basically all other people on Github for me.

I unsubscribed from this PR.