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
mention that Lrnr_glm$train() calls glm.fit(), rather than glm() or
mention that the family = ... argument accepted by glm.fit() and thus sl3 is required to be "the result of a call to a family function" (i.e. guassian()). When I tried to use family="gaussian" and family=guassian in a lrnr_glm$train() call, I ran into an error that took some time to hunt down.
> lrnr_glm = make_learner(learner_class = Lrnr_glm, family = "gaussian")
> lrnr_glm$train(train_task)
Failed on Lrnr_glm_TRUE_gaussian
Error: $ operator is invalid for atomic vectors
and
> lrnr_glm = make_learner(learner_class = Lrnr_glm, family = gaussian)
> lrnr_glm$train(train_task)
Failed on Lrnr_glm_TRUE
Error in args$family$family : object of type 'closure' is not subsettable
The text was updated successfully, but these errors were encountered:
kmishra9
changed the title
Lrnr_glm family
Lrnr_glm family argument
Aug 7, 2019
Hey there,
A quick suggestion would be to either
Lrnr_glm$train()
callsglm.fit()
, rather thanglm()
orfamily = ...
argument accepted byglm.fit()
and thussl3
is required to be "the result of a call to a family function" (i.e.guassian()
). When I tried to usefamily="gaussian"
andfamily=guassian
in alrnr_glm$train()
call, I ran into an error that took some time to hunt down.and
The text was updated successfully, but these errors were encountered: