Skip to content

Commit

Permalink
fix output bug
Browse files Browse the repository at this point in the history
  • Loading branch information
miaohancheng committed Nov 13, 2024
1 parent 5024f26 commit 0ecd293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysmatch/Matcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def fit_scores(self, balance=True, nmodels=None, n_jobs=1, model_type='linear'):
for res in results:
self.models.append(res['model'])
self.model_accuracy.append(res['accuracy'])
logging.info(f"Average Accuracy:{round(np.mean((self.model_accuracy) * 100),2)}% ")
logging.info(f"Average Accuracy:{np.mean(self.model_accuracy):.2%} ")
else:
result = self.fit_model(0, self.X, self.y, self.model_type, balance)
self.models.append(result['model'])
Expand Down

0 comments on commit 0ecd293

Please sign in to comment.