Effective sampling methods within TensorFlow input functions.
Authors:
- William Fletcher
- Laxmi Prajapat
A collection of sampling techniques and real-world examples applied to training / testing data directly inside the input function using the tf.data API.
- Tensorflow (1.14)
There are two sampling methods presented:
Machine Learning examples on open-source datasets (local and AI Platform):
- Clone this repository
git clone https://github.com/teamdatatonic/tf-sampling.git
- Installing the
sampling
module from source:
python setup.py install
Execute tests from sampling/tests/
:
python -m pytest
Generate coverage report:
python -m pytest --cov=../io .
If you'd like to contribute, please fork the repository and make changes as you'd like. Pull requests are welcome.
Distributed under the MIT License. See LICENSE
for more information.