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

Don't evaluate entities if no entities present in test data #8813

Merged
merged 6 commits into from Jun 16, 2021

Conversation

JEM-Mosig
Copy link
Contributor

Proposed changes:

Status (please check what you already did):

  • added some tests for the functionality
  • updated the documentation
  • updated the changelog (please check changelog for instructions)
  • reformat files using black (please check Readme for instructions)

@JEM-Mosig JEM-Mosig changed the title Write bugfix Don't evaluate entities if no entities present in test data Jun 4, 2021
@JEM-Mosig JEM-Mosig self-assigned this Jun 4, 2021
@JEM-Mosig JEM-Mosig requested review from federicotdn, tttthomasssss and twerkmeister and removed request for federicotdn and tttthomasssss June 4, 2021 14:36
Copy link
Contributor

@twerkmeister twerkmeister left a comment

Choose a reason for hiding this comment

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

Neat! What do you think of my suggestions?

rasa/utils/plotting.py Outdated Show resolved Hide resolved
tests/utils/test_plotting.py Outdated Show resolved Hide resolved
Copy link
Contributor

@twerkmeister twerkmeister left a comment

Choose a reason for hiding this comment

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

Lookin' good! 🚀

@JEM-Mosig JEM-Mosig enabled auto-merge (squash) June 16, 2021 13:23
@dakshvar22
Copy link
Contributor

@JEM-Mosig Since the original bug resulted in model regression tests failing, did we run model regression tests on this PR to ensure that they don't fail again?

@JEM-Mosig
Copy link
Contributor Author

I ran them locally without errors.

JEM-Mosig pushed a commit that referenced this pull request Jun 23, 2021
* add fix

* Best model checkpoint allows metrics to be equal to previous best if at least one metric improves (#8875)

* Best model checkpoint allows metrics to be equal to previous best if at least one metric improves
* Apply suggestions from code review
Co-authored-by: Sam Sucik <s.sucik@rasa.com>
* Fix checkpointing tests

* Apply suggestions from code review: formatting, debug cleanup, improved fixture use

* security update to tensorflow 2.3.3

* Don't evaluate entities if no entities present in test data (#8813)

* Write bugfix

* Fix `should_eval_entities`

* Update changelog

* Pass on density parameter in test

* Improve test

* prepared release of version 2.7.1

* Remove unneccessary Path casts

Co-authored-by: Daksh <d.varshneya@rasa.com>
Co-authored-by: koernerfelicia <45405119+koernerfelicia@users.noreply.github.com>
Co-authored-by: koernerfelicia <f.koerner@rasa.com>
Co-authored-by: Ella Rohm-Ensing <erohmensing@gmail.com>
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

3 participants