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
How to partially flatten or rotate examples?
This is probably easy but I just can't find a way on how to do this in RapidMiner.
Here is an example of what I am trying to do, let's say we have the following data:
City Type Count
----------------------------------------
City 1 People 10000
City 1 Cars 500
City 2 People 8000
City 3 Dogs 20
I would want to flatten that into:
City People Cars Dogs
-----------------------------------------------
City 1 10000 500 ?
City 2 800 ? ?
City 3 ? ? 20
Tagged:
0
Answers
Dear Caryknoop,
Pivot is what you search for. Take city as ID and Type as Index attribute.
~Martin
Dortmund, Germany