Skip to content

Instantly share code, notes, and snippets.

View Dockerfile
# Based on
ARG CUDA="10.0"
FROM nvidia/cuda:${CUDA}-cudnn${CUDNN}-devel
# install basics
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections \
&& apt-get update --fix-missing -y \
&& apt-get install -y apt-utils git curl ca-certificates bzip2 cmake g++ pkg-config \

The Relationship Between Precision-Recall and ROC Curves


  • Precision vs Recall
  • better with highly skewed datasets

ROC recommended by Provost et al. (1998)

  • Receiver Operator Characteristic
  • True Positive Rate (fraction of positive examples correctly labeled) vs False Positive Rate (fraction of negative examples misclassified as positive)
winding-lines / Jupyter Doctor.MD
Last active Nov 24, 2018
Various Jupyter related scripts
View Jupyter Doctor.MD

Basic diagnostics

Start New Python notebook and try running 1+1. Then start Julia notebook with the same.

If the javascript console has errors around downloading js files you can diagnose WebIO problems - from stackoverflow

import os.path
from jupyter_core.paths import jupyter_path
View RL-acronyms.MD

arxiv POMCPOW - partially observable Monte Carlo planning with observation widening PFT-DPW - particle filter trees with double progressive widening

cmu PBVI - point based value iteration

rhoPOMDP - POMDP with belief dependent rewards nips

View gist:f17bcf849f370ecaf1038c8f6f7beeaa
function generate_output(pomdp, belief_updater)
# reset the policy
p = ToEnd(0) # here, the argument sets the time-steps elapsed to 0
# run the simulation
c = CairoRGBSurface(700, 500);
winding-lines / Cargo.toml
Last active Sep 27, 2016
Linking against hyper on both OS X and Linux
View Cargo.toml
name = "http"
version = "0.1.0"
authors = ["Marius Seritan <>"]
[target.'cfg(target_os = "macos")'.dependencies]
hyper = {version="*", default_features=false, features=["security-framework"]}
[target.'cfg(target_os = "linux")'.dependencies]
hyper = {version="*"}

Keybase proof

I hereby claim:

  • I am winding-lines on github.
  • I am mseritan ( on keybase.
  • I have a public key whose fingerprint is D4D7 D81F E4BC C26E CAF0 9047 2FD8 2F1E A0DA 81DE

To claim this, I am signing this object: