pyclustering using CCORE implementation

On the website pyclustering the author mention that: There is ability to use python code implementation only or CCORE (C/C++) implementation using special flag. But there is not any example how...

pyclustering: intended method of initializing kmeans

On wikipedia, there is a description of how to initialize the kmeans cluster locations according to a random method. In pyclustering, a python clustering library, the various clusters are...

Wrong file version after recent pip install of Python module

I'm surprised to have found a file from a different version of a python module I installed with pip. I installed pyclustering using pip3 install pyclustering The kmedoids.py file on my system...

Can't get result from the pyclustering object with reticulate

I want to cluster some data in R with library from Python (pyclustering). I am using reticulate package to do this: library(reticulate) # create some random array np <- import("numpy", convert =...

How to calculate Silhouette coefficient for k-mediod clustering using pyclustering lib?

I like try the k-mediod clustering method (PAM) over the dataset https://archive.ics.uci.edu/ml/datasets/seeds I don't know whether there exists other libraries other than pyclustering for this...

How to save SOM net model in pyclustering?

Model SOM net can not save by pickle, Python throw exception ValueError ctypes objects containing pointers cannot be pickled. How to solve this problem?

How do i use pyclustering to implement kmedoids?

I am not sure how I used kmedoids in python. I have installed the pyclustering module from https://pypi.org/project/pyclustering/ yet I'm not sure how i call kmedoids? I am trying to implement PAM...

Unable to install pytorch in conda due to setuptools is a dependency of conda and cannot be removed

conda install pytorch torchvision cudatoolkit=9.0 -c pytorch Here is the error I encountered RemoveError: 'setuptools' is a dependency of conda and cannot be removed from conda's operating...

K-medoids in python (Pyclustering)

list nodes under same cluster (using pyclustering-k_medoid) - Order them closest to farthest I use the .get_clusters() function under k-medoids/yclustering to get all clusters. I can print out all...

How To Use kmedoids from pyclustering with set number of clusters

I am trying to use k-medoids to cluster some trajectory data I am working with (multiple points along the trajectory of an aircraft). I want to cluster these into a set number of clusters (as I...

How to fix an error when trying to cluster 2 rows in a csv file

I am trying to learn how to cluster a simple data set. 'suns.csv' is a csv that has just 2 columns of data, id like to do a clustering model via python and the pyclustering package The code below...

Module not found error in Anaconda terminal

Can somebody please explain why this is happening? (base) C:\Users\Harry\Desktop>pip show numpy Name: numpy Version: 1.17.4 Summary: NumPy is the fundamental package for array computing with...

Why does K-Medoids give different clusters while using the same data?

What I want to do is create 3 clusters of coordinates based on the actual distance between the coordinates (in meters). I'm using the pyclustering (v 0.9.3.1) library to create the clustering with...

sklearn KMedoids returns empty clusters

I am using KMedoids from sklearn_extra.cluster. I use it with a precalculated distance matrix (metric='precomputed') and it used to work. However, we found a bug in the way the distance matrix was...

Why does `conda list cudnn` have no output after `conda install pytorch torchvision cudatoolkit=10.2 -c pytorch` installation

*Please feel free to vote "Reopen" at the bottom of this question. The reason is that I have marked this as a duplicate although the answers there are not clear enough for this question.* As soon...

pyclustering visualising xmeans when the matrix has more than three dimensions

I'm trying to cluster and visualise some data with xmeans from the pyclustering lib. I copied the code directly from the example in the documentation, from pyclustering.cluster import...