---
title: "Comment by Arthur Kaza on \"Build, Compile, and Fit Models in TensorFlow \nPart II\" | Hashnode"
description: "This will cause an error because the model wouldn’t know what to learn from during training. You are right, it means that I was considering data as our input da"
url: "https://hashnode.com/posts/build-compile-and-fit-models-in-tensorflow-part-ii/64dad1c9ff6c76c54a36b6e4/comment/64e676bccae237eabaabaeee"
---

[Discussion](https://hashnode.com/posts/build-compile-and-fit-models-in-tensorflow-part-ii/64dad1c9ff6c76c54a36b6e4)

Comment [Build, Compile, and Fit Models in TensorFlow Part II](https://hashnode.com/posts/build-compile-and-fit-models-in-tensorflow-part-ii/64dad1c9ff6c76c54a36b6e4)

[Arthur Kaza](https://hashnode.com/@ArthurStarks)

[Aug 23, 2023](https://hashnode.com/posts/build-compile-and-fit-models-in-tensorflow-part-ii/64dad1c9ff6c76c54a36b6e4/comment/64e676bccae237eabaabaeee)

This will cause an error because the model wouldn’t know what to learn from during training. You are right, it means that I was considering data as our input data (x) and target (y) at the same time.

Both input data (x) and target data (y) are essential for the training phase. So, it’s important to split your data into x (features) and y (labels) before training your model. Thanks [A A](https://hashnode.com/@prosson) for the feedback next time I will pay attention to be more clear with that.
