Skip to content

Conversation

@VadimsAhmers
Copy link
Collaborator

Видимо тесты попадали из-за новой версии scikit-learn, пока ограничил <1.6

@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2025

Code has no PEP8 errors!

@codecov
Copy link

codecov bot commented Feb 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.17%. Comparing base (37dc24a) to head (bdf0671).
Report is 15 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1365   +/-   ##
=======================================
  Coverage   80.17%   80.17%           
=======================================
  Files         146      146           
  Lines       10515    10515           
=======================================
  Hits         8430     8430           
  Misses       2085     2085           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@VadimsAhmers VadimsAhmers changed the title int test fix Hotfix: pin scikit-learn version to <1.6 Feb 5, 2025
@VadimsAhmers
Copy link
Collaborator Author

VadimsAhmers commented Feb 5, 2025

У нас RMSE считается как mean_squared_error(squared=False)

Начиная с scikit-learn-1.4 параметр squared помечен как deprecated, удален в scikit-learn-1.6:
https://scikit-learn.org/1.5/modules/generated/sklearn.metrics.mean_squared_error.html

Вместо этого рекомендуется использовать root_mean_squared_error, добавленную в scikit-learn-1.4.
Но scikit-learn-1.4 несовместим с Python 3.8, поэтому придётся оставить вычисление RMSE как есть, добавив ограничение scikit-learn < 1.6

@VadimsAhmers VadimsAhmers requested a review from nicl-nno February 5, 2025 18:29
@nicl-nno
Copy link
Collaborator

nicl-nno commented Feb 5, 2025

Видимо надо будет уже скоро отказаться от поддержки 3.8.

@VadimsAhmers VadimsAhmers merged commit 1b36caa into master Feb 5, 2025
10 checks passed
@Lopa10ko
Copy link
Collaborator

Lopa10ko commented Feb 5, 2025

Вместо этого рекомендуется использовать root_mean_squared_error, добавленную в scikit-learn-1.4. Но scikit-learn-1.4 несовместим с Python 3.8, поэтому придётся оставить вычисление RMSE как есть, добавив ограничение scikit-learn < 1.6

в альтернативу всегда можно считать RMSE как MSE ** 0.5, чтобы не было строгого констрейнта на версии зависимостей

@VadimsAhmers VadimsAhmers deleted the int-fix-0602 branch February 14, 2025 15:12
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.

4 participants