A package will help you to split your data frame into training, validation and testing subsets
Working:
Splits arrays or matrices into random train, validation and test subsets "train_val_test_split" function accepts independent features(X), dependent feature (y), validation size (default size = 0.15),test size (default size = 0.15) and shuffle (default = True) as input parameters and returns X_train,X_val,X_test,y_train,y_val,y_test
Note: If shuffle parameter is True, after shuffling index of all records will be reset in ascending order
How to use it:
from vinzy_splitter import train_val_test_split
X_train,X_val,X_test,y_train,y_val,y_test = train_val_test_split(X,y,val_size=0.15,test_size=0.15,shuffle=True)
after executing the function your data frame will be splitted into training,validation and testting subsets based on validation and testing size you have provided, deafult value will be 15% for both and suffling will be True.
Metadata
Release files for vinzy-splitter 1.0.1
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 | |
|---|---|---|---|---|
| vinzy-splitter-1.0.1.tar.gz | 2.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vinzy_splitter-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.0 kB
Release files / vinzy-splitter-1.0.1.tar.gz
| Download URL | vinzy-splitter-1.0.1.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7491cc73d087ef9bc6ebf9c0f2798c160fbf2a7bf8e75e2d6f52edcb0bfa4494
|
|
BLAKE2b-256 checksum How to use checksums |
5b76949e74df6ed65f73927c6b6e496bafb05630967202563e37cace7ad94437
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.4
|
Release files / vinzy_splitter-1.0.1-py3-none-any.whl
| Download URL | vinzy_splitter-1.0.1-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
27aa643b341d400449d203f0cd672353448efe21018cddfc40d8e86fcacd4b86
|
|
BLAKE2b-256 checksum How to use checksums |
1f249b4de433ed549aaf53ad96c7ed9febd790daa282573f3ca17d9a7d448c0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.4
|
Security for vinzy-splitter 1.0.1
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.