Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -163,6 +163,7 @@ if __name__ == "__main__": | ... | @@ -163,6 +163,7 @@ if __name__ == "__main__": |
163 | oFile.write(str(confusion_matrix(trueEvaluationClasses, y_pred)) + '\n') | 163 | oFile.write(str(confusion_matrix(trueEvaluationClasses, y_pred)) + '\n') |
164 | oFile.write('Classification report: \n') | 164 | oFile.write('Classification report: \n') |
165 | oFile.write(classification_report(trueEvaluationClasses, y_pred) + '\n') | 165 | oFile.write(classification_report(trueEvaluationClasses, y_pred) + '\n') |
166 | + oFile.write("Weight matrices:\n") | ||
166 | if options.classifier == "MLPClassifier": | 167 | if options.classifier == "MLPClassifier": |
167 | for coef in classifier.coefs_: | 168 | for coef in classifier.coefs_: |
168 | oFile.write("".format(coef)) | 169 | oFile.write("".format(coef)) | ... | ... |
-
Please register or login to post a comment