kmeans-clustering
Here are 831 public repositories matching this topic...
-
Updated
Jun 18, 2020 - Jupyter Notebook
-
Updated
Jul 9, 2020 - C++
-
Updated
Aug 28, 2018 - Swift
-
Updated
Apr 5, 2020 - C++
-
Updated
May 15, 2017 - MATLAB
Can you explain how the data relate to the labels? I'm referring to this:
data = [[40.71,-74.01],[34.05,-118.24],[39.29,-76.61],
[45.52,-122.68],[38.9,-77.04],[36.11,-115.17]]
labels = ['New York', 'Los Angeles', 'Baltimore',
'Portland', 'Washington DC', 'Las Vegas']
-
Updated
May 12, 2020 - Python
-
Updated
Jul 2, 2020 - HTML
-
Updated
Jul 9, 2020 - Java
-
Updated
May 18, 2020 - Jupyter Notebook
-
Updated
Mar 13, 2020 - JavaScript
-
Updated
Jun 7, 2019 - Java
-
Updated
Nov 13, 2019 - Jupyter Notebook
-
Updated
Feb 15, 2020 - Python
-
Updated
Aug 16, 2019 - Python
Benchmark figure
Hi and thanks for this package.
In the benchmark figure in the readme, can you make the PK implementations easier to view & disentangle from the others?
For example, may make them dashed, or thicker, or have a different marker...
Or make all the PK the same color except w/ different markers...
-
Updated
Aug 15, 2018 - Jupyter Notebook
-
Updated
Sep 19, 2017 - Jupyter Notebook
-
Updated
Jan 27, 2018 - Python
-
Updated
Jun 6, 2018 - Python
-
Updated
Jan 22, 2019 - Python
-
Updated
May 19, 2020 - Jupyter Notebook
-
Updated
Dec 28, 2017 - Java
-
Updated
Jun 22, 2020 - Julia
-
Updated
Jul 26, 2019 - Jupyter Notebook
-
Updated
Nov 9, 2019 - Jupyter Notebook
Improve this page
Add a description, image, and links to the kmeans-clustering topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the kmeans-clustering topic, visit your repo's landing page and select "manage topics."


Hi I would like to propose a better implementation for 'test_indices':
We can remove the unneeded np.array casting:
Cleaner/New:
test_indices = list(set(range(len(texts))) - set(train_indices))
Old:
test_indices = np.array(list(set(range(len(texts))) - set(train_indices)))