Skip to content
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

Update Predicted Change in F-Measure #51

Merged
merged 1 commit into from Dec 20, 2023
Merged

Conversation

zakih2
Copy link
Contributor

@zakih2 zakih2 commented Dec 19, 2023

Pull Request

  • I confirm that I have read the CONTRIBUTING.md document.
  • I confirm that this contribution is made under an MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.
  • I confirm that I did not use any AI-based coding assistance (such as, but not limited to, GitHub Copilot).

Description

Updated PCF (base.py) to work as specified in the published implementation.

@chschroeder
Copy link
Contributor

Thanks for the PR!

As discussed, this corrects a deviation of the current implementation from the original paper.

A short summary of our e-mail correspondence so that others can follow:

  • Humza Zaki, Vijay Manchiraju, and Dr. Michael Bloodgood found an issue in the implementation the of Predicted Change in F-Measure stopping criterion, where it deviates from the logic of the original paper. Contrary to the paper, the implementation also considered agreement over the negative class.
  • Since Dr. Bloodgood one of the authors of this strategy, nobody else could give a more accurate assessment here.
  • They investigated the behavior of the observed implementation compared to the original implementation and noted a singificant difference.
  • Moreover, they already proposed a fix. Very appreciated :).
  • Since they already invested considerable time in finding and evaluating the issue, I offered to do the documentation work (docstrings, changelog, and docs).

I will add the documentation parts and then accept the PR.

@chschroeder chschroeder changed the title Update PCF Update Predicted Change in F-Measure Dec 20, 2023
@chschroeder chschroeder self-assigned this Dec 20, 2023
@chschroeder chschroeder merged commit 1fb9865 into webis-de:v1.3.x Dec 20, 2023
@chschroeder
Copy link
Contributor

Done. Thanks again for your efforts in investigating this 👍.

@zakih2
Copy link
Contributor Author

zakih2 commented Dec 20, 2023 via email

@chschroeder chschroeder mentioned this pull request Dec 25, 2023
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants