2.1 Introduction to NN (L02: Nearest Neighbor Methods)

Поділитися
Вставка
  • Опубліковано 15 лис 2024

КОМЕНТАРІ • 4

  • @Raminber
    @Raminber 4 роки тому +1

    Thank you very much for your great lecture. Is there any simple way, to specify how large a cluster should be? Let's say I have 20 datapoints, which I want to cluster in groups of each 5 points. Is that possible with sklearn?

    • @SebastianRaschka
      @SebastianRaschka  4 роки тому +1

      I am not sure whether there are clustering algos that can produce same-sized clusters. The only one I can think of is a variation of K-means called "same-sized K-Means". It's described here: elki-project.github.io/tutorial/same-size_k_means. It would require some tweaking of the scikit-learn KMeans class to get that to work in scikit-learn though.

  • @ZhuPeter-pm9rd
    @ZhuPeter-pm9rd Рік тому

    ❤❤❤❤