-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stackoverflow with views #444
Comments
Looks like we need a fix similar to #443. |
@bkamins @nalimilan Been revisiting this issue and wondered if there was anyone with time to push this along? |
I think - assuming he has time - @andreasnoack had spent most time thinking about how to fix these things. |
@jbrea would you have a chance to check this? This concerns JuliaAI/MLJGLMInterface.jl#10 . |
Not sure I'm the right person to look at this. But I checked the following: (@v1.6) pkg> activate --temp
(jl_Aj9lB4) pkg> add Distributions, MLJ, GLM#6059527
julia> using Distributions, GLM, MLJ
julia> X, y = @load_boston;
julia> Xmatrix = MLJ.matrix(X);
julia> GLM.glm(Xmatrix, y, Distributions.Normal(), GLM.IdentityLink()) which runs without errors on julia 1.6.3. |
@jbrea Thanks for checking! I'm so sorry, I pasted the wrong handle 🙄 . @andreasnoack It looks like we can close this now, thanks. |
This was reported by an MLJ user here and after some digging it seems that an issue is to do with how a vector
y
is passed to GLM'sglm
method; GLM will crash ify
is aview
. Here's a reproducing example by @olivierlabayle; note that the use of MLJ is just for the sake of getting the same data, everything else is GLMand now this is fine (note the convert)
but this isn't:
The culprit is GlmResp that doesn't seem to dispatch properly and loops to infinity.
cc @olivierlabayle, @ablaom, @goerch
The text was updated successfully, but these errors were encountered: