GithubHelp home page GithubHelp logo

bayesianmethodsforhackers's Introduction

Creating an environment

My first attempt was to try pip install pymc on windows 7; this failed with what looked like some ugly blas pack errors in theano. For this reason I flipped my dual book machine to Ubuntuo 16.04 LTS performed a full system update (which took some time) then git cloned my repo.

My goal was to have a Python3, pymc and matplotlib environment all working nicely with my ipynb files lcoally. Such that I could push these nicely into github for others to use.

I also tried and pull the pymc/pymc docker container; this looked incomplete and when I tryed the simple line below this failed

import pymc as pm

For this reason I finally opted for a simple Python3 virtual environment locally, created using the following command lines. I wrote a simple run.sh script handles a few setup steps a) activate the python3 venv b) cd into my directory containing my .ipynb files c) launch the jupyter notebook on my chosen port (9999, not the default 8888).

$ python3 -m venv bmfh
$ . bmfh/bin/activate
$ pip install pymc
$ pip install jupyter
$ pip install matplotlib

Launching Environment

Two simple steps as below; these could be added to superviso; but not sure that I want this to always run.

$ cd <repo home locally>
$ ./run.sh

bayesianmethodsforhackers's People

Contributors

bakera1 avatar

Watchers

James Cloos avatar  avatar

Forkers

fagan2888

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.