1 year ago
#387184
Ahmad
How to do k-Fold Cross Validation with tf.data.Dataset API?
It easy to do k-Fold Cross Validation by using scikit-learn package. There we separately use data and labels. However, here combine data and labels before feeding into model. like:
tf.data.Dataset.from_tensor_slices((X, Y))
.shuffle(batch_size * 100)
.batch(batch_size)
In this case how to do K-fold cross validation?
python
tensorflow2.0
tf.keras
tf.data.dataset
0 Answers
Your Answer