Probabilistic Scoring List classifier
Project description
Probabilistic Scoring Lists
Install
pip install scikit-psl
Usage
from skpsl import ProbabilisticScoringList
from sklearn.datasets import make_classification
from sklearn.model_selection import cross_val_score
# Generating synthetic data with continuous features and a binary target variable
X, y = make_classification(random_state=42)
X = (X > .5).astype(int)
clf = ProbabilisticScoringList([-1, 1, 2])
print(cross_val_score(clf, X, y, cv=5))
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
scikit_psl-0.1.0.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for scikit_psl-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cede558e3e66b9d67a19364891f31b91e6c21791c39b628cc552eeff82b78ee2 |
|
MD5 | bff88d00c9e1e4355edbac0340ba350b |
|
BLAKE2b-256 | e70b31e78f68e3b98e93ea6f581d752f06dcbe7ec3a92e8ae6911087c0df72ce |