This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import tensorflow as tf | |
| import pickle as p | |
| import numpy as np | |
| #first_file is a file containing 30000 lists. Each list consists of 2 sublist, | |
| #one containing champion (input) data and the second containing item (correct output) data | |
| #both the champion and item data take the form of a list filled with 1´s and 0´s | |
| first_file = p.load(open("data/0-30000.pickle", "rb")) | |
| first_file = np.array(first_file) #necessary for simplifying the next two lines, which would else have to be handled by a for loop | |
| training_inputs = list(first_file[:,0][:]) |