Browse Source

Improve kmeans program

pull/5/head
bushuhui 3 years ago
parent
commit
2ce44c76d5
5 changed files with 132 additions and 293 deletions
  1. +0
    -0
      0_python/README_ENG.md
  2. +16
    -18
      2_knn/knn_classification.ipynb
  3. +114
    -273
      3_kmeans/1-k-means.ipynb
  4. BIN
      references_tips/cheatsheet/scikit-learn_algorithm_cheat-sheet.jpg
  5. +2
    -2
      references_tips/datasets.ipynb

0_python/README_EN.md → 0_python/README_ENG.md View File


+ 16
- 18
2_knn/knn_classification.ipynb
File diff suppressed because it is too large
View File


+ 114
- 273
3_kmeans/1-k-means.ipynb
File diff suppressed because it is too large
View File


BIN
references_tips/cheatsheet/scikit-learn_algorithm_cheat-sheet.jpg View File

Before After
Width: 720  |  Height: 449  |  Size: 56 kB

+ 2
- 2
references_tips/datasets.ipynb View File

@@ -246,7 +246,7 @@
],
"source": [
"import matplotlib.pyplot as plt\n",
"from sklearn.datasets import make_blobsb\n",
"from sklearn.datasets import make_blobs\n",
"\n",
"# Generate 3 blobs with 2 classes where the second blob contains\n",
"# half positive samples and half negative samples. Probability in this\n",
@@ -403,7 +403,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.2"
"version": "3.8.5"
}
},
"nbformat": 4,


Loading…
Cancel
Save