Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2127)

Unified Diff: appengine/findit/libs/math/functions.py

Issue 2517383005: Implementing loglinear classification (without training), for CL classification (Closed)
Patch Set: breaking apart normalized and unnormalized models Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: appengine/findit/libs/math/functions.py
diff --git a/appengine/findit/libs/math/functions.py b/appengine/findit/libs/math/functions.py
index 5c7f972181deabedda4ab45d04044b86c49adade..797584f69b1aa1df2635d7b6006d736bca8c6870 100644
--- a/appengine/findit/libs/math/functions.py
+++ b/appengine/findit/libs/math/functions.py
@@ -44,7 +44,7 @@ class MemoizedFunction(Function):
super(MemoizedFunction, self).__init__(f)
self._memos = {}
- def _ClearMemos(self):
+ def ClearMemos(self):
"""Discard all memoized results of this function."""
self._memos = {}

Powered by Google App Engine
This is Rietveld 408576698