Skip to content

Commit

Permalink
Merge pull request #597 from mmaksi/main
Browse files Browse the repository at this point in the history
The predict function must take X_test not y_test
  • Loading branch information
mrdbourke authored Oct 12, 2023
2 parents d7cde3d + 8da0981 commit bdc7b60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 02_neural_network_classification_in_tensorflow.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1798,7 +1798,7 @@
},
"source": [
"# Make predictions with our trained model\n",
"y_reg_preds = model_3.predict(y_reg_test)\n",
"y_reg_preds = model_3.predict(X_reg_test)\n",
"\n",
"# Plot the model's predictions against our regression data\n",
"plt.figure(figsize=(10, 7))\n",
Expand Down Expand Up @@ -6874,4 +6874,4 @@
]
}
]
}
}

0 comments on commit bdc7b60

Please sign in to comment.