Lightweight ML benchmarking tool for reproducible model comparison
Project description
Rival
Lightweight ML benchmarking CLI tool. Compare multiple machine learning models on the same dataset with a single command. No deep learning, no cloud, no complexity -- just clean and reproducible model comparison.
Installation
pip install rival
For XGBoost support:
pip install rival[xgb]
Usage
rival run --dataset data.csv --target target_column --models lr,rf,xgb
Options
| Flag | Default | Description |
|---|---|---|
--dataset / -d |
(required) | Path to CSV file |
--target / -t |
(required) | Target column name |
--models / -m |
lr,rf |
Comma-separated: lr, rf, xgb |
--missing |
fill_mean |
Missing value strategy: fill_mean or drop |
--seed / -s |
42 |
Random seed for reproducibility |
--test-size |
0.2 |
Test split ratio |
--output / -o |
(none) | Export results as JSON |
Example Output
------------------------------------------------------------
MODEL ACCURACY PRECISION RECALL F1 LATENCY
------------------------------------------------------------
LR 0.8523 0.8461 0.8300 0.8380 4.2ms
RF 0.8912 0.8850 0.8720 0.8784 11.8ms
XGB 0.9076 0.9031 0.8900 0.8965 17.3ms
------------------------------------------------------------
Supported Models
- lr -- Logistic Regression (scikit-learn)
- rf -- Random Forest (scikit-learn)
- xgb -- XGBoost (optional, requires
pip install rival[xgb])
Motivation
Compare ML models easily. No boilerplate, no notebooks, no scattered scripts. One command, clean output, deterministic results.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rivalml-0.1.0.tar.gz.
File metadata
- Download URL: rivalml-0.1.0.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a82056169df4ae996dca0b410933c8deceacfe74972b107667031e1d5fbc50f4
|
|
| MD5 |
fe24669679f4c1376ad8bfb8917e9b41
|
|
| BLAKE2b-256 |
7238df9a49150734bad67005081cc823e041fbf89f51edd0ef93bb016bac3817
|
Provenance
The following attestation bundles were made for rivalml-0.1.0.tar.gz:
Publisher:
publish.yml on MrFaruk0/rival
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rivalml-0.1.0.tar.gz -
Subject digest:
a82056169df4ae996dca0b410933c8deceacfe74972b107667031e1d5fbc50f4 - Sigstore transparency entry: 1682653655
- Sigstore integration time:
-
Permalink:
MrFaruk0/rival@c6f1ecc70c65a665320f5a033316e1ac4cddbf2d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/MrFaruk0
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c6f1ecc70c65a665320f5a033316e1ac4cddbf2d -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file rivalml-0.1.0-py3-none-any.whl.
File metadata
- Download URL: rivalml-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f339f98b88cda0caa7e8df54085713ef77cce7bcf14d644b1969f3e316f4bffb
|
|
| MD5 |
9990faaaaa3d102f1435eb3d246da77f
|
|
| BLAKE2b-256 |
e3e3a20e2d77b0cf1dcec1d87ecb41a5631835d0c6c6598aa7539f473b108220
|
Provenance
The following attestation bundles were made for rivalml-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on MrFaruk0/rival
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rivalml-0.1.0-py3-none-any.whl -
Subject digest:
f339f98b88cda0caa7e8df54085713ef77cce7bcf14d644b1969f3e316f4bffb - Sigstore transparency entry: 1682653704
- Sigstore integration time:
-
Permalink:
MrFaruk0/rival@c6f1ecc70c65a665320f5a033316e1ac4cddbf2d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/MrFaruk0
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c6f1ecc70c65a665320f5a033316e1ac4cddbf2d -
Trigger Event:
workflow_dispatch
-
Statement type: