Skip to main content

Image data split package for machine learning

Project description

Descripstats

The 'image-data-split' package provides a convenient tool for splitting image data into separate training, validation, and testing sets. With this package, you can easily manage the distribution of your image dataset for machine learning tasks. The package offers a simple function, 'image_split', that takes input and output directories, along with desired split ratios and an optional seed for randomization. The package is designed to streamline the process of data preparation, making it easier to organize and manage image datasets for model training and evaluation.

Developed by Shouke Wei, Ph.D. from Deepsim Academy, Deepsim Intelligence Technology Inc. (c) 2023

Install the package

pip install image-data-split

import the package

from image_split import train_val_test_split

then use the train_val_test_split() directly. Or

import image_split as sp

then use sp.train_val_test_split()

Document

An example: https://github.com/shoukewei/image_split/blob/main/docs/example.ipynb

PyPI: https://pypi.org/project/image-data-split

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

image-data-split-1.0.2.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

image_data_split-1.0.2-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page