This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import Flask,request, jsonify | |
from sampled import sampled | |
import numpy as np | |
import pymc3 as pm | |
import theano.tensor as tt | |
import pandas as pd | |
app = Flask(__name__) | |
@sampled |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Iteration 0 [0%]: ELBO = -56971496.0 | |
Iteration 50 [10%]: Average ELBO = nan | |
Iteration 100 [20%]: Average ELBO = nan | |
Iteration 150 [30%]: Average ELBO = nan | |
Iteration 200 [40%]: Average ELBO = nan | |
Iteration 250 [50%]: Average ELBO = nan | |
Iteration 300 [60%]: Average ELBO = nan | |
Iteration 350 [70%]: Average ELBO = nan | |
Iteration 400 [80%]: Average ELBO = nan | |
Iteration 450 [90%]: Average ELBO = nan |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pymc3_dev | |
channels: | |
- defaults | |
dependencies: | |
- _nb_ext_conf=0.3.0=py35_0 | |
- anaconda-client=1.5.1=py35_0 | |
- appnope=0.1.0=py35_0 | |
- clyent=1.2.2=py35_0 | |
- conda-forge::jinja2=2.8=py35_1 | |
- conda-forge::xz=5.2.2=0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--------------------------------------------------------------------------- | |
ValueError Traceback (most recent call last) | |
<ipython-input-47-0d6966774623> in <module>() | |
4 local_RVs=local_RVs, observed_RVs=observed_RVs, | |
5 encoder_params=(enc.params + dec.params), | |
----> 6 optimizer=adam | |
7 ) | |
/Users/peadarcoyle/anaconda/envs/py35/lib/python3.5/site-packages/pymc3/variational/advi_minibatch.py in advi_minibatch(vars, start, model, n, n_mcsamples, minibatch_RVs, minibatch_tensors, minibatches, local_RVs, observed_RVs, encoder_params, total_size, optimizer, learning_rate, epsilon, random_seed, verbose) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.