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

Cluster not showing in dataset

dbotdbot Member Posts: 8 Learner I
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

  • 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 
  • dbotdbot Member Posts: 8 Learner I
    Solution Accepted
    Got it! Thank you so much. 
  • ceaperezceaperez Member Posts: 541 Unicorn
    Solution Accepted
    That’s great 

Answers

  • 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
  • dbotdbot Member Posts: 8 Learner I
    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.
  • dbotdbot Member Posts: 8 Learner I
    Here is my model. However, even after selecting the labels option, it does not produce the clusters on the dataest used.
  • 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
  • dbotdbot Member Posts: 8 Learner I
    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?
  • dbotdbot Member Posts: 8 Learner I
    I am so sorry. Can you break this down for a newbie? ;)
  • 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

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