You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 22, 2018. It is now read-only.
For normal distribution, the suffstat obviously has a length of 2, with mu and sigma. But in the distuv/norm.go source code, the length of suffStat in the Fit method is set to 1. That causes a panic.
The text was updated successfully, but these errors were encountered:
dongweigogo
changed the title
A wrong setting of Fit() in Normal distribution
A incorrect setting of suffStat in Fit() of Normal distribution
Apr 20, 2017
dongweigogo
changed the title
A incorrect setting of suffStat in Fit() of Normal distribution
An incorrect setting of suffStat in Fit() of Normal distribution
Apr 20, 2017
@dongweigogo Please send a minimal reproducer for testing.
kortschak
changed the title
An incorrect setting of suffStat in Fit() of Normal distribution
stat/distuv: incorrect length of suffStat parameter passed Normal.Fit
Apr 21, 2017
For normal distribution, the suffstat obviously has a length of 2, with mu and sigma. But in the distuv/norm.go source code, the length of suffStat in the Fit method is set to 1. That causes a panic.
I think that should be set to 2.
The text was updated successfully, but these errors were encountered: