Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Google Cloud Certified Professional Machine Learning Engineer · Google Cloud
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
the shape (-1, 2) indicates that the data can have any number of rows (denoted by -1), but must have exactly 2 columns. In machine learning, especially in frameworks like TensorFlow or Keras, the -1 acts as a placeholder for dynamic batch sizes, meaning the model can process inputs with any number of samples (rows), but each sample must have exactly 2 features (columns).
D) Any rows, 2 columns.
Went with D