Carlos-Francisco Méndez-Cruz

Iris dataset for automatic clasification

...@@ -166,7 +166,7 @@ if __name__ == "__main__": ...@@ -166,7 +166,7 @@ if __name__ == "__main__":
166 oFile.write("Weight matrices:\n") 166 oFile.write("Weight matrices:\n")
167 if options.classifier == "MLPClassifier": 167 if options.classifier == "MLPClassifier":
168 for coef in classifier.coefs_: 168 for coef in classifier.coefs_:
169 - oFile.write("{}".format(coef.shape)) 169 + oFile.write("{}".format(coef))
170 print(" Saving test report done!") 170 print(" Saving test report done!")
171 171
172 print("Training and test done in: %fs" % (time() - t0)) 172 print("Training and test done in: %fs" % (time() - t0))
......