Passing return_std to predict
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- julia
- Lĩnh vực
- machine-learning
Hướng nghiên cứu
Bắt đầu với src/models/linear-regressors.jl và src/macros.jl tại các vị trí được liên kết để xem xét trường model được đề xuất và cách xử lý tại thời điểm dự đoán. Kiểm tra issue liên quan của ScikitLearn.jl trước khi tiếp tục, vì việc truyền return_std=true cũng có thể yêu cầu được hỗ trợ ở đó. Hoàn thành có nghĩa là một model như BayesianRidgeRegressor có thể yêu cầu return_std thông qua MLJ và nhận được prediction cùng độ lệch chuẩn.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Discussion at discourse and ScikitLearn.jl issue suggested raising an issue here, with background and suggestions copied:
From me @evolbio:
Various Scikitlearn models accept return_std=true when calling predict, for example BayesianRidgeRegressor, see this example. For example, with a BayesianRidgeRegressor or similar machine, I would like to call
y_predict, y_std = predict(machine, X, return_std=true)
I am using MLJ to make calls through ScikitLearn.jl. I have looked through ScikitLearn.jl and MLJScikitLearnInterface.jl and do not see anyway to make this work, but maybe I am missing something simple like the right way to pass additional arguments? Thanks.
and reply from @tlienart:
You’re not missing something, there’s currently no way to pass that argument. It might be good to open an issue at MLJScikitLearnInterface to discuss this (and you could paste what follows).
I doubt that MLJ’s predict signature will be adapted to match this one but I’ll let @ablaom or @samuel_okon discuss that).
What could work is to pass the return_std as a new field of BayesianRidgeRegressor here MLJScikitLearnInterface.jl/linear-regressors.jl at 36882f14321e7e9889aac31447eeed0102eb052f · JuliaAI/MLJScikitLearnInterface.jl · GitHub
then pick that up at predict time here MLJScikitLearnInterface.jl/macros.jl at 36882f14321e7e9889aac31447eeed0102eb052f · JuliaAI/MLJScikitLearnInterface.jl · GitHub
this would also require ScikitLearn.jl to allow passing a return_std=true to predict, that might also require opening an issue there cc @cstjean
- Ngôn ngữ chính
- Julia
- Star
- 14
- Fork
- 8
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của JuliaAI/MLJScikitLearnInterface.jl
-
enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
JuliaAI/MLJScikitLearnInterface.jl#74 · 1 bình luận ·
-
enhancement next breaking release
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
JuliaAI/MLJScikitLearnInterface.jl#47 · 1 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
Tất cả issue của JuliaAI/MLJScikitLearnInterface.jl
Issue tương tự
-
`SplitRungeKutta` time steppers never call `update_lagrangian_particle_state!`, so particle `tracked_fields` are never updatedCó thể đã có người làm @ali-ramadhan đã nhận hôm nay. Đang mởbug 🐞
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
CliMA/Oceananigans.jl#6381 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ci system:windows test
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Single-column TKE example: boundary-layer depth description doesn't match Han & Bretherton (2019)Đang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 82/100
NumericalEarth/Breeze.jl#1143 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
format-check (Runic) is red on master: formatter drift on ~200 filesCó thể đã có người làm @ChrisRackauckas-Claude đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
SciML/ModelingToolkit.jl#5337 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
bug parsers
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
lanl-ansi/GasModels.jl#366 ·