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

Circular metrics (again) #284

Merged
merged 33 commits into from
Dec 13, 2023
Merged

Circular metrics (again) #284

merged 33 commits into from
Dec 13, 2023

Conversation

ecomodeller
Copy link
Member

Start over and copy/paste some metrics from #235

@jsmariegaard
Copy link
Member

It is not easy to change an existing quantity to "circular" as the quantity is immutable.

How should we help the users set "circular" in quantity? If the name is something with "direction" and the unit is "degree" then it is probably circular...

And what about radians? Should we also support data in radians? If not I think we should at least provide an error.

@jsmariegaard
Copy link
Member

@stkistner @daniel-caichac-DHI , we implemented for you guys in the metocean team 😃

It now features circular versions of metrics (for degrees not radians): bias, mae, rmse, max_error, urmse. Do you need more? Which ones?

@daniel-caichac-DHI
Copy link
Collaborator

I think those statistics are fine for now. thanks a lot.
We could use the same data used in the wind rose for testing/ example , right?

@ecomodeller ecomodeller marked this pull request as ready for review December 13, 2023 07:36
@jsmariegaard jsmariegaard self-requested a review December 13, 2023 13:13
Copy link
Member

@jsmariegaard jsmariegaard left a comment

Choose a reason for hiding this comment

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

Love it!

@jsmariegaard jsmariegaard merged commit 30736b8 into main Dec 13, 2023
@jsmariegaard jsmariegaard deleted the circular_metrics branch December 13, 2023 13:21
@daniel-caichac-DHI
Copy link
Collaborator

I'm afraid to do a pull request of modelskill by now and see how all my wrappers fail :D

@ecomodeller
Copy link
Member Author

I'm afraid to do a pull request of modelskill by now and see how all my wrappers fail :D

On friday you will have a versioned release of modelskill to rely on.

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.

3 participants