Skip to content

Instantly share code, notes, and snippets.

View jhemann's full-sized avatar

Josh Hemann jhemann

View GitHub Profile
@jhemann
jhemann / gist:d97be6c818bac3280b0c
Created September 25, 2014 16:32
Supporting notebook for my talk at Data Visualization Summit Boston, 2014
{
"metadata": {
"name": "",
"signature": "sha256:b1549946cc5e4bb415a9fde893b70935f3a62df0f4ca3b03936b03aa96f70515"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
@jhemann
jhemann / MomentOfScience_blog_post.ipynb
Last active September 21, 2016 12:30
Code to evaluate speed improvements using numba versus cython on a matrix factorization problem used in the setting of a recommendation system.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jhemann
jhemann / numba_test.py
Last active December 16, 2015 08:59
Testing numba's autojit decorator on simple code for matrix factorization.
# -*- coding: utf-8 -*-
#!/usr/bin/python
#
# Modified example of Albert Au Yeung's on matrix factorization:
# http://www.quuxlabs.com/blog/2010/09/matrix-factorization-a-simple-tutorial-and-implementation-in-python/#source-code
import numpy as np
from numba.decorators import autojit, jit
@jhemann
jhemann / just_plot_it_blog_post_complete.ipynb
Last active March 1, 2018 11:05
A fun experiment with writing a FICO Labs blog post completely in an IPython Notebook
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.