-
Notifications
You must be signed in to change notification settings - Fork 16
Make Nn::TransitionLabelScorer standalone #155
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
Open
larissakl
wants to merge
26
commits into
master
Choose a base branch
from
transition-label-scorer-standalone
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
7502b82
Add TransitionLabelScorer
SimBe195 7430001
Rewrite docstring
SimBe195 2a6272e
Clean up includes
SimBe195 7e325e1
Rewrite docstring again
SimBe195 a276136
Merge branch 'master' into tdp_label_scorer
SimBe195 d2d78fe
Refactor params to string list with compile time check
SimBe195 303fa46
Remove transitionTypeToIndex function and revert associated changes
SimBe195 ddd75c7
Revert unnecessary static_cast
SimBe195 b856c1e
Change std=c++17 to c++20
SimBe195 70699c0
Merge remote-tracking branch 'origin/version-bump' into tdp_label_scorer
SimBe195 5b89d0f
Move transition type string array to LabelScorer.hh
SimBe195 8b27b19
Add parameter for ignoring transition types in LabelScorer
SimBe195 1e877c7
Add missing parenthesis in description
SimBe195 3dcadee
Add some docstrings for the `Internal` functions
SimBe195 b9d919b
Move transitionTypeArray to protected space
SimBe195 23df463
Merge branch 'tdp_label_scorer' into disabled-transition-types
SimBe195 a437c04
Merge branch 'master' into disabled-transition-types
curufinwe 8337fea
Fix order in .cc files
curufinwe 0cfdf3d
Add `set` function to Core::CollapsedVector
SimBe195 85522b5
Apply suggestions from code review
SimBe195 4098ad4
Fix compilation
SimBe195 0d34085
Introduce configurable presets of enabled transition types + extras
SimBe195 a186d3d
Make TransitionLabelScorer standalone
larissakl f068d03
Formatting
larissakl 5cb1caf
Merge branch 'master' into transition-label-scorer-standalone
larissakl 9409db4
Use base class ScoringContext instead of StepScoringContext
larissakl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Why is the timeframe initialized with 0?
Should it be for example
currentStepofStepScoringContextclass?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.
We don't really use a scoring context in this label scorer and therefore have no information about the current timestep.
LabelScorer::ScoreWithTimehowever needs a timeframe. Therefore I just set it to 0 because it is not used anyways. When using the TransitionLabelScorer in combination with another label scorer in the CombineLabelScorer, the maximum of both timesteps will be used for the result, so 0 won't break anything.