Skip to content

Added a checking to see whether any values are NaN in the scoring.#229

Open
Filco306 wants to merge 1 commit intouma-pi1:masterfrom
Filco306:fixing_nan_in_evaluation
Open

Added a checking to see whether any values are NaN in the scoring.#229
Filco306 wants to merge 1 commit intouma-pi1:masterfrom
Filco306:fixing_nan_in_evaluation

Conversation

@Filco306
Copy link

Regarding issue #220 - by adding a check if there are any NaN values, a ValueError will be thrown if a nan-value is found.

If I am to be self-critical, there is a risk that the speed might be lower, but I still think it is necessary in order to ensure a correct evaluation.

@rgemulla
Copy link
Member

I agree that it's good to have a check for NaN values. It should be in the evaluation code, not the model code, however.

@Filco306
Copy link
Author

Filco306 commented Oct 4, 2021

Good point. I will make changes accordingly!

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.

2 participants