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

WIP Update bayesian solvers #105

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tutorials/first_example_basis.jl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ train = [gen_dat() for _=1:20];
# We specify a solver and then as `ACEfit.jl` to do all the work for us. More fine-grained control is possible; see the `ACEfit.jl` documentation.
# For sake of illustration we use a Bayesian Ridge Regression solver. This will automatically determine the regularisation for us.

solver = ACEfit.RRQR(rtol = 1e-4)
# TODO: change this solver name once we agree on the new API
solver = ACEfit.BayesianLinearRegressionSVD()
solution = ACEfit.linear_fit(train, basis, solver)

# Finally, we generate the potential from the parameters.
Expand Down