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
    
  
  
    
    | index | file2 | similarity | file1 | |
|---|---|---|---|---|
| 0 | 027.txt | 0.870699976021 | 001.txt | |
| 1 | 038.txt | 0.86203984054 | 001.txt | |
| 2 | 045.txt | 0.83739929573 | 001.txt | |
| 3 | 048.txt | 0.871940130115 | 001.txt | |
| 4 | 007.txt | 0.839339858402 | 001.txt | |
| 5 | 009.txt | 0.849677851534 | 001.txt | |
| 6 | 004.txt | 0.830406980293 | 001.txt | |
| 7 | 006.txt | 0.878178563493 | 001.txt | |
| 8 | 031.txt | 0.850476330623 | 001.txt | 
  
    
      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 graphlab as gl | |
| import pandas | |
| import numpy as np | |
| import string | |
| import re | |
| import unicodedata | |
| import math | |
| # attempt to load text files | |
| import os | |
| files = os.listdir(os.getcwd()) | 
  
    
      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
    
  
  
    
  | from keras.models import Sequential | |
| from keras.layers import Dense, Dropout, Activation | |
| from keras.optimizers import SGD | |
| import keras as keras | |
| import numpy as np | |
| x_train = np.random.random((1000,20)) | |
| y_train = keras.utils.np_utils.to_categorical(np.random.randint(10, size=(1000,1)), nb_classes=10) | |
| x_test = np.random.random((100,20)) | |
| y_test = keras.utils.np_utils.to_categorical(np.random.randint(10, size=(100,1)),nb_classes=10) |