Use `Eigen::BlockSparseMatrix` in Embedded Laplace approximation internals

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

Maintainer thường phản hồi trong vòng 1 ngày

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
55/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp
Lĩnh vực
backend

Hướng nghiên cứu

Start in stan/math/mix/functor/laplace_marginal_density_estimator.hpp at the W_r definition around line 604. Read the referenced Eigen merge request and inspect how the embedded Laplace marginal density estimator functions use W_r. Done means those internals use Eigen::BlockSparseMatrix while preserving the existing estimator behavior.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

code cleanup performance

Eigen 5+ has BlockSparseMatrix which we can use for the block diagonal matrix W_r in the internals for the Laplace marginal density estimator functions.

https://gitlab.com/libeigen/eigen/-/merge_requests/2644

Ngôn ngữ chính
C++
Star
845
Fork
225
Merge trung bình
3 ngày 9 giờ
Pull request đã merge (30 ngày)
12

Chuẩn bị môi trường

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/math

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

Issue tương tự

Thêm issue về C++

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.