Fix `predict` when the response is a `FunctionTerm`
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start by running the Julia reproduction using MixedModels.dataset(:cbpp), fit, predict, and fitted. Trace the predict path for a response represented by a FunctionTerm; the issue is done when predict(gm, cbpp; type=:response) ≈ fitted(gm) evaluates successfully.
Written by the indexing model from the issue text.
Description
We want this to work again:
using MixedModels
cbpp = MixedModels.dataset(:cbpp)
gm = fit(MixedModel, @formula((incid/hsz) ~ 1 + period + (1|herd)), cbpp, Binomial(), wts=float(cbpp.hsz))
predict(gm, cbpp; type=:response) ≈ fitted(gm)
- Dominant language
- Julia
- Stars
- 455
- Forks
- 51
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 4
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from JuliaStats/MixedModels.jl
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
JuliaStats/MixedModels.jl#905 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
JuliaStats/MixedModels.jl#877 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
JuliaStats/MixedModels.jl#868 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
JuliaStats/MixedModels.jl#830 ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
JuliaStats/MixedModels.jl#820 · 8 comments ·
All issues in JuliaStats/MixedModels.jl
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
JuliaParallel/Hwloc.jl#93 ·
-
Affine transformations of `JohnsonSU` could return a `JohnsonSU`Possibly taken @devmotion claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
JuliaStats/Distributions.jl#2117 ·
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
TomerAberbach/profiler-md#970 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
grame-cncm/faust#1409 ·
Maintainers usually reply within 1 day