Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -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)) | 169 | + oFile.write("".format(coef.shape)) |
| 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)) | ... | ... |
-
Please register or login to post a comment