Esempio n. 1
0
def main():

    students = AAS_IO.importDummyNames()
    ai = AI.AAS_AI()
    ai.load_from_file()

    pygame.init()

    size = (1920, 910)
    screen = pygame.display.set_mode(size)

    app = App(screen, size, students, ai)
    pygame.display.set_caption("Anti-Anti Social")

    app.run()
import generateDummyNames
import AAS_IO
import AI

if __name__ == "__main__":

    students = AAS_IO.importDummyNames()
    # print(AI.preprocess(students[22],students[5]))
    ai = AI.AAS_AI()
    ai.load_from_file()
    print(ai.classify(students[120], students[1848]))
    print(ai.find_best_matches(students, 120, 5))
    students[120].print_user(" ")
    students[126211 - 123000].print_user(" ")