Skip to content

Commit 6cf3dee

Browse files
committed
Merge branch 'main' into phg/model_abstraction
2 parents e86f9e0 + 7ec39ab commit 6cf3dee

File tree

3 files changed

+17
-6
lines changed

3 files changed

+17
-6
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: CI
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88

99
jobs:

.github/workflows/IntegrationTest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: IntegrationTest
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88

99
jobs:

README.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,20 @@
55
[![Coverage Status](https://coveralls.io/repos/github/TuringLang/AbstractPPL.jl/badge.svg?branch=master)](https://coveralls.io/github/TuringLang/AbstractPPL.jl?branch=master)
66
[![Codecov](https://codecov.io/gh/TuringLang/AbstractPPL.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/TuringLang/AbstractPPL.jl)
77

8-
A new light-weight package to factor out interfaces and associated APIs for probabilistic
9-
programming languages (especially their modeling languages). The overall goals are creating an
10-
abstract type and minimal set of functions that will be supported all model and trace types. Some
11-
other commonly used code, such as variable names, can also go here.
8+
A new light-weight package to factor out interfaces and associated APIs for modelling languages for
9+
probabilistic programming. High level goals are:
10+
11+
- Definition of an interface of few abstract types and a small set of functions that will be
12+
supported all model and trace types.
13+
- Provision of some commonly used functionality and data structures, e.g., for managing variable names and
14+
traces.
15+
16+
This should facilitate reuse of functions in modelling languages, to allow end users to handle
17+
models in a consistent way, and to simplify interaction between different languages and sampler
18+
implementations, from very rich, dynamic languages like Turing.jl to highly constrained or
19+
simplified models such as GPs, GLMs, or plain log-density problems.
20+
21+
A more short term goal is to start a process of cleanly refactoring and justifying parts of
22+
AbstractPPL.jl’s design, and hopefully to get on closer terms with Soss.jl.
1223

1324
See [interface draft](interface.md).

0 commit comments

Comments
 (0)