diff options
| author | pepperpepperpepper <pepper@scannerjammer.com> | 2015-12-08 21:37:41 -0800 |
|---|---|---|
| committer | pepperpepperpepper <pepper@scannerjammer.com> | 2015-12-08 21:37:41 -0800 |
| commit | 0e082b3065d8c3bafbd82cbaf24d6efb85825b05 (patch) | |
| tree | 60df92a77a6d298aed851315ffad80d4d1e937ef /ricky/param/__init__.py | |
| parent | 518f5b63f5b61308a8d3df64eb9ff715bb3c0e2c (diff) | |
made progress in binaryclassifier rewrite, restructured file tree
Diffstat (limited to 'ricky/param/__init__.py')
| -rw-r--r-- | ricky/param/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ricky/param/__init__.py b/ricky/param/__init__.py index 3bf5c7e..a3bbf65 100644 --- a/ricky/param/__init__.py +++ b/ricky/param/__init__.py @@ -74,4 +74,6 @@ class Param(object): pass def as_normalized(self): + if self.value: + return 1 return 0 |
