newrelic / newrelic-python-agent

New Relic Python Agent
https://docs.newrelic.com/docs/agents/python-agent
Apache License 2.0
176 stars 99 forks source link

Fix sklearn ensemble tests. #1148

Closed umaannamalai closed 4 months ago

umaannamalai commented 4 months ago

This PR updates the expected metrics for sklearn's HistGradientBoostingClassifier. In v1.5.0, calls to predict_proba were removed for performance reasons.

github-actions[bot] commented 4 months ago

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON black 1 0 0 0.71s
✅ PYTHON flake8 1 0 0.42s
✅ PYTHON isort 1 0 0 0.19s
✅ PYTHON pylint 1 0 1.62s

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-commenter commented 4 months ago

Codecov Report

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

Project coverage is 81.55%. Comparing base (ac28232) to head (08a3971).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1148 +/- ## ========================================== + Coverage 81.41% 81.55% +0.14% ========================================== Files 192 192 Lines 21345 21345 Branches 3715 3715 ========================================== + Hits 17377 17407 +30 + Misses 2883 2857 -26 + Partials 1085 1081 -4 ```

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