Kulyutmaz is a project developed for the regional TUBITAK competition's programming field thart aims to create a more advanced phishing e-mail detection algorithm using website content checking and a neural network that we have trained.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import pickle
|
|
import numpy
|
|
|
|
def aiPredict(data): # 32 lik liste yada deste alir.
|
|
with open("AIModel", "rb") as m:
|
|
aiModel = pickle.load(m)
|
|
return aiModel.predict(numpy.reshape(data,(1, 32)))
|