glmhmm icon indicating copy to clipboard operation
glmhmm copied to clipboard

code to fit GLMs, HMMs, and GLM-HMMs (aka IO-HMMs)

Results 3 glmhmm issues
Sort by recently updated
recently updated
newest added

4. Initialize some weights and fit the GLM to the data. true_GLM.fit(true_x,w_init,true_y) 1 w_init = true_GLM.init_weights() 2 w, phi = true_GLM.fit(true_x,w_init,true_y) 3 ​ 4 ​ 5 ​ 6 ​ 7...

Hi, irisstone! In the file fit-real-data.ipynb, the experimental data have been arranged in the following order: bias、delta cues、laser、previous choices 1-6 and previous rewarded choice. But when you plot, you set...

fix ValueError: too many values to unpack (expected 3) from "true_ll[i],_,_" to "true_ll[i],_,_,_" from "fit_ll[i],_,_" to "fit_ll[i],_,_,_"