In keras documentation:
Arguments x:
- A tf.data.Dataset. Should return a tuple of either (inputs, targets) or (inputs, targets, sample_weights).
- A keras.utils.PyDataset returning (inputs, targets) or (inputs, targets, sample_weights).
Does it mean that the target values can be included in the input variable x? I have seen an example that uses x. Would it make the model inaccurate? Thanks in advance.
Method:
Model.fit()
x=(1,2,target value), y=(target value)
5