# HG changeset patch # User Jeff Hammel # Date 1504545361 25200 # Node ID c52d8173b0569aa74a612aceeaa6891b355f7f82 # Parent 89f46435a9e22c134d91302d950973375a5d8a6d [regression] cleanup + proper structure diff -r 89f46435a9e2 -r c52d8173b056 tvii/logistic_regression.py --- a/tvii/logistic_regression.py Mon Sep 04 09:58:01 2017 -0700 +++ b/tvii/logistic_regression.py Mon Sep 04 10:16:01 2017 -0700 @@ -44,8 +44,10 @@ """ m = X.shape[1] + + cost = cost_function(w, b, X, Y) # compute cost + A = sigmoid(w.T*X + b) # compute activation - cost = cost_function(w, b, X, Y) raise NotImplementedError('TODO')