Skip to content

Conversation

@Affie
Copy link
Member

@Affie Affie commented Aug 11, 2021

No description provided.

@codecov
Copy link

codecov bot commented Aug 11, 2021

Codecov Report

Merging #1346 (3955af8) into master (9415fb6) will increase coverage by 47.83%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master    #1346       +/-   ##
===========================================
+ Coverage   26.64%   74.48%   +47.83%     
===========================================
  Files          68       68               
  Lines        4961     5012       +51     
===========================================
+ Hits         1322     3733     +2411     
+ Misses       3639     1279     -2360     
Impacted Files Coverage Δ
src/NumericalCalculations.jl 93.58% <100.00%> (+42.27%) ⬆️
src/entities/FactorOperationalMemory.jl 100.00% <0.00%> (ø)
src/services/FactorGradients.jl 97.72% <0.00%> (+2.27%) ⬆️
src/entities/OptionalDensities.jl 9.09% <0.00%> (+9.09%) ⬆️
src/services/CalcFactor.jl 91.83% <0.00%> (+12.24%) ⬆️
src/AdditionalUtils.jl 12.65% <0.00%> (+12.65%) ⬆️
src/CompareUtils.jl 18.75% <0.00%> (+18.75%) ⬆️
src/services/GraphInit.jl 90.51% <0.00%> (+18.96%) ⬆️
src/FactorGraph.jl 71.54% <0.00%> (+19.02%) ⬆️
src/AnalysisTools.jl 21.31% <0.00%> (+21.31%) ⬆️
... and 50 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 9415fb6...3955af8. Read the comment docs.

Comment on lines +107 to +116
# # separate statements to try improve type-stability
# r = if islen1
# Optim.optimize(cost, X0c, Optim.BFGS())
# else
# Optim.optimize(cost, X0c, Optim.NelderMead())
# end
alg = islen1 ? Optim.BFGS() : Optim.NelderMead()
X0 = hat(M, ϵ, X0c)
p0 = exp(M, ϵ, X0)
r = Optim.optimize(Xc->cost(p0, X0, Xc), X0c, alg)
Copy link
Member Author

Choose a reason for hiding this comment

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

I had a merge conflict that messed this up. I will incorporate the commented code. Although, I would just like to understand why it's a problem to improve in the future.

@Affie Affie self-assigned this Aug 11, 2021
@Affie Affie merged commit 8fa58f3 into master Aug 11, 2021
@dehann dehann deleted the 21Q3/enh/matating_cost branch December 16, 2022 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants