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

error on determine silhouette for k-means clustering

livnhnlivnhn Member Posts: 1 Learner III
edited November 2018 in Help

Hello

I'm using rapidminer version 8.1

I want to calculate the silhouette value for k-means clustering

For this purpose
I downloaded the plugin from the following URL:
http://korek.name/web/moje-tvorba/rapidminer-clustering_performance_plugin-average_silhouette-cophenetic_coefficient

 

My process image is as follows:photo_2018-03-10_13-46-58.jpg

 

In this process, the following error occurs:Snap2.jpg

 

 

Does anyone know where the problem is?

 

thanks
regards

Answers

  • David_ADavid_A Administrator, Moderator, Employee-RapidMiner, RMResearcher, Member Posts: 297 RM Research

    Hi,

     

    I don't know that specific extension.

    But from the error code my guess would be, that it might require a numerical cluster attribute. What you could try is to add a Nominal to Numerical  Operator after the clustered ExampleSet and change the cluster Attribute to unique integers (remember to check "include special attributes").

    No guarantee but it might do the trick.

     

    Best,
    David

     

  • sgenzersgenzer Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager

    hi @livnhn- that looks like a VERY old extension. I would not find it surprising if it produced errors with RapidMiner 8. If you're just trying to do performance calculations with k-means clustering, there are several native operators that can help:

     

    Screen Shot 2018-03-12 at 9.51.47 AM.png

     

    Scott

     

  • Muhammed_Fatih_Muhammed_Fatih_ Member Posts: 93 Maven
    Hi @sgenzer

    which one of the natives ones would you recommend to evaluate the k for k-means? 

    Cheers!
  • lionelderkrikorlionelderkrikor RapidMiner Certified Analyst, Member Posts: 1,195 Unicorn
    Hi Muhammed_Fatih_,

    You mean determine a priori the best number of clusters k ?
    You can use the Performance (Cluster Distance Performance) operator and set the main criterion as Average within centroid distance in the parameters.
    Then you can use an Optimization loop to plot the Average within centroid distance according to k (the number of clusters).
    The method is explained in this thread : 

    https://community.rapidminer.com/discussion/comment/61654#Comment_61654

    Hope this helps,

    Regards,

    Lionel 


  • Muhammed_Fatih_Muhammed_Fatih_ Member Posts: 93 Maven
    Hi @lionelderkrikor

    yes, the a priori determination of clusters k. Thank you for the hint!
Sign In or Register to comment.