From b557de05881c2ee3408bc7487bbce15c67dc20d5 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Thu, 16 Aug 2018 20:13:56 +0200 Subject: Improved accuracy of function names. --- python/alla_net.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/alla_net.py b/python/alla_net.py index 0ff0da1..2e6d64c 100644 --- a/python/alla_net.py +++ b/python/alla_net.py @@ -155,7 +155,7 @@ class DeepLearning(): return final - def _normalize_string(self, raw): + def _vectorize_string(self, raw): """Produce an input using a common input format.""" non_printable = 0 @@ -213,7 +213,7 @@ class DeepLearning(): for raw, encrypted in strings: - inputs.append( self._normalize_string(raw) ) + inputs.append( self._vectorize_string(raw) ) outputs.append( [ 1.0 if encrypted else 0.1 ] ) -- cgit v0.11.2-87-g4458