-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add the following metric: true reactant accuracy #4
Conversation
from rxn.metrics.utils import get_sequence_multiplier | ||
|
||
|
||
def test_get_sequence_multiplier() -> None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: just moved from the other file
round_trip_accuracy, | ||
top_n_accuracy, | ||
) | ||
|
||
|
||
def test_get_sequence_multiplier() -> None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: moved it to another file
) | ||
|
||
|
||
def get_sequence_multiplier(ground_truth: Sequence[T], predictions: Sequence[T]) -> int: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: moved from another file
@@ -161,17 +162,3 @@ def class_diversity( | |||
} | |||
std_dev = {i + 1: float(np.std(classes_for_n[i])) for i in range(multiplier)} | |||
return classdiversity, std_dev | |||
|
|||
|
|||
def get_sequence_multiplier(ground_truth: Sequence[T], predictions: Sequence[T]) -> int: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: moved to another file
No description provided.