Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

author: Yisong Chen

Maintained as a lightweight toolkit for quick benchmarking workflows.

Enhanced Benchmark Tool

A small Python package for dataset profiling and model benchmarking (scikit-learn compatible).

Install (dev)

python3 -m venv .venv
source .venv/bin/activate
pip install -U pip
pip install -e '.[dev]'

Quickstart

Dataset profiling

from enhanced_benchmark_tool import profile_dataset

profile = profile_dataset("data.csv")
print(profile["shape"], profile["columns"])

Model benchmarking

from sklearn.tree import DecisionTreeClassifier
import pandas as pd
from enhanced_benchmark_tool import benchmark_model

df = pd.DataFrame({"A": [1,2,3,4], "B": [5,6,7,8], "target": [0,1,0,1]})
X = df[["A","B"]]
y = df["target"]

metrics = benchmark_model(DecisionTreeClassifier(), X, y)
print(metrics["accuracy"], metrics["training_time"])

CLI

ebt-profile --input data.csv

Development

python -m venv .venv
. .venv/bin/activate
pip install -e '.[dev]'
pytest -q

About

Enhanced Benchmark Creation Tool: Automates dataset profiling, model benchmarking, and performance visualization for streamlined evaluation and reproducible results.

Resources

Stars

110 stars

Watchers

9 watching

Forks

Used by

Contributors

Languages