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

Broad checklist of docs bits to work on

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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tài liệu
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
julia
Lĩnh vực
documentation

Hướng nghiên cứu

Xem lại tài liệu và các tutorial của Turing.jl, sau đó sử dụng các mục về unchecked condition/decondition, interface của LogDensityProblems.jl và DynamicPPL.TestUtils làm phạm vi ban đầu. Công việc được xem là hoàn tất khi các tính năng hướng tới người dùng và nhà phát triển được liệt kê đó đã được tài liệu hóa và các tutorial được cải thiện, nhưng issue không nêu tên các tệp hoặc test cụ thể.

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

Mô tả

The documentation, in particular the one in Turing.jl itself, is in dire need of update given the amount of features and improvements we've made over the past year. In particular, the tutorials have lots and lots room for improvement.

A few things that come to mind immediately are the foollowing.

User-facing side:

  • Turing.predict for predicting based on a given chain.
  • DynamicPPL.generated_quantities, similar to Stan's generated-block, which allows you to, effectively, capture the return-values of the model (i.e. the stuff in return ...) conditioned on a chain.
  • condition and decondition. There are now two ways to indicate whether a variable is to be considered an observation: passing the variable as an argument (the "old" way), or using condition / | (the "new" way). The latter has is, arguably, more intuitive, in addition to being much easier to work with programmatically.
  • @submodel. A macro that allows you to use models within models. Makes it very easy to write modular models.
  • logprior, loglikelihood, and logjoint. Easy-to-use methods for evaluating the model in different ways.
  • fix and condition

Developer-side:

We will add more to the list as we go on, but for now this is a good starting point.

Ngôn ngữ chính
Markdown
Star
238
Fork
107
Merge trung bình
1 ngày 4 giờ
Pull request đã merge (30 ngày)
3

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 TuringLang/docs

Tất cả issue của TuringLang/docs

Issue tương tự

Thêm issue về Documentation

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.