-
Notifications
You must be signed in to change notification settings - Fork 53
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
Question about the get point statistics function in measurement #18
Comments
Hi Dr. I am confused about how you calculate the accuracy measurement. Let us take uni variate and one-order for example. In the Measurement.py, this line of code is used to calculate the RMSE of the targets and forecasts Here ndata[model.max_lag:] represents the targets , however the forecasts are generated by the following code, taking yu.model for example, I am confused about this. |
Hi! Thanks to get in touch! On benchmarks.Measures.rmse (https://github.com/PYFTS/pyFTS/blob/master/pyFTS/benchmarks/Measures.py#L32) assumes that the inputs are already synced up. For example, the function benchmarks.Measures.get_point_statistics (https://github.com/PYFTS/pyFTS/blob/master/pyFTS/benchmarks/Measures.py#L311) take the test data and a FTS model as inputs, then it generate the forecasts of the model and sync those data (it delete the first datapoint of the test data and the last datapoint of the forecasted data, when the order = 1, usually max_lag = 1). It is clear for you now? |
Thanks for your reply. I have understood your codes.
获取 Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
收件人: Petrônio Cândido de Lima e Silva <notifications@github.com>
发送时间: 星期一, 三月 11, 2019 22:14
收件人: PYFTS/pyFTS
抄送: #GAO; Author
主题: Re: [PYFTS/pyFTS] Question about the get point statistics function in measurement (#18)
Hi! Thanks to get in touch!
On benchmarks.Measures.rmse (https://github.com/PYFTS/pyFTS/blob/master/pyFTS/benchmarks/Measures.py#L32) assumes that the inputs are already synced up. For example, the function benchmarks.Measures.get_point_statistics (https://github.com/PYFTS/pyFTS/blob/master/pyFTS/benchmarks/Measures.py#L311) take the test data and a FTS model as inputs, then it generate the forecasts of the model and sync those data (it delete the first datapoint of the test data and the last datapoint of the forecasted data, when the order = 1, usually max_lag = 1).
It is clear for you now?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#18 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AgyvmyP9lUoIV6fpErEb0fD03FiDg6IGks5vVmTTgaJpZM4bmhQ1>.
|
You are welcome! |
No description provided.
The text was updated successfully, but these errors were encountered: