Add 20 Newsgroups dataset to `linfa-datasets` and use it instead of `winequality` in the `linfa-bayes` example
Open
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
- 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 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