Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

accelerate the optimization algorithm in stacking

Đang mở
#119 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

@yao-yl đang làm issue này rồi.

Từ ngày 30/8/2019.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

stacking_weights() optimize the weights, which is a (K-1) simplex. Currently, it renders the constrained optimization and optimizes the first (K-1) weights in a constraint space. When the number of models is large, it is slow (e.g., more than 10 minutes for 10000 models * 100 data)

I did some experiment and found it would be much quicker if it transformed the simplex in the unconstrained space first (several seconds for the same task above). The easiest way is to call optimizing() in rstan and it does the transformation automatically. It also makes it easier if we need extra prior on weights.

@jgabry What is a good way to execute a pre-compiled stan object, without making the whole package dependent on rstan?

Ngôn ngữ chính
R
Star
157
Fork
38
Merge trung bình
4 ngày 16 giờ
Pull request đã merge (30 ngày)
2

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của stan-dev/loo

Tất cả issue của stan-dev/loo

Issue tương tự

Thêm issue về R

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.