diff --git a/PYSNN/model.py b/PYSNN/model.py index a0420b7..cf38a4b 100644 --- a/PYSNN/model.py +++ b/PYSNN/model.py @@ -292,7 +292,7 @@ def evolutionFit(self, inputs=None, targets=None, rate=1, replication=20, epochs targets = targets, lossfunc = lossfunc, offset = offset, - toComplete = (len(inputs) * replication) if inputs != None else 0, + toComplete = 0 if inputs is None else (len(inputs) * replication), epoch = epoch, epochs = epochs ) diff --git a/setup.py b/setup.py index e4ef271..3f078c2 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="PYSNN", - version="0.1.0", + version="0.1.1", author="Lukáš Plevač", author_email="lukasplevac@gmail.com", description="PYthon Simple Neural Network - PYSNN is python3 lib for machine learning",