Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend CovarianceEstimation.cov #122

Closed
wants to merge 2 commits into from
Closed

Extend CovarianceEstimation.cov #122

wants to merge 2 commits into from

Conversation

glennmoy
Copy link
Member

Closes #120

@oxinabox
Copy link
Member

This should be done via REQUIRES.jl, same as we do Tracker.

@codecov
Copy link

codecov bot commented Jul 28, 2020

Codecov Report

Merging #122 into master will decrease coverage by 5.33%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #122      +/-   ##
==========================================
- Coverage   88.88%   83.55%   -5.34%     
==========================================
  Files           9        9              
  Lines         315      298      -17     
==========================================
- Hits          280      249      -31     
- Misses         35       49      +14     
Impacted Files Coverage Δ
src/NamedDims.jl 100.00% <ø> (ø)
src/functions_math.jl 95.34% <100.00%> (ø)
src/broadcasting.jl 35.48% <0.00%> (-22.10%) ⬇️
src/functions.jl 88.88% <0.00%> (-9.39%) ⬇️
src/name_operations.jl 86.66% <0.00%> (-6.67%) ⬇️
src/wrapper_array.jl 86.84% <0.00%> (-6.19%) ⬇️
src/name_core.jl 90.81% <0.00%> (-0.45%) ⬇️
src/functions_dims.jl 100.00% <0.00%> (ø)

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 32d8f69...d87379e. Read the comment docs.

@glennmoy
Copy link
Member Author

This should be done via REQUIRES.jl, same as we do Tracker.

ah, interesting - thanks!

@glennmoy
Copy link
Member Author

I've been getting the following warning but can't seem to figure out why. I'm using CovarianceEstimation the same as Tracker, which doesn't throw a warning.

┌ Warning: Package NamedDims does not have CovarianceEstimation in its dependencies:- If you have NamedDims checked out for development and have
│   added CovarianceEstimation as a dependency but haven't updated your primary
│   environment's manifest file, try `Pkg.resolve()`.
│ - Otherwise you may need to report an issue with NamedDims
└ Loading CovarianceEstimation into NamedDims from project dependency, future warnings for NamedDims are suppressed.
Test Summary: | Pass  Broken  Total
NamedDims.jl  |  896       3    899
    Testing NamedDims tests passed 

@glennmoy glennmoy self-assigned this Jul 30, 2020
@glennmoy glennmoy added the enhancement New feature or request label Jul 30, 2020
@mzgubic
Copy link
Collaborator

mzgubic commented Sep 13, 2020

I found this:
JuliaPackaging/Requires.jl#52

So you can either add a . to using CovarianceEstimation to make it using .CovarianceEstimation

or delete the line and do

for E in (:(CovarianceEstimation.LinearShrinkage),
          :(CovarianceEstimation.SimpleCovariance),
          :(CovarianceEstimation.AnalyticalNonlinearShrinkage))

@rofinn
Copy link
Member

rofinn commented Oct 29, 2020

FWIW, I'm not sure I like using Requires.jl for this. If the cov api changes at any point then we can't handle that disconnect. That seems particularly likely given that the package is only on 0.2.5.

@oxinabox
Copy link
Member

OK, I am sold, lets extend it directly for now

@rofinn
Copy link
Member

rofinn commented Oct 29, 2020

I'd be willing to take the minor performance hit if Requires.jl#83 was addressed.

@oxinabox
Copy link
Member

For now let's just add a direct dependency, and change it later.
This is blocking us getting performance enhancements of more recent CovarianceEstimstion releases

@mzgubic
Copy link
Collaborator

mzgubic commented Aug 24, 2021

rebased in #174

@mzgubic mzgubic closed this Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extend CovarianceEstimation.cov
4 participants