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
Replace missing value with a subgroup-calculated value
Suppose we have rows of data with attributes Temp & City & a Datetime (amongst others). The temp data has some missing values.
How can I fill in the missing temp data with the average temp of the given city on an hourly basis?
Calculate average temp by City by datetime to the hour
Use that average temp to fill in any missing temp values for the corresponding City and datetime within the same hour.
Thoughts?
How can I fill in the missing temp data with the average temp of the given city on an hourly basis?
Calculate average temp by City by datetime to the hour
Use that average temp to fill in any missing temp values for the corresponding City and datetime within the same hour.
Thoughts?
Tagged:
0
Answers
Generate attributes has the following inside:
These are the parameters of Process Windows:
And this is what you need inside Process Windows:
You should find the Lake Heuron data in the training examples. Any problems, please do let me know. I'll report back if I figure out why it's not importing.
VERSION 10.2: <operator activated="true" class="blending:generate_columns" compatibility="10.2.000" expanded="true" height="82" name="Generate Attributes" origin="GENERATED_TUTORIAL" width="90" x="246" y="34">
VERSION 9.10: <operator activated="true" class="generate_attributes" compatibility="6.4.000" expanded="true" height="82" name="Generate Attributes" origin="GENERATED_SAMPLE" width="90" x="246" y="34">
From my side this sort of works, although needed to reconnect a couple of ports. Here's the whole thing again but which might now import successfully: