statsample-glm icon indicating copy to clipboard operation
statsample-glm copied to clipboard

Generalized Linear Models extension for Statsample

Results 13 statsample-glm issues
Sort by recently updated
recently updated
newest added

Hi all. Doing `gem install statsample-glm` installs https://github.com/AnkurGel/statsample-glm gem and not this one. Since I'm using bundler I'm going around this using `gem 'statsample-glm, git: 'https://github.com/SciRuby/statsample-glm.git` The same problem happens...

`Statsample::GLM.compute` is failing for certain dataframes. ``` ruby > try = Daru::DataFrame.from_csv 'try.csv' > Statsample::GLM.compute try, 'y', :logistic ExceptionForMatrix::ErrNotRegular: Not Regular Matrix from /home/ubuntu/.rvm/gems/ruby-2.2.3/gems/backports-3.6.8/lib/backports/1.9.2/stdlib/matrix.rb:933:in `block in inverse_from' ``` Get dataframe...

bug

`Statsample::GLM.compute` unexpectedly removes the vector, that was used as the response variable, from the input data frame. Here is an example: ``` ruby pry(main)> df.head => # a b c...

bug

Statsample-GLM currently takes up a lot of time to fit models. For datasets having 1000 rows it can take hours to fit the model.

enhancement
question

I want to talk about two things: **(1)**. `#coefficients(:hash)` return vector names mapping the coefficients but the type of vector names is not preserved. They are all converted to symbols....

enhancement

Currently most of the testing is happening only for logistic regression. All methods in other forms of regression should also be tested.