Skip to content

Instantly share code, notes, and snippets.

View alinaselega's full-sized avatar

Alina Selega alinaselega

View GitHub Profile
@alinaselega
alinaselega / tensorflow_tutorial.ipynb
Created June 22, 2019 20:00
Notebook following the official tutorial on low-level TensorFlow API from https://www.tensorflow.org/guide/low_level_intro
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@alinaselega
alinaselega / tf_tensors_vars_session.ipynb
Last active June 22, 2019 20:04
Notebook following the official Tensorflow tutorials on Tensors, Variables, and Sessions.
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.
@alinaselega
alinaselega / numpy_array_notes.ipynb
Created September 10, 2019 19:03
Notebook Gavin and I made for illustrating numpy data structure operations
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@alinaselega
alinaselega / multinomial_pmf_numerical.ipynb
Last active September 26, 2019 21:27
This notebook numerically checks the form for the marginal multinomial likelihood
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@alinaselega
alinaselega / stirling_approx.ipynb
Created September 30, 2019 14:37
This notebook checks the Stirling's approximation for computing factorials and implements computation of the marginal multinomial factor
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@alinaselega
alinaselega / lognormal_cdf.ipynb
Created November 5, 2019 22:35
Notebook for numerically checking that CDF is preserved under monotonic transformation, specifically log.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@alinaselega
alinaselega / including_commit.ipynb
Created January 23, 2020 20:02
Reference for how to Include commit information in a notebook for reproducibility.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@alinaselega
alinaselega / PELT_debug.ipynb
Last active June 15, 2020 19:55
This notebook defines the correct pruning condition; rewrites PELT implementation to follow the paper's notation, and evaluates the effect of the pruning constant K on the recovered segmentation.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@alinaselega
alinaselega / docker_guide.md
Last active May 7, 2020 18:08
This gist is a quick guide on how to run RStudio in docker.

This tutorial is a useful refresher for running RStudio in Docker: link.

The main command is:

docker run --rm -e PASSWORD=test -p 8787:8787 -v /local_path:container_path rocker/verse

The flags do the following: