-
Notifications
You must be signed in to change notification settings - Fork 7
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
In your nyc_taxi data,what is the meaning of the coloum 'detrended_pickups','removed_trend', 'removed_std2016-01-01', and how to obtain. #1
Comments
Hi @xiang526. For the NYC Taxi dataset, I computed the historical average (for each day of week and time of day) and then I subtract the historical average from the original time-series in order to remove the cyclic behaviour (recurrent pattern). This is done by subtracting the mean and dividing by the standard deviation (like in regular standardization procedures), where the mean and stddev are computed according to the historical average model. The columns 'removed_trend' and 'removed_std' contains those values (mean and stddev respectively). If you would like, I can also share the data files with you. Just send me and email... |
Thank you very much. my email:[email protected] |
Thank you very much. my email:[email protected]
…------------------ 原始邮件 ------------------
发件人: "Filipe Rodrigues"<[email protected]>;
发送时间: 2020年11月18日(星期三) 晚上8:53
收件人: "fmpr/DeepJMQR"<[email protected]>;
抄送: "goodluck"<[email protected]>; "Mention"<[email protected]>;
主题: Re: [fmpr/DeepJMQR] In your nyc_taxi data,what is the meaning of the coloum 'detrended_pickups','removed_trend', 'removed_std2016-01-01', and how to obtain. (#1)
Hi @xiang526. For the NYC Taxi dataset, I computed the historical average (for each day of week and time of day) and then I subtract the historical average from the original time-series in order to remove the cyclic behaviour (recurrent pattern). This is done by subtracting the mean and dividing by the standard deviation (like in regular standardization procedures), where the mean and stddev are computed according to the historical average model. The columns 'removed_trend' and 'removed_std' contains those values (mean and stddev respectively). If you would like, I can also share the data files with you. Just send me and email...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hi professor,
I have used this method to compute the 'removed_trend' and 'removed_std', but the result was not same as you. Can you tell me your method.
my method:
df['mean'] =( df.groupby(['day_of_week','hour','minute'])['pickups'].transform('mean'))
best wishes!
…------------------ 原始邮件 ------------------
发件人: "fmpr/DeepJMQR" ***@***.***>;
发送时间: 2020年11月18日(星期三) 晚上8:53
***@***.***>;
***@***.******@***.***>;
主题: Re: [fmpr/DeepJMQR] In your nyc_taxi data,what is the meaning of the coloum 'detrended_pickups','removed_trend', 'removed_std2016-01-01', and how to obtain. (#1)
Hi @xiang526. For the NYC Taxi dataset, I computed the historical average (for each day of week and time of day) and then I subtract the historical average from the original time-series in order to remove the cyclic behaviour (recurrent pattern). This is done by subtracting the mean and dividing by the standard deviation (like in regular standardization procedures), where the mean and stddev are computed according to the historical average model. The columns 'removed_trend' and 'removed_std' contains those values (mean and stddev respectively). If you would like, I can also share the data files with you. Just send me and email...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
No description provided.
The text was updated successfully, but these errors were encountered: