rust-ml / rust-ml/linfa

Add 20 Newsgroups dataset to `linfa-datasets` and use it instead of `winequality` in the `linfa-bayes` example

Open
#198 5 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

winequality isn't a good dataset for linfa-bayes, so we need to replace it with something better in the example code. The 20 Newsgroups is already used here. We just need to move it into linfa-datasets.

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 reading algorithms/linfa-preprocessing/examples/count_vectorization.rs, where the 20 Newsgroups dataset is already used, and inspect the linfa-datasets and linfa-bayes example code. Move the dataset into linfa-datasets, replace winequality in the linfa-bayes example, and verify that the example still runs with the new dataset.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
data, machine-learning
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.