The Altair Community is migrating to a new platform to provide a better experience for you. The RapidMiner Community will merge with the Altair Community at the same time. In preparation for the migration, both communities are on read-only mode from July 15th - July 24th, 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.
Options

Cluster not showing in dataset

dbotdbot Member Posts: 8 Newbie
I am running the cluster operator. Even after selecting "add cluster attribute", it is not showing in my dataset. What am I doing wrong?

Best Answers

  • Options
    ceaperezceaperez Member Posts: 541 Unicorn
    edited July 2 Solution Accepted
    Hi @dbot
    but are you able to view the results before to use the write to excel operator?
    you can introduce a breakpoint after the clustering visualization opertator and review the results?
    best, 
    Cesar 
  • Options
    dbotdbot Member Posts: 8 Newbie
    Solution Accepted
    Got it! Thank you so much. 
  • Options
    ceaperezceaperez Member Posts: 541 Unicorn
    Solution Accepted
    That’s great 

Answers

  • Options
    ceaperezceaperez Member Posts: 541 Unicorn
    Hi @dbot,
    are you working with Cluster Model from Data operator?
    This operator is for converting an external dataset with cluster attribute in a centroid-based cluster that you can use inside of AI Studio (Rapidminer) with other operators that works with Cluster outputs, like Cluster model visualizer. 
    Is you are trying to clustering with AI Studio, there are a lot of operators like K-Means, K-Medoids and so on. 

    Best, 

    Cesar
  • Options
    dbotdbot Member Posts: 8 Newbie
    I am using Kmeans - cluster model operator. I already have the visualizer also included. For some reason, I am unable to see how the clusters were assigned for each row.
  • Options
    dbotdbot Member Posts: 8 Newbie
    Here is my model. However, even after selecting the labels option, it does not produce the clusters on the dataest used.
  • Options
    ceaperezceaperez Member Posts: 541 Unicorn
    Hi @dbot
    Are you connecting the vis output port to the res port?
    Another option is to connect the second clu output port from the clustering operator to the res port and you'll see the dataset with a new attribute for the cluster value.
    can you share your process?
    best,
    cesar
  • Options
    dbotdbot Member Posts: 8 Newbie
    I tried the alternative option, but it doesn't seem to be working. Maybe because I am  using the multiplier option with clustering? I sent a screenshot of my process. Can you see this by chance?
  • Options
    dbotdbot Member Posts: 8 Newbie
    I am so sorry. Can you break this down for a newbie? ;)
  • Options
    ceaperezceaperez Member Posts: 541 Unicorn
    edited July 2
    @dbot
    your process looks fine, but before to export the results, you can check it into the AI Studio. 
    You can right-click on clustering operator and select Breakpoint after. After run your process you are able to see the  clustering  results.
    Also your write excel operator output isn't connected to the res port on the right side
    please check it. 

    Cesar

  • Options
    dbotdbot Member Posts: 8 Newbie
    Yes! That worked. How do I get that to save in my original data source within RapidMiner?
  • Options
    dbotdbot Member Posts: 8 Newbie
    Thank you!
Sign In or Register to comment.