All Apps and Add-ons

Is there a way to fix the random seed used within the kmeans algorithm with reproducible clustering?

TAE
Engager

In my new dashboard, I use the Kmeans algorithm twice.  The clustering is different in each case, is there a way to fix the random seed used within the algorithm?  I want to fix the random nature of the algorithm so that I get repeatable clustering.  

 

Thank you

Labels (2)
Tags (1)
0 Karma

TAE
Engager

Sorry Everyone,

I solved the problem by "reading."  The docs say:

Each clustering may be slightly different, unless you specify the random_state parameter.

So, I used the parameter and sure enough, it worked.

Tags (1)
0 Karma
Get Updates on the Splunk Community!

What's New in Splunk Cloud Platform 9.3.2411?

Hey Splunky People! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2411. This release ...

Buttercup Games: Further Dashboarding Techniques (Part 6)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...