rust-ml / rust-ml/linfa

serde support for `linfa-ensemble`

Open Beginner friendly
#449 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

Hi all. When using linfa-ensemble I noticed the two fitted-model types (EnsembleLearner<M> and AdaBoost<M, L>) cannot be currently persisted, even though the underlying model M is, e.g. EnsembleLearner<DecisionTree<F, L>>.
The extension of serialization to the ensemble types should involve, in principle, only derive bounds with no manual impl Serialize. I'm working on this in my fork and I would be happy to contribute if you want.

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 locating the definitions of EnsembleLearner and AdaBoost<M, L> in linfa-ensemble, then inspect how fitted models currently handle serialization. Confirm the existing persistence behavior for an underlying model such as DecisionTree and add coverage showing that both ensemble types can be serialized and restored.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
machine-learning
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.