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

Wavelets #4

Merged
merged 3 commits into from
Apr 20, 2022
Merged

Wavelets #4

merged 3 commits into from
Apr 20, 2022

Conversation

Laura1110
Copy link
Contributor

some little changes that GSI, Attribute Ranking should work for wavelets and all other basis...

@@ -17,7 +17,7 @@ function get_GSI(
elseif a.basis == "wav4"
variances = norms(a.fc[λ],4,dict=false) .^ 2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
variances = norms(a.fc[λ],4,dict=false) .^ 2
variances = norms(a.fc[λ], 4, dict = false) .^ 2

@@ -33,7 +33,7 @@ function get_GSI(
elseif a.basis == "wav4"
variances = norms(a.fc[λ],4,dict=true)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
variances = norms(a.fc[λ],4,dict=true)
variances = norms(a.fc[λ], 4, dict = true)

@@ -33,7 +33,7 @@ function get_GSI(
elseif a.basis == "wav4"
variances = norms(a.fc[λ],4,dict=true)
else
variances = norms(a.fc[λ],dict=true)
variances = norms(a.fc[λ],dict = true)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
variances = norms(a.fc[λ],dict = true)
variances = norms(a.fc[λ], dict = true)

@@ -33,7 +33,7 @@ function get_GSI(
elseif a.basis == "wav4"
variances = norms(a.fc[λ],4,dict=true)
else
variances = norms(a.fc[λ],dict=true)
variances = norms(a.fc[λ],dict = true)
end

return Dict((u,variances[u]^2/variance_f) for u in keys(variances))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
return Dict((u,variances[u]^2/variance_f) for u in keys(variances))
return Dict((u, variances[u]^2 / variance_f) for u in keys(variances))

@codecov-commenter
Copy link

Codecov Report

Merging #4 (3405307) into main (ccc8011) will not change coverage.
The diff coverage is 0.00%.

@@          Coverage Diff          @@
##            main      #4   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files          5       5           
  Lines        300     300           
=====================================
  Misses       300     300           
Impacted Files Coverage Δ
src/analysis.jl 0.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 ccc8011...3405307. Read the comment docs.

@Laura1110 Laura1110 merged commit f02b54e into main Apr 20, 2022
@mischmi96 mischmi96 deleted the wavelets branch April 20, 2022 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants