Safe-DS / DSL

Statically checked Data Science programs.
https://dsl.safeds.com
MIT License
11 stars 0 forks source link

fix: override `fit` in `Classifier` and `Regressor` #1176

Closed lars-reimann closed 1 month ago

lars-reimann commented 1 month ago

Summary of Changes

Override fit in Classifier and Regressor, so metrics can be used on the fitted models.

github-actions[bot] commented 1 month ago

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ MARKDOWN markdown-link-check 22 0 0.74s
✅ REPOSITORY git_diff yes no 0.13s

See detailed report in MegaLinter reports _Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff_

_MegaLinter is graciously provided by OX Security_

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.79%. Comparing base (f357c38) to head (1424d61). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1176 +/- ## ======================================= Coverage 99.79% 99.79% ======================================= Files 110 110 Lines 19227 19227 Branches 4109 4109 ======================================= Hits 19187 19187 Misses 40 40 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

lars-reimann commented 1 month ago

:tada: This PR is included in version 0.16.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: