Rectified Gaussian Kernel Multi-View K-Means Clustering Algorithm
Project description
MVKM-ED: Rectified Gaussian Kernel Multi-View K-Means Clustering
Overview
MVKM-ED is a Python implementation of the Rectified Gaussian Kernel Multi-View K-Means Clustering algorithm. This algorithm effectively handles multiple views of data while automatically learning view importance weights.
Features
- Privacy-preserving multi-view clustering
- Adaptive view weight learning
- Rectified Gaussian kernel for distance computation
- Automatic parameter adaptation
- Efficient implementation with NumPy
Requirements
- Python 3.7+
- NumPy >= 1.19.0
- SciPy >= 1.6.0
- scikit-learn >= 0.24.0
Installation
pip install mvkm-ed
Usage
import numpy as np
from mvkm_ed import MVKMED, MVKMEDParams
# Create sample data
X1 = np.random.randn(100, 10) # First view
X2 = np.random.randn(100, 15) # Second view
X = [X1, X2]
# Set parameters
params = MVKMEDParams(
cluster_num=3,
points_view=2,
alpha=2.0,
beta=0.1,
max_iterations=100,
convergence_threshold=1e-4
)
# Create and fit model
model = MVKMED(params)
model.fit(X)
# Get cluster assignments
cluster_labels = model.index
Parameters
cluster_num: Number of clusterspoints_view: Number of data viewsalpha: Exponent parameter to control view weightsbeta: Distance control parametermax_iterations: Maximum number of iterationsconvergence_threshold: Convergence criterion threshold
Citation
If you use this code in your research, please cite:
@article{sinaga2024rectified,
title={Rectified Gaussian Kernel Multi-View K-Means Clustering},
author={Sinaga, Kristina P. and others},
journal={arXiv},
year={2024}
}
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contact
- Kristina P. Sinaga
- Email: kristinasinaga41@gmail.com
Acknowledgments
This work was supported by the National Science and Technology Council, Taiwan (Grant Number: NSTC 112-2118-M-033-004)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mvkm_ed-1.0.0.tar.gz.
File metadata
- Download URL: mvkm_ed-1.0.0.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9240dd6daf9d299c5c16babc43e209d6c2aed51dfc31013bfaf41df6243575b6
|
|
| MD5 |
ac87dec6b0089d094301ba6d6376a294
|
|
| BLAKE2b-256 |
46b37c978ede8a31b93335aa8fe661067fa809117735b94b1b2b1f7c6eb735d2
|
File details
Details for the file mvkm_ed-1.0.0-py3-none-any.whl.
File metadata
- Download URL: mvkm_ed-1.0.0-py3-none-any.whl
- Upload date:
- Size: 16.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6aaab91f6c261ff98ef1e39bf602c51f2af5653a3b31715c366a26ec47ab00ee
|
|
| MD5 |
1e59630c7188b57a882dc56824ff7d64
|
|
| BLAKE2b-256 |
c0c9492b2d5134100b49389bd5c0cefbf11fce53514b1899e903271fc335d409
|