Skip to content

Instantly share code, notes, and snippets.

💭
Looking into PyMC4

Peadar Coyle springcoil

💭
Looking into PyMC4
Block or report user

Report or block springcoil

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@springcoil
springcoil / sampled_api.py
Created Sep 23, 2017
Attempted API with flask and sampled
View sampled_api.py
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
View pymc3_normalizing_flows.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View pymc3_normalizing_flow_beta_binomial.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@springcoil
springcoil / elbo_output.txt
Last active Nov 7, 2016
elbo_output.ipynb
View elbo_output.txt
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
View pymc3_dev.yml
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
@springcoil
springcoil / output_theano_convolutional_vae.py
Created Nov 7, 2016
output_theano_convolutional_vae.py
View output_theano_convolutional_vae.py
---------------------------------------------------------------------------
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)
@springcoil
springcoil / stochastic_volatility_2.ipynb
Created Oct 27, 2016
Changed the normalizing flow of Stochastic Volatility
View stochastic_volatility_2.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View normalizing_flows.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View aevb.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View testing_euler_sde.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.