XMeans | Parameter-free K-means clustering : X-means | Machine Learning library
kandi X-RAY | XMeans Summary
kandi X-RAY | XMeans Summary
Implementation of XMeans algorithm based on Pelleg, Dan, and Andrew W. Moore. "X-means: Extending K-means with Efficient Estimation of the Number of Clusters." ICML. Vol. 1. 2000. See tests.py for usage examples.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Calculate the k - th k - means clustering .
- Fit KMeans clustering .
- r Log - likelihood function
- Initialize XMeans algorithm .
XMeans Key Features
XMeans Examples and Code Snippets
Community Discussions
Trending Discussions on XMeans
QUESTION
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,
...ANSWER
Answered 2020-Nov-22 at 18:01In line with the error that you got:
Only objects with size dimension 1 (1D plot), 2 (2D plot) or 3 (3D plot) can be displayed. For multi-dimensional data use 'cluster_visualizer_multidim'.
You have to use cluster_visualizer_multidim
as it was mentioned. There is a documentation (pyclustering 0.10.1) with an example: https://pyclustering.github.io/docs/0.10.1/html/dc/d6b/classpyclustering_1_1cluster_1_1cluster__visualizer__multidim.html
For example, if you have a data (D > 3
) and you want to display (x0, x1)
and (x0, x2)
then you can display it in the following way:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install XMeans
You can use XMeans like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page