Cross Validation, Grid Search and Random Search for TensorFlowDatasets.
Project description
Copyright (c) 2020 Jan S.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- Description: [![Python](https://img.shields.io/badge/python-%203.8-blue)]()
[![License](https://camo.githubusercontent.com/890acbdcb87868b382af9a4b1fac507b9659d9bf/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://github.com/franneck94/TensorCross/blob/main/LICENSE) [![Build](https://github.com/franneck94/TensorCross/workflows/Test%20and%20Coverage/badge.svg?branch=main)](https://github.com/franneck94/TensorCross/actions?query=workflow%3A%22Test+and+Coverage%22) [![codecov](https://codecov.io/gh/franneck94/TensorCross/branch/main/graph/badge.svg)](https://codecov.io/gh/franneck94/TensorCross)
# TensorCross
Cross Validation, Grid Search and Random Search for tf.data.Datasets in TensorFlow 2.3 and Python 3.8.
## Motivation
Currently, there is the tf.keras.wrapper.KerasClassifier/KerasRegressor class, which can be used to transform your tf.keras model into a sklearn estimator. However, this approach is only applicable if your dataset is a numpy.ndarray for your x and y data. If you want to use the new tf.data.Dataset class, you cannot use the sklearn wrappers.
## Implemented Features
Random Search (with one validation set)
Grid Search (with one validation set)
### TODO
Random search with cross validation
Grid search with cross validation
Platform: UNKNOWN Classifier: License :: OSI Approved Programming Language :: Python :: 3.8 Topic :: Software Development Operating System :: Microsoft :: Windows Operating System :: POSIX Operating System :: Unix Operating System :: MacOS
Requires-Python: ==3.8
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
Hashes for tensorcross-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e49b7d64eda03b648f3c781aead6a8ec67a7af74e5699a25db65a8bf828d7e0 |
|
MD5 | 7490256b63b168e173db0aebebcf5403 |
|
BLAKE2b-256 | ae7c3538973f8ad1564115b4a295d8dec69fa11954e2842cc8be4c42942bd4d4 |