diff --git a/machine_learning/evaluation.py b/machine_learning/evaluation.py new file mode 100644 index 0000000..ac2f9ad --- /dev/null +++ b/machine_learning/evaluation.py @@ -0,0 +1,7 @@ +import tensorflow as tf + +def evaluate_model(model, data, labels): + # Evaluate the performance of the trained model + loss, metric = model.evaluate(data, labels) + + return loss, metric