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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...