Install & Compatibility
Where this runs
tested against v0.12.2 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
build_error
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 24.8s · import 0.000s · 512MB
525MB installed
● package 525MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
ClassifierEvaluator
✓ from sklearn_evaluation import ClassifierEvaluator
✗ from sklearn_evaluation import ClassificationReport
Train a Random Forest classifier and generate a classification report.
from sklearn.datasets import make_classification
from sklearn.model_selection import train_test_split
from sklearn.ensemble import RandomForestClassifier
from sklearn_evaluation import ClassificationReport
X, y = make_classification(random_state=0)
X_train, X_test, y_train, y_test = train_test_split(X, y, random_state=0)
clf = RandomForestClassifier(random_state=0)
clf.fit(X_train, y_train)
y_pred = clf.predict(X_test)
report = ClassificationReport(y_test, y_pred)
print(report)
report.plot()
Upgrade
Version history
0.12.2latest on PyPI · released Sep 18, 2024
Audit
Dependencies
scikit-learnrequiredCore dependency for model evaluation
matplotlibrequiredRequired for plotting
pandasrequiredUsed for data manipulation and tables