0

I am new to ML. I am trying to implement k-means which uses a BIC function that takes cluster and data points as arguments and returns BIC value. I need a function to find best k value that is maximise the BIC. Can anyone provide a code snippet for BIC function in python. I searched everywhere I couldn't find exact what I needed

KSK
  • 101
  • 2
  • Refer to this [link](https://www.reddit.com/r/statistics/comments/5h2rbw/does_python_have_a_package_for_aicbic/) and [this](https://stackoverflow.com/questions/60823638/python-function-for-bayesiasn-information-criterion-bic) – Pluviophile Jun 01 '20 at 08:37
  • Or this question https://stats.stackexchange.com/questions/90769/using-bic-to-estimate-the-number-of-k-in-kmeans – ralph Jun 01 '20 at 08:39
  • yes thank you all.... I found those links later – KSK Jun 15 '20 at 12:46

0 Answers0