Skip to content

Instantly share code, notes, and snippets.

goerz / An Introduction to Statistical
Last active September 7, 2020 08:27
PDF bookmarks for "James, Witten, Hastie, Tibshirani - An Introduction to Statistical Learning" (LaTeX)

This gist contains out.tex, a tex file that adds a PDF outline ("bookmarks") to the freely available pdf file of the book

An Introduction to Statistical Learning with Applications in R, by Gareth James, Daniela Witten, Trevor Hastie and Robert Tibshirani

The bookmarks allow to navigate the contents of the book while reading it on a screen.

adamhrv /
Last active June 17, 2021 19:31
Convert image to heatmap
#!/usr/bin/env python
import cv2
import numpy as np
import argparse
Create blended heat map with JET colormap