-
Notifications
You must be signed in to change notification settings - Fork 155
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
Fix 22.06 style checks #249
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@gpucibot merge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some suggestions/questions. Looks good overall.
""" | ||
|
||
import argparse |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this on a line by itself?
#since inference is done, add the original columns back so the output will be the same as the input format | ||
#X_val['ts_anomaly']=X_val_original['ts_anomaly'] | ||
# since inference is done, add the original columns back so the output will be the same as the input format | ||
# X_val['ts_anomaly']=X_val_original['ts_anomaly'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete?
timeobj = list(map(stript, timearr)) | ||
hs = list(map(date2min, timeobj)) | ||
n, bins = cp.histogram(cp.array(hs), bins = cp.arange(0, max(hs))) | ||
n, _ = cp.histogram(cp.array(hs), bins=cp.arange(0, max(hs))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe a nitpick, but I'd like to see all these stacked lines broken out a bit into blocks of logical steps or sub functions.
Fixes style checks preventing #237 from passing