How to use optimize parameter (Grid) for Text Clustering (K-Means)?

anindyarani
anindyarani New Altair Community Member
edited November 5 in Community Q&A
i tried using optimize parameter grid module for K Means but its not working. I dont know how to use it properly. i searched online but all i can find is for clasification algorithm.

Answers

  • BalazsBaranyRM
    BalazsBaranyRM New Altair Community Member
    Hi!

    Yes. RapidMiner's Optimize Parameter operators are primarily meant for supervised learning methods (classification and regression).

    Optimize Parameters expects a "performance vector". Usually this is coming from a cross-validation inside the optimization. But any operator that returns performances can be used.

    Please check out the processes in the Samples repository, processes/07_Clustering. 
    Processes 08 and 09 show the usage of the Cluster Distance Performance operator.

    This operator will deliver the necessary metric in your Optimize Parameters.

    Regards,
    Balázs