Skip to content

Commit

Permalink
Allow 2% deviation in maxprobabilities and increase default sample size
Browse files Browse the repository at this point in the history
  • Loading branch information
XPerianer committed Nov 28, 2023
1 parent 55f21b9 commit b24668d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/src/models/gaussian.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class GaussianModel extends SamplingModel {
required mean,
required l,
required random,
sampleSize = 5000,
sampleSize = 10000,
alpha = 1.0,
beta = 1.0})
: _l = l,
Expand Down
3 changes: 2 additions & 1 deletion test/models/gaussian_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import 'package:test/test.dart';

import '../helpers.dart';

final testEpsilon = 0.01;
final testEpsilon = 0.02;

void main() {
late GaussianModel gaussianModel;
Expand Down Expand Up @@ -41,6 +41,7 @@ void main() {
3,
4,
5,
4,
3,
2,
1,
Expand Down

0 comments on commit b24668d

Please sign in to comment.