Skip to content

Instantly share code, notes, and snippets.

View keflavich's full-sized avatar

Adam Ginsburg keflavich

View GitHub Profile
@keflavich
keflavich / log_regression.py
Created November 4, 2012 20:10 — forked from marcelcaraciolo/log_regression.py
Logistic prediction
def sigmoid(X):
'''Compute the sigmoid function '''
#d = zeros(shape=(X.shape))
den = 1.0 + e ** (-1.0 * X)
d = 1.0 / den
return d
@keflavich
keflavich / packinglist
Created October 8, 2012 05:05 — forked from alissapajer/packinglist
Rainier packing list!
backpack
pack cover
hiking poles
sleeping bag
sleeping pad
tent
water bottles
camelback
water purification system