rust-ml / rust-ml/linfa

Support streaming/incremental fitting

Open
#349 0 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

Memory is limited and using swap is painfully slow to fit massive amounts of data. There is discussion of incremental fitting in https://github.com/rust-ml/linfa/issues/8 years ago but I cannot find incremental_fit in the code. Spark has https://spark.apache.org/docs/3.1.1/api/python/reference/api/pyspark.mllib.regression.StreamingLinearRegressionWithSGD.html which also helps with limited memory with streaming data.

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 existing fitting APIs and the earlier incremental fitting discussion in issue #8; the issue does not name implementation files or tests. Compare the desired behavior with Spark's StreamingLinearRegressionWithSGD reference. Done means defining and implementing a clear streaming or incremental fitting approach for massive datasets without requiring all data in memory.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.