From 31572c1396ee0950eb2887fc66010f9f20688053 Mon Sep 17 00:00:00 2001 From: Aswin R <43998798+aswinr22@users.noreply.github.com> Date: Wed, 7 Aug 2019 16:54:47 +0530 Subject: [PATCH] Update demo.py --- demo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo.py b/demo.py index aef02d3..78335ae 100644 --- a/demo.py +++ b/demo.py @@ -21,7 +21,7 @@ #Let Genetic Programming find best ML model and hyperparameters tpot = TPOTClassifier(generations=5, verbosity=2) tpot.fit(tele.drop('Class', axis=1).loc[training_indices].values, - tele.loc[training_indicss, 'Class'].values) + tele.loc[training_indices, 'Class'].values) #Score the accuracy tpot.score(tele.drop('Class', axis=1).loc[validation_indices].values,