[Python] MCMC Sampling library

2023. 8. 24. 10:54·프로그래밍 Programming/파이썬 Python

MCMC sampling을 위한 라이브러리

 




marathon : c++ 라이브러리

c++ 라이브러리는 고려하지 않았으므로 패스

 




Pyro : Pyro is a universal probabilistic programming language (PPL) written in Python and supported by PyTorch on the backend. Pyro enables flexible and expressive deep probabilistic modeling, unifying the best of modern deep learning and Bayesian modeling. It was designed with these key principles

Universal: Pyro can represent any computable probability distribution.
Scalable: Pyro scales to large data sets with little overhead.
Minimal: Pyro is implemented with a small core of powerful, composable abstractions.
Flexible: Pyro aims for automation when you want it, control when you need it.

 

- 살펴보면 Variational inference 기반임



PyMC : PyMC (formerly PyMC3) is a Python package for Bayesian statistical modeling focusing on advanced Markov chain Monte Carlo (MCMC) and variational inference (VI) algorithms. Its flexibility and extensibility make it applicable to a large suite of problems. 

 

https://github.com/pymc-devs/pymc

 

GitHub - pymc-devs/pymc: Bayesian Modeling in Python

Bayesian Modeling in Python. Contribute to pymc-devs/pymc development by creating an account on GitHub.

github.com

 

 


Sampyl : Sampyl is a Python library implementing Markov Chain Monte Carlo (MCMC) samplers in Python. It’s designed for use in Bayesian parameter estimation and provides a collection of distribution log-likelihoods for use in constructing models. 

 

코드 자체가 이해하기 쉬운 편

 

https://github.com/mcleonard/sampyl

 

GitHub - mcleonard/sampyl: MCMC samplers for Bayesian estimation in Python, including Metropolis-Hastings, NUTS, and Slice

MCMC samplers for Bayesian estimation in Python, including Metropolis-Hastings, NUTS, and Slice - GitHub - mcleonard/sampyl: MCMC samplers for Bayesian estimation in Python, including Metropolis-Ha...

github.com

 

저작자표시 비영리 변경금지 (새창열림)

'프로그래밍 Programming > 파이썬 Python' 카테고리의 다른 글

[matplotlib] matplotlib에서 latex 사용 오류  (0) 2024.01.26
[matplotlib] 그래프 색상/마커 다르게 그리기  (0) 2023.09.18
[Jupyter notebook] 내가 설정한 주피터 노트북 테마  (0) 2023.02.23
[JAX] JAX 설치 및 GPU 사용하기  (2) 2023.02.09
[Matplotlib] legend 그림 바깥에 배치/원하는 위치에 배치  (0) 2023.01.14
'프로그래밍 Programming/파이썬 Python' 카테고리의 다른 글
  • [matplotlib] matplotlib에서 latex 사용 오류
  • [matplotlib] 그래프 색상/마커 다르게 그리기
  • [Jupyter notebook] 내가 설정한 주피터 노트북 테마
  • [JAX] JAX 설치 및 GPU 사용하기
보통의공대생
보통의공대생
수학,프로그래밍,기계항공우주 등 공부하는 기록들을 남깁니다.
  • 보통의공대생
    뛰는 놈 위에 나는 공대생
    보통의공대생
  • 전체
    오늘
    어제
    • 분류 전체보기 (468)
      • 공지 (1)
      • 영어 공부 English Study (40)
        • 텝스 TEPS (7)
        • 글 Article (21)
        • 영상 Video (10)
      • 연구 Research (99)
        • 최적화 Optimization (3)
        • 데이터과학 Data Science (7)
        • 인공지능 Artificial Intelligent (40)
        • 제어 Control (45)
      • 프로그래밍 Programming (103)
        • 매트랩 MATLAB (25)
        • 파이썬 Python (33)
        • 줄리아 Julia (2)
        • C++ (3)
        • 리눅스 우분투 Ubuntu (6)
      • 항공우주 Aeronautical engineeri.. (21)
        • 항법 Navigation (0)
        • 유도 Guidance (0)
      • 기계공학 Mechanical engineering (13)
        • 열역학 Thermodynamics (0)
        • 고체역학 Statics & Solid mechan.. (10)
        • 동역학 Dynamics (1)
        • 유체역학 Fluid Dynamics (0)
      • 수학 Mathematics (34)
        • 선형대수학 Linear Algebra (18)
        • 미분방정식 Differential Equation (3)
        • 확률및통계 Probability & Sta.. (2)
        • 미적분학 Calculus (1)
        • 복소해석학 Complex Analysis (5)
        • 실해석학 Real Analysis (0)
      • 수치해석 Numerical Analysis (27)
      • 확률 및 랜덤프로세스 Random process (2)
      • 추론 & 추정 이론 Estimation (3)
      • 기타 (26)
        • 설계 프로젝트 System Design (8)
        • 논문작성 Writing (55)
        • 세미나 Seminar (2)
        • 생산성 Productivity (3)
      • 실험 Experiment (1)
      • 유학 생활 Daily (8)
  • 블로그 메뉴

    • 홈
    • 태그
    • 방명록
  • 링크

  • 공지사항

  • 인기 글

  • 태그

    ChatGPT
    생산성
    MATLAB
    딥러닝
    IEEE
    에러기록
    obsidian
    수치해석
    Python
    matplotlib
    JAX
    Zotero
    텝스
    인공지능
    논문작성
    텝스공부
    Dear abby
    Statics
    Numerical Analysis
    고체역학
    WOX
    논문작성법
    pytorch
    Linear algebra
    서버
    LaTeX
    우분투
    Julia
    teps
    옵시디언
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.3
보통의공대생
[Python] MCMC Sampling library
상단으로

티스토리툴바