View prepopulated_repl.md
<script defer src="https://pyscript.net/unstable/pyscript.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
View issue-59-debugging.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View install_anaconda.sh
This file contains 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
# Taken from https://github.com/ericmjl/dotfiles/blob/master/install_functions.sh | |
function install_anaconda { | |
bash anaconda.sh -b -p $HOME/anaconda | |
rm anaconda.sh | |
export PATH=$HOME/anaconda/bin:$PATH | |
# Install basic data science stack into default environment | |
conda install --yes pandas scipy numpy matplotlib seaborn jupyter ipykernel nodejs |
View troubleshooting-batch-runner.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View gist:384d54262cfe7b81c86263ee28822a0c
This file contains 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
$ docker run --gpus all -i -t jax:latest /bin/bash | |
(base) [docker@e697aef58065 ~]$ ls | |
anaconda cuda-repo-rhel8-10-2-local-10.2.89-440.33.01-1.0-1.x86_64.rpm | |
(base) [docker@e697aef58065 ~]$ which python | |
~/anaconda/bin/python | |
(base) [docker@e697aef58065 ~]$ conda activate mouse-hmm | |
(mouse-hmm) [docker@e697aef58065 ~]$ python | |
Python 3.7.6 | packaged by conda-forge | (default, Jun 1 2020, 18:57:50) | |
[GCC 7.5.0] on linux | |
Type "help", "copyright", "credits" or "license" for more information. |
View test_d_separation.py
This file contains 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
@pytest.fixture | |
def path_graph(): | |
"""Return a path graaph of length three.""" | |
G = nx.path_graph(3, create_using=nx.DiGraph) | |
G.graph["name"] = "path" | |
nx.freeze(G) | |
return G | |
@pytest.fixture |
View app.py
This file contains 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
import streamlit as st | |
import pandas as pd | |
st.title("A Careful Walk Through Probability Distributions with Python") | |
st.markdown(""" | |
_By Eric J. Ma, for PyCon 2020_ | |
Hey there! Thanks for stopping by. |
View inplace_transform-column.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View linear_model.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder