Skip to content

Commit e455c43

Browse files
committed
fix: default alpha value is 0.05
1 parent c00cb8c commit e455c43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vutils/src/common/regression-polynomial.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export function regressionPolynomial(
7575
if (degree < 0) {
7676
degree = 0;
7777
}
78-
const alpha = options.alpha ?? 0.5;
78+
const alpha = options.alpha ?? 0.05;
7979
const m = degree + 1;
8080
const sums: number[] = new Array(2 * degree + 1).fill(0);
8181

0 commit comments

Comments
 (0)