Skip to content

Instantly share code, notes, and snippets.

View sauln's full-sized avatar
🤖

Nathaniel Saul sauln

🤖
View GitHub Profile
@sauln
sauln / TDA_resources.md
Last active March 15, 2019 22:10 — forked from calstad/TDA_resources.md
List of resources for TDA

Quick List of Resources for Topological Data Analysis with Emphasis on Machine Learning

This is just a quick list of resourses on TDA that I put together for @rickasaurus after he was asking for links to papers, books, etc on Twitter and is by no means an exhaustive list.

Survey Papers

Both Carlsson's and Ghrist's survey papers offer a very good introduction to the subject

Other Papers and Web Resources

@sauln
sauln / minimal_iframe_example.txt
Created March 10, 2018 02:10
Minimal Jupyter notebook example showing strange inception bug
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import IPython\n",
"import html\n",
@sauln
sauln / parse_ripser_output.py
Last active November 20, 2017 23:54
This a brief (and naive) script to convert the output of the ripser library into a json format so it can be used elsewhere.
import json
import click
@click.command()
@click.argument('infile')
@click.argument('outfile')
def parse_barcode(infile, outfile):
""" This function will parse the result of the Ripser (https://github.com/Ripser/ripser) barcodes
and output the barcodes in json format.
@sauln
sauln / min-char-rnn.py
Last active February 9, 2016 07:47 — forked from karpathy/min-char-rnn.py
Minimal character-level language model with a Vanilla Recurrent Neural Network, in Python/numpy
"""
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy)
BSD License
Updated by Nathaniel Saul 2/8/2016 - Runs in Python3.4
"""
import numpy as np
# data I/O
data = open('input.txt', 'r').read() # should be simple plain text file