Skip to content

Commit

Permalink
Minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
gkronber committed Mar 7, 2024
1 parent ea64230 commit c74bf28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions HEAL.NonlinearRegression.Console.Tests/NonlinearRegression.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public void Setup() {
Thread.CurrentThread.CurrentUICulture = CultureInfo.InvariantCulture;
}

// Test case for the README.md
[Test]
public void FitPuromycin() {
#region data
Expand Down Expand Up @@ -49,6 +50,7 @@ public void FitPuromycin() {
System.Linq.Expressions.Expression.Parameter(typeof(double[]), "p"));
var likelihood = new SimpleGaussianLikelihood(x, y, parser.Parse());
nlr.Fit(parser.ParameterValues, likelihood);
nlr.WriteStatistics();

System.Console.WriteLine($"Deviance: {nlr.Deviance:e4}, BIC: {nlr.BIC:f2}");
Assert.AreEqual(96.91354730673082, nlr.BIC, 1e-5);
Expand Down

0 comments on commit c74bf28

Please sign in to comment.