Skip to content

Instantly share code, notes, and snippets.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adamgreenhall
adamgreenhall / example.ipynb
Created September 10, 2015 21:53
class-weighted logistic classificiation intercept correction
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adamgreenhall
adamgreenhall / .gitignore
Created November 7, 2014 00:06
~/.gitignore
*.DS_Store
*.sw[nop]
.bundle
.env
*.sqlite3
!tmp/cache/.keep
*.png
*.log
*.ipynb
.ipynb_checkpoints/
<form accept-charset="UTF-8" action="/pieces" class="simple_form form-horizontal" id="new_piece" method="post"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓"><input name="authenticity_token" type="hidden"></div> <div class="input text optional piece_title"><label class="text optional" for="piece_title">Title</label><textarea class="text optional" id="piece_title" name="piece[title]"></textarea></div>
<div class="input string optional piece_cover_image field_with_hint"><label class="string optional" for="piece_cover_image">Cover image</label><input class="string optional" id="piece_cover_image" maxlength="255" name="piece[cover_image]" size="255" type="text"><span class="hint">url for image</span></div>
<div class="input integer optional piece_order"><label class="integer optional" for="piece_order">Order</label><input class="numeric integer optional" id="piece_order" name="piece[order]" step="1" type="number"></div>
<div class="input st
@adamgreenhall
adamgreenhall / README.md
Last active December 15, 2015 19:39 — forked from huyng/matplotlibrc
Style tweaks for matplotlib

This implements a nicer color scheme for matplotlib, along with some other styling tweaks.

To install:

cd ~/.matplotlib
cp matplotlibrc backup_matplotlibrc
git clone https://gist.github.com/adamgreenhall/5312535 newrc

cp newrc/matplotlibrc .

@adamgreenhall
adamgreenhall / scatter_matrix_fix_examples.ipynb
Last active December 15, 2015 02:39
pandas.scatter_matrix examples
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adamgreenhall
adamgreenhall / scenario-metrics.ipynb
Created March 8, 2013 21:17
comparing scenario accuracy and spread
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adamgreenhall
adamgreenhall / sln-diff.ipynb
Last active December 14, 2015 15:59
differences between stochastic UC solutions
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adamgreenhall
adamgreenhall / modeling-generator-example.ipynb
Last active December 14, 2015 12:29
modeling-generators-example
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.