Pivot with multiple group attributes

hanni_eulerhanni_euler MemberPosts:2Contributor I
edited November 2018 inHelp

Hi everyone,

I'm new to Rapidminer, so my question might be super easy.

I have a data set with the following Attributes:

  • Model Code (identifies a group of cars)
  • VIN (identifies cars)
  • Part (identifies part of the car: Fender or door)
  • 测点(识别测量分在the part)
  • Station (IFC or FQC -> two times of measurements)
  • Rating (Green: 1, Yellow: 2, Red: 3)

I want to get the IFC and FQC rating of one measuring point in one row (--> have 2 new attributes: IFC_Rating & FQC_Rating.

My problem is that the group attribute in the "Pivot" operator can only be one attribute.

What can I do?

Thank you in advance. Johannes

Best Answer

  • hanni_eulerhanni_euler MemberPosts:2Contributor I
    Solution Accepted

    Thank you for your reply, T-Bone.

    I solved it now this way:

    1. Filter for two example sets (1. all Examples with IFC 2. all Examples with FQC).
    2. Rename "Rating" in both exampleSets
    3. Join them with key attributes VIN, part, side, model code, measuring point

    Best regards.

    Thomas_Ott

Answers

  • Thomas_OttThomas_Ott RapidMiner Certified Analyst, RapidMiner Certified Expert, MemberPosts:1,761Unicorn

    Did you take a look at the Aggregate operator too? That allows you to group multiple attributes.

Sign InorRegisterto comment.