rust-ml / rust-ml/linfa

How to do clustering grid search with multiple CPUs / GPUs?

Open
#337 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
4.7k
Forks
334
Avg merge
39m
Merged PRs (30d)
1

Description

Currently i'm building a wasm project that will expose some clustering functionality to the browser.

Questions:

  • Do we have grid search functionality? Or should I simply loop over multiple model.fit calls sequentially?
  • What's the easiest way to implement this for 3x clustering techniques?

I'm looking to use all of these:
https://github.com/rust-ml/linfa/blob/master/algorithms/linfa-clustering/examples/dbscan.rs
https://github.com/rust-ml/linfa/blob/master/algorithms/linfa-clustering/examples/kmeans.rs
https://github.com/rust-ml/linfa/blob/master/algorithms/linfa-clustering/examples/optics.rs

  • Also do I need to implement multi-core processing similar to joblib in python? Or is this handled by linfa?

Thanks in advance, and great package btw!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked linfa-clustering DBSCAN, KMeans, and OPTICS examples and the repository's existing search or parallel-processing entry points. Determine whether grid search and multi-core or GPU execution are already supported, and define whether the outcome should be usage guidance, documentation, or a scoped implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, wasm
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.