Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Performance improvement in metrics calculations #409

Closed

Conversation

bethebunny
Copy link
Contributor

Summary:
Metrics calculation for doc classification takes much longer than the training itself: x34 of the training time!

This simple diff improves the metrics time significantly by fixing the low-hanging fruit of bool->int casting.
It's still taking the majority of the time (x9 only!), so it will need further improvements.

Differential Revision: D14474255

Summary:
Metrics calculation for doc classification takes much longer than the training itself: x34 of the training time!

This simple diff improves the metrics time significantly by fixing the low-hanging fruit of bool->int casting.
It's still taking the majority of the time (x9 only!), so it will need further improvements.

Differential Revision: D14474255

fbshipit-source-id: 29eb85b62e5e6e6799f0385f16ed1fcdce7d7543
@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Mar 18, 2019
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in a22981a.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants