Skip to content

Circular metrics (again)#284

Merged
jsmariegaard merged 33 commits intomainfrom
circular_metrics
Dec 13, 2023
Merged

Circular metrics (again)#284
jsmariegaard merged 33 commits intomainfrom
circular_metrics

Conversation

@ecomodeller
Copy link
Copy Markdown
Member

Start over and copy/paste some metrics from #235

@jsmariegaard
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Collaborator

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

@ecomodeller
Copy link
Copy Markdown
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