Riccardo Di Sipio
1 min readApr 16, 2019

--

Hi,

this post is really useful. I’m trying out TF-2.0 now. I’m not sure I understand how to split the sample I pass to the fit function into a validation and training. In native keras, I’d do model.fit(X,y,validation_split=0.2). Here x is a tensor, so y is not needed. But TF complains if I pass a validation_split parameter. I suppose this feature should be made clearer for end users.

--

--

Riccardo Di Sipio
Riccardo Di Sipio

Written by Riccardo Di Sipio

Senior Machine Learning developer at Dayforce. NLP, LLMs, graph neural networks. Formerly physicist at U Toronto, Bologna, CERN LHC/ATLAS.

No responses yet