From 5ba03f616c59171701b69e881b9e0bdc368f4d48 Mon Sep 17 00:00:00 2001 From: KOSASIH Date: Sat, 11 May 2024 14:22:26 +0700 Subject: [PATCH] Create prediction.py --- machine learning/prediction.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 machine learning/prediction.py diff --git a/machine learning/prediction.py b/machine learning/prediction.py new file mode 100644 index 0000000..594e6cc --- /dev/null +++ b/machine learning/prediction.py @@ -0,0 +1,7 @@ +import tensorflow as tf + +def predict(model, data): + # Make predictions using the trained model + predictions = model.predict(data) + + return predictions