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

feat: Move score_threshold to encoders #82

Merged
merged 9 commits into from
Jan 7, 2024

Conversation

ashraq1455
Copy link
Contributor

@ashraq1455 ashraq1455 commented Jan 7, 2024

Default score_threshold values has been moved to encoders. Now, it's possible to specify a custom score_threshold during encoder initialization, which will be utilized by the RouteLayer and HybridRouteLayer.

Closes #70

Copy link

codecov bot commented Jan 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (603e4f5) 87.00% compared to head (59713d5) 87.08%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #82      +/-   ##
==========================================
+ Coverage   87.00%   87.08%   +0.07%     
==========================================
  Files          21       21              
  Lines         816      813       -3     
==========================================
- Hits          710      708       -2     
+ Misses        106      105       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@jamescalam jamescalam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks @ashraq1455 !

@jamescalam jamescalam merged commit 99ce319 into main Jan 7, 2024
6 checks passed
@jamescalam jamescalam deleted the ashraq/custom-score-threshold branch January 7, 2024 16:06
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.

Custom Threshold Setting for RouteLayer
2 participants