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

Bugfix #1148 #1152

Closed
wants to merge 1 commit into from
Closed

Bugfix #1148 #1152

wants to merge 1 commit into from

Conversation

kasyanovse
Copy link
Collaborator

No description provided.

@kasyanovse kasyanovse linked an issue Aug 22, 2023 that may be closed by this pull request
@codecov
Copy link

codecov bot commented Aug 22, 2023

Codecov Report

Merging #1152 (29588af) into master (634de80) will decrease coverage by 0.02%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #1152      +/-   ##
==========================================
- Coverage   78.48%   78.46%   -0.02%     
==========================================
  Files         130      130              
  Lines        9323     9325       +2     
==========================================
  Hits         7317     7317              
- Misses       2006     2008       +2     
Files Changed Coverage Δ
..._implementations/models/ts_implementations/cgru.py 28.67% <0.00%> (-0.43%) ⬇️

Comment on lines +149 to +154
if self.std != 0:
return (array - self.mu) / self.std
else:
# if std is 0 then array has the only unique value
# the _scale returns 0 - near to true
return array - self.mu
Copy link
Collaborator

Choose a reason for hiding this comment

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

Хорошо бы чтоб какой-то тест это поведение покрывал.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Тест для cgru или для всего федота?

@kasyanovse kasyanovse removed a link to an issue Aug 22, 2023
@kasyanovse kasyanovse closed this Aug 22, 2023
@kasyanovse kasyanovse deleted the 1148-bugfix branch August 22, 2023 12:14
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.

2 participants