Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -166,6 +166,7 @@ if __name__ == "__main__": | ... | @@ -166,6 +166,7 @@ if __name__ == "__main__": |
166 | if options.classifier in ["Perceptron", "SVM"]: | 166 | if options.classifier in ["Perceptron", "SVM"]: |
167 | oFile.write('Confidence scores: \n') | 167 | oFile.write('Confidence scores: \n') |
168 | oFile.write("{}".format(confidence_scores)) | 168 | oFile.write("{}".format(confidence_scores)) |
169 | + oFile.write('Weights assigned to the features: \n') | ||
169 | oFile.write("{}".format(classifier.coef_)) | 170 | oFile.write("{}".format(classifier.coef_)) |
170 | 171 | ||
171 | print(" Saving test report done!") | 172 | print(" Saving test report done!") | ... | ... |
-
Please register or login to post a comment