KeelDS
KeelDS: A Python package for loading datasets from KEEL repository
KeelDS is a Python package that provides easy access to datasets from the KEEL repository, a popular source for machine learning datasets. This package simplifies the process of loading KEEL datasets, offering options for cross-validation and discretization.
Features
- Load KEEL datasets with a single line of code
- Access datasets pre-split into train and test sets
- Discretization option using the Fayyad algorithm (MDLP)
- Support for both balanced and imbalanced datasets
- Easy integration with machine learning workflows
Installation
Dependencies
- Python (>= 3.12)
- pandas (>= 2.2.2)
You can install KeelDS using pip:
pip install keel-ds
Usage
Here's a simple example of how to use KeelDS with a machine learning model:
from keel_ds import load_data
import numpy as np
from catboost import CatBoostClassifier
file_name = 'iris'
folds = load_data(file_name)
evaluations = []
for x_train, y_train, x_test, y_test in folds:
model = CatBoostClassifier(verbose=False)
model.fit(x_train, y_train)
evaluation = model.score(x_test, y_test)
evaluations.append(evaluation)
print(np.mean(evaluations)) # Output: 0.933333333333
Metadata
Release files for keel-ds 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| keel_ds-0.2.5.tar.gz | 14.0 MB | Without provenance | Details for keel_ds-0.2.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| keel_ds-0.2.5-py3-none-any.whl | Python 3 | none | any | Details for keel_ds-0.2.5-py3-none-any.whl |
Total release size: 28.2 MB
Release files / keel_ds-0.2.5.tar.gz
| Download URL | keel_ds-0.2.5.tar.gz |
|---|---|
| Size | 14.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
89e09293ccaeb72b49f4a7d602f6addc760e71064be9ff1410d069b1274776a2
|
|
BLAKE2b-256 checksum How to use checksums |
8e080c8d3a7bcc7d114086f833a7b27773080b763e34e19da47a8150e48171f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.12.3 Linux/6.8.0-47-generic
|
Release files / keel_ds-0.2.5-py3-none-any.whl
| Download URL | keel_ds-0.2.5-py3-none-any.whl |
|---|---|
| Size | 14.3 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
79faf1bd2f3ac2082d16eb9c8c49b2b1a60a5182e94464c5d32c7c642ea9650e
|
|
BLAKE2b-256 checksum How to use checksums |
7788c99136c61bb85663bd8cfb328fada55846eb10bd7271058160526e9674bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.12.3 Linux/6.8.0-47-generic
|
Security for keel-ds 0.2.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.