mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-18 20:22:25 +03:00
Undo multiply by 100
This was mistaken, not sure why my score seemed to be off before.
This commit is contained in:
parent
08729e0fbd
commit
afd255c0ed
|
@ -631,4 +631,4 @@ class SpanPredictor(TrainablePipe):
|
||||||
correct = (starts == pred_starts) * (ends == pred_ends)
|
correct = (starts == pred_starts) * (ends == pred_ends)
|
||||||
accuracy = correct.mean()
|
accuracy = correct.mean()
|
||||||
scores.append(float(accuracy))
|
scores.append(float(accuracy))
|
||||||
return {"span_accuracy": 100 * mean(scores)}
|
return {"span_accuracy": mean(scores)}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user