Dataset generator utility for data science projects
Project description
Ensembleset
Ensemblesets generates dataset ensembles by applying a randomized sequence of feature engineering methods to a randomized subset of input features.
1. Installation
Install the pre-release alpha from PyPI with:
pip install ensembleset
2. Usage
See the example usage notebook.
Initialize an ensembleset class instance, passing in the label name a training DataFrame. Optionally, include a test DataFrame and/or list of any string features. Then call the make_datasets() to generate an ensembleset, specifying:
- The number of individual datasets to generate.
- The number of feature to randomly select for each feature engineering step.
- The number of feature engineering steps to run.
import ensembleset.dataset as ds
data_ensemble=ds.DataSet(
label='label_column_name',
train_data=train_df,
test_data=test_df
string_features=['string_feature_column_names']
)
data_ensemble.make_datasets(
n_datasets=10,
n_features=7,
n_steps=5
)
By default, generated datasets will be saved to HDF5 in data/dataset.h5 using the following structure:
dataset.h5
├──train
│ ├── labels
| ├── 1
| ├── .
| ├── .
| ├── .
| └── n
│
└──test
├── labels
├── 1
├── .
├── .
├── .
└── n
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 ensembleset-1.0a10.tar.gz.
File metadata
- Download URL: ensembleset-1.0a10.tar.gz
- Upload date:
- Size: 238.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ebe65c29ae88d40585ffcacd3df43a9674fc6d164926363e9f1c24932f2ad3e
|
|
| MD5 |
897ae1c1316ac120de456a10f0317226
|
|
| BLAKE2b-256 |
b4ffd6b3cb666af802f536fdfef2b5f7e4167421113222e2eafe56506fddb81d
|
Provenance
The following attestation bundles were made for ensembleset-1.0a10.tar.gz:
Publisher:
publish_pypi.yml on gperdrizet/ensembleset
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ensembleset-1.0a10.tar.gz -
Subject digest:
6ebe65c29ae88d40585ffcacd3df43a9674fc6d164926363e9f1c24932f2ad3e - Sigstore transparency entry: 209367275
- Sigstore integration time:
-
Permalink:
gperdrizet/ensembleset@c8bd6a6e73dce828193235b7a7e211deb54d37b4 -
Branch / Tag:
refs/tags/v1.0-alpha10 - Owner: https://github.com/gperdrizet
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_pypi.yml@c8bd6a6e73dce828193235b7a7e211deb54d37b4 -
Trigger Event:
release
-
Statement type:
File details
Details for the file ensembleset-1.0a10-py3-none-any.whl.
File metadata
- Download URL: ensembleset-1.0a10-py3-none-any.whl
- Upload date:
- Size: 20.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4938e5da7c163cfcb79c090f7331daee587c14b9b4d1e5354457714edac15d2a
|
|
| MD5 |
6162b29047e0dd8e6e53a16a9391d1da
|
|
| BLAKE2b-256 |
10ad9895c17ff6035b2f3db11707910269965fb04be9d68d49a67db567895c1a
|
Provenance
The following attestation bundles were made for ensembleset-1.0a10-py3-none-any.whl:
Publisher:
publish_pypi.yml on gperdrizet/ensembleset
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ensembleset-1.0a10-py3-none-any.whl -
Subject digest:
4938e5da7c163cfcb79c090f7331daee587c14b9b4d1e5354457714edac15d2a - Sigstore transparency entry: 209367277
- Sigstore integration time:
-
Permalink:
gperdrizet/ensembleset@c8bd6a6e73dce828193235b7a7e211deb54d37b4 -
Branch / Tag:
refs/tags/v1.0-alpha10 - Owner: https://github.com/gperdrizet
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_pypi.yml@c8bd6a6e73dce828193235b7a7e211deb54d37b4 -
Trigger Event:
release
-
Statement type: