Commit 81ec2a4
authored
Included a description of the α parameter in docstring of StatsBase.fit. (#50)
Additionally, added a check to enforce that α is greater than 0 and less than or equal to 1.
α must be strictly greater than 0 because the computeλ function in Lasso.jl involves division by α.1 parent af755b7 commit 81ec2a4
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
405 | 408 | | |
406 | 409 | | |
407 | 410 | | |
| |||
472 | 475 | | |
473 | 476 | | |
474 | 477 | | |
| 478 | + | |
475 | 479 | | |
476 | 480 | | |
477 | 481 | | |
| |||
618 | 622 | | |
619 | 623 | | |
620 | 624 | | |
621 | | - | |
| 625 | + | |
622 | 626 | | |
623 | 627 | | |
624 | 628 | | |
| |||
0 commit comments