serde support for `linfa-ensemble`
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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