Skip to content

Commit

Permalink
Improve printing of optim rounds (#147)
Browse files Browse the repository at this point in the history
* Improve printing of optim rounds

* Update Project.toml
  • Loading branch information
Raphael Saavedra authored Dec 2, 2022
1 parent 626456a commit 30a9e23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ScoreDrivenModels"
uuid = "4a87933e-d659-11e9-0e65-7f40dedd4a3a"
authors = ["guilhermebodin <[email protected]>, raphaelsaavedra <[email protected]>"]
version = "0.2.0"
version = "0.2.1"

[deps]
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
Expand Down
2 changes: 1 addition & 1 deletion src/MLE.jl
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function fit!(gas::ScoreDrivenModel{D, T}, y::Vector{T};
opt_method.initial_points[i])
opt_result = optimize(func, opt_method, verbose, i, time_limit_sec)
update_aux_estimation!(aux_est, func, opt_result)
verbose >= 1 && println("Round $i of $n_initial_points - Log-likelihood: $(-opt_result.minimum * length(y))")
verbose >= 1 && println("Round $i of $n_initial_points: log-likelihood = $(-opt_result.minimum * length(y))")
catch err
println(err)
if throw_errors
Expand Down

2 comments on commit 30a9e23

@raphaelsaavedra
Copy link
Member

Choose a reason for hiding this comment

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

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request created: JuliaRegistries/General/73343

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.2.1 -m "<description of version>" 30a9e23a76733261015004d03723c3da9dd8bfc9
git push origin v0.2.1

Please sign in to comment.