Skip to content

Commit

Permalink
update tests for linear solvers.
Browse files Browse the repository at this point in the history
  • Loading branch information
wcwitt committed Apr 25, 2023
1 parent 0da2cb8 commit df451ce
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions test/test_linearsolvers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -72,22 +72,8 @@ C = results["C"]
@show norm(A * C - y)
@show norm(C)

@info(" ... Bayesian Linear")
solver = ACEfit.BL()
results = ACEfit.solve(solver, A, y)
C = results["C"]
@show norm(A * C - y)
@show norm(C)

@info(" ... Bayesian ARD")
solver = ACEfit.BARD()
results = ACEfit.solve(solver, A, y)
C = results["C"]
@show norm(A * C - y)
@show norm(C)

@info(" ... Bayesian Linear Regression SVD")
solver = ACEfit.BayesianLinearRegressionSVD()
@info(" ... BLR")
solver = ACEfit.BLR()
results = ACEfit.solve(solver, A, y)
C = results["C"]
@show norm(A * C - y)
Expand Down

0 comments on commit df451ce

Please sign in to comment.