2.1 Introduction to NN (L02: Nearest Neighbor Methods)

Поделиться
HTML-код
  • Опубликовано: 19 дек 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 Год назад

    ❤❤❤❤