Skip to content

Clustering utilities used for a subject in a Master's degree in Applied Computing.

Notifications You must be signed in to change notification settings

Perer876/clustering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clustering

This repository holds some clustering utilities used for a subject in a Master's degree in Applied Computing.

Requirements

  • uv tool to manage python virtual environment and dependencies.

Setup

  1. Clone the repository:

    git clone git@github.com:Perer876/clustering.git
    cd clustering
  2. Create environment, install dependencies and install cli:

    uv tool install ./ --editable

Usage

clustering --help

Create blobs dataset:

clustering create-dataset data/raw/blobs.csv --samples 100 --features 2 --centers 3 --seed 1

Cluster using bsas:

clustering bsas data/raw/blobs.csv data/processed/blobs_bsas.csv --threshold 1.5 --max-clusters 5

Plot a dataset:

clustering plot data/raw/blobs.csv plots/blobs.png

K-means

clustering k-means data/raw/100S_2F_3C.csv data/processed/k-means_3k.csv --k 3 --seed 0
clustering plot-clusters data/processed/k-means_3k.csv plots/k-means_3k.png

About

Clustering utilities used for a subject in a Master's degree in Applied Computing.

Topics

Resources

Stars

Watchers

Forks

Languages