Skip to content
This repository was archived by the owner on Jun 14, 2024. It is now read-only.

Commit cfe90d2

Browse files
authored
Merge pull request #56 from amzn/develop
Release version 0.2.0
2 parents 9bf9cb8 + 81c1960 commit cfe90d2

File tree

88 files changed

+6346
-5370
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+6346
-5370
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ install:
2525
- pip install --upgrade pip
2626
- pip install -r requirements/requirements.txt
2727
- pip install -r requirements/test_requirements.txt
28+
- pip install .
2829
- pip freeze
2930
script:
3031
- pytest

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ include CODE_OF_CONDUCT.md
66
include CONTRIBUTING.md
77
include LICENSE
88
include NOTICE
9+
include mxfusion/common/config.cfg

README.md

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,41 @@
11
# MXFusion
22
[![Build Status](https://travis-ci.org/amzn/MXFusion.svg?branch=master)](https://travis-ci.org/amzn/MXFusion) |
3-
[![Build Status](https://travis-ci.org/amzn/MXFusion.svg?branch=develop)](https://travis-ci.org/amzn/MXFusion/branches) |
43
[![codecov](https://codecov.io/gh/amzn/MXFusion/branch/master/graph/badge.svg)](https://codecov.io/gh/amzn/MXFusion) |
54
[![pypi](https://img.shields.io/pypi/v/mxfusion.svg?style=flat)](https://pypi.org/project/mxfusion/) |
65
[![Documentation Status](https://readthedocs.org/projects/mxfusion/badge/?version=latest)](https://mxfusion.readthedocs.io/en/latest/?badge=latest) |
76
[![GitHub license](https://img.shields.io/github/license/amzn/mxfusion.svg)](https://github.com/amzn/mxfusion/blob/master/LICENSE)
87

98
![MXFusion](docs/images/logo/blender-small.png)
109

11-
[Website](https://github.com/amzn/MXFusion) |
10+
[Tutorials](https://mxfusion.readthedocs.io/en/latest/tutorials.html) |
1211
[Documentation](https://mxfusion.readthedocs.io/en/latest/index.html) |
13-
[Contribution Guide](https://github.com/amzn/MXFusion/CONTRIBUTING.md)
12+
[Contribution Guide](CONTRIBUTING.md)
1413

15-
MXFusion is a library for integrating probabilistic modelling with deep learning.
14+
MXFusion is a modular deep probabilistic programming library.
1615

1716
With MXFusion Modules you can use state-of-the-art inference techniques for specialized probabilistic models without needing to implement those techniques yourself. MXFusion helps you rapidly build and test new methods at scale, by focusing on the modularity of probabilistic models and their integration with modern deep learning techniques.
1817

19-
MXFusion uses [MXNet](https://github.com/apache/incubator-mxnet) as its computational platform to bring the power of distributed, heterogenous computation to probabilistic modelling.
20-
21-
## Vision
22-
23-
TODO
24-
25-
### Why use probabilistic models?
26-
27-
TODO
28-
29-
## Features
30-
It currently supports modelling of directed probabilistic models, deep learning integration through MXNet, and Variational Inference methods. Gaussian Processes are soon to come.
18+
MXFusion uses [MXNet](https://github.com/apache/incubator-mxnet) as its computational platform to bring the power of distributed, heterogenous computation to probabilistic modeling.
3119

3220

3321
## Installation
3422

3523
### Dependencies / Prerequisites
36-
MXFusion's primary dependencies are MXNet >= 1.2 and Networkx >= 2.1.
24+
MXFusion's primary dependencies are MXNet >= 1.3 and Networkx >= 2.1.
3725
See [requirements](requirements/requirements.txt).
3826

3927
### Supported Architectures / Versions
4028

41-
MXFusion is tested on Python 3.5+ on MacOS and Amazon Linux.
29+
MXFusion is tested on Python 3.4+ on MacOS and Linux.
30+
31+
### Installation of MXNet
32+
33+
There are multiple PyPi packages of MXNet. A straight-forward installation with only CPU support can be done by:
34+
```
35+
pip install mxnet
36+
```
37+
38+
For an installation with GPU or MKL, detailed instructions can be found on [MXNet site](https://mxnet.apache.org/install/).
4239

4340
### pip
4441
If you just want to use MXFusion and not modify the source, you can install through pip:
@@ -54,11 +51,12 @@ pip install .
5451

5552
## Where to go from here?
5653

57-
[Documentation](https://github.com/amzn/MXFusion/docs)
54+
[Tutorials](https://mxfusion.readthedocs.io/en/latest/tutorials.html)
55+
56+
[Documentation](https://mxfusion.readthedocs.io/en/latest/index.html)
5857

5958
[Contributions](CONTRIBUTING.md)
6059

61-
[Tutorials](Tutorials.md)
6260

6361
## Community
6462
We welcome your contributions and questions and are working to build a responsive community around MXFusion. Feel free to file an Github issue if you find a bug or want to request a new feature.

conftest.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
import pytest
1+
import mxnet as mx
22
import numpy as np
3-
3+
import pytest
4+
import random
45

56
@pytest.fixture(scope='session')
67
def set_seed():
8+
random.seed(0)
79
np.random.seed(0)
10+
mx.random.seed(0)

0 commit comments

Comments
 (0)