ium_444386/evaluation.py
2022-04-27 21:06:37 +02:00

13 lines
284 B
Python

import tensorflow as tf
import os
import pandas as pd
import numpy as np
import csv
from sklearn.model_selection import train_test_split
x_test = pd.read_csv('xtest.csv')
y_test = pd.read_csv('ytest.csv')
model = tf.keras.models.load_model('./model')
model.evaluate(x_test, y_test)