All Projects → stepelu → Ptstat

stepelu / Ptstat

Licence: mit
Probabilistic Programming and Statistical Inference in PyTorch

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Ptstat

Data-Science-and-Machine-Learning-Resources
List of Data Science and Machine Learning Resource that I frequently use
Stars: ✭ 19 (-82.41%)
Mutual labels:  statistics, probability
Shendusuipian
To know stats by heart
Stars: ✭ 275 (+154.63%)
Mutual labels:  statistics, probability
data-science-notes
Open-source project hosted at https://makeuseofdata.com to crowdsource a robust collection of notes related to data science (math, visualization, modeling, etc)
Stars: ✭ 52 (-51.85%)
Mutual labels:  statistics, probability
Stat Cookbook
📙 The probability and statistics cookbook
Stars: ✭ 1,990 (+1742.59%)
Mutual labels:  statistics, probability
Teaching
Teaching Materials for Dr. Waleed A. Yousef
Stars: ✭ 435 (+302.78%)
Mutual labels:  statistics, probability
Quant Notes
Quantitative Interview Preparation Guide, updated version here ==>
Stars: ✭ 180 (+66.67%)
Mutual labels:  statistics, probability
Probability Theory
A quick introduction to all most important concepts of Probability Theory, only freshman level of mathematics needed as prerequisite.
Stars: ✭ 25 (-76.85%)
Mutual labels:  statistics, probability
PyImpetus
PyImpetus is a Markov Blanket based feature subset selection algorithm that considers features both separately and together as a group in order to provide not just the best set of features but also the best combination of features
Stars: ✭ 83 (-23.15%)
Mutual labels:  statistics, probability
Stats Maths With Python
General statistics, mathematical programming, and numerical/scientific computing scripts and notebooks in Python
Stars: ✭ 381 (+252.78%)
Mutual labels:  statistics, probability
Basic Mathematics For Machine Learning
The motive behind Creating this repo is to feel the fear of mathematics and do what ever you want to do in Machine Learning , Deep Learning and other fields of AI
Stars: ✭ 300 (+177.78%)
Mutual labels:  statistics, probability
Math Php
Powerful modern math library for PHP: Features descriptive statistics and regressions; Continuous and discrete probability distributions; Linear algebra with matrices and vectors, Numerical analysis; special mathematical functions; Algebra
Stars: ✭ 2,009 (+1760.19%)
Mutual labels:  statistics, probability
Uc Davis Cs Exams Analysis
📈 Regression and Classification with UC Davis student quiz data and exam data
Stars: ✭ 33 (-69.44%)
Mutual labels:  statistics, probability
Flex
Probabilistic deep learning for data streams.
Stars: ✭ 127 (+17.59%)
Mutual labels:  statistics, probability
Stanford Cme 106 Probability And Statistics
VIP cheatsheets for Stanford's CME 106 Probability and Statistics for Engineers
Stars: ✭ 242 (+124.07%)
Mutual labels:  statistics, probability
Stats
A C++ header-only library of statistical distribution functions.
Stars: ✭ 292 (+170.37%)
Mutual labels:  statistics, probability
Python For Probability Statistics And Machine Learning
Jupyter Notebooks for Springer book "Python for Probability, Statistics, and Machine Learning"
Stars: ✭ 481 (+345.37%)
Mutual labels:  statistics, probability
Ethzcheatsheets
Stars: ✭ 92 (-14.81%)
Mutual labels:  statistics, probability
Papers Literature Ml Dl Rl Ai
Highly cited and useful papers related to machine learning, deep learning, AI, game theory, reinforcement learning
Stars: ✭ 1,341 (+1141.67%)
Mutual labels:  statistics
Your spotify
Self hosted Spotify tracking dashboard
Stars: ✭ 102 (-5.56%)
Mutual labels:  statistics
Arcchartview
Arc Chart View (Draw Creative Statistic Arc Charts)
Stars: ✭ 96 (-11.11%)
Mutual labels:  statistics

PtStat

Probabilistic Programming and Statistical Inference in PyTorch.

Introduction

This project is being developed during my time at Cogent Labs.

The documentation is still WIP, a brief API description is reported below. The tests might also be helpful.

The API might change quickly during this initial development period.

API

The first dimension is the batch dimension, over which the samples are assumed to be independent.


# Random variables interface:

class RandomVariable:
    def size(self)        # --> (batch_size, rv_dimension)
        
    def log_pdf(self, x)  # --> [batch_size]

    def sample(self)      # --> [batch_size, rv_dimension]

    def entropy(self)     # --> [batch_size]


# Implemented random variables:

Normal(size=(batch_size, rv_dimension), cuda=cuda)
Normal(mu, sd)

Categorical(size=(batch_size, rv_dimension), cuda=cuda)
Categorical(p)

Bernoulli(size=(batch_size, rv_dimension), cuda=cuda)
Bernoulli(p)

Uniform(size=(batch_size, rv_dimension), cuda=cuda)

# KL-Divergence:

def kld(rv_from, rv_to)  # --> [batch_size]

Changelog

Version 0.2.0

  • removed specialized distributions => more flexible constructors
  • refactoring: distributions into multiple files

Version 0.1.0

  • initial commit

Licensing

The code is released under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].