21 lines
479 B
Python
21 lines
479 B
Python
import pandas
|
|
import os
|
|
|
|
from keras.applications.densenet import layers
|
|
|
|
from sklearn.model_selection import train_test_split
|
|
import tensorflow
|
|
|
|
|
|
reloaded = tensorflow.keras.models.load_model('test')
|
|
|
|
x_to_test = pandas.read_csv('./X_test.csv')
|
|
y_to_test = pandas.read_csv('./Y_test.csv')
|
|
|
|
accu = reloaded.evaluate(x_to_test, y_to_test)
|
|
|
|
print(f'accurancy !@!#@!#!@$!@$!@$!@$!@$!@$!@${accu}')
|
|
|
|
pre = reloaded.predict(x_to_test)
|
|
|
|
pre.tofile('prediction.csv', sep=',', format='%s') |