The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Downsampling of Data (From 1 hour each to 1 day[24hrs] each)
My data is divided into 3 months of 1 hour each, so there's roughly 2000 over examples.
How can I merge the data into 1 day(24hrs) each instead? There should be about 90+ examples.
I thought about using Generate Attribute, but I don't think that would work.
Thank you!
Regards,
AY
How can I merge the data into 1 day(24hrs) each instead? There should be about 90+ examples.
I thought about using Generate Attribute, but I don't think that would work.
Thank you!
Regards,
AY
Tagged:
0
Best Answer
-
Knut-RM Administrator, Employee-RapidMiner, Member, University Professor Posts: 113 Administrator
Answers
To better understand, you want downsample your time series ?
a value each hour to a value each day ? and take for example the average of the 24 hours as value of the day ?
I'm correct ?
Regards,
Lionel
I did not find a solution with RapidMiner's native operators, so I propose a solution with a (very simple) Python script.
To execute this process, you have :
- to install Python on your computer.
- install the Python Scripting extension from the marketplace.
The process :
Hope it helps,
Regards,
Lionel
NB : Of course, I am interested to discover a solution 100% RapidMiner for this task...
Yes to this:
To better understand, you want downsample your time series ?
a value each hour to a value each day ? and take for example the average of the 24 hours as value of the day ? I'm correct ?
I'll give the python a shot. Thank you
you can just create a day indicator with Date to Numerical and then use Aggregate.
BR,
Martin
Dortmund, Germany
Hi!
However, I have 3 months worth of data. By using the day indicator with Date to Numerical. My results will be 1-31, 1-31 and 1-31. So in that case, how will I be able to differentiate which month it belongs to and how it will not be merged incorrectly?
If day indicator with Date to Numerical still can be use then, what are the parameters of Aggregate I should make changes to?
Regards,
AY
Dortmund, Germany
Here is a sample process:
Lindon Ventures
Data Science Consulting from Certified RapidMiner Experts
Yes to this:
To better understand, you want downsample your time series ?
a value each hour to a value each day ? and take for example the average of the 24 hours as value of the day ? I'm correct ?
I'll give the python script a shot. Thank you!
Regards,
AY
Hi! What are the parameters of Aggregate I should make changes to?
Regards,
AY
Yes to this:
To better understand, you want downsample your time series ?
a value each hour to a value each day ? and take for example the average of the 24 hours as value of the day ? I'm correct ?
I'll give the python script a shot. Thank you!
Regards,
AY
Hi! What are the parameters of Aggregate I should make changes to?
Regards,
AY
Lindon Ventures
Data Science Consulting from Certified RapidMiner Experts