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.

7 lines
212 B

4 years ago
  1. import pickle
  2. import numpy
  3. def aiPredict(data): # 32 lik liste yada deste alir.
  4. with open("AIModel", "rb") as m:
  5. aiModel = pickle.load(m)
  6. return aiModel.predict(numpy.reshape(data,(1, 32)))