Package CHEM :: Package ML :: Package featureAnalysis :: Module grayscaleImshow
[hide private]
[frames] | no frames]

Module grayscaleImshow



Functions [hide private]
 
Tanimoto(A, B)
Variables [hide private]
  topFeatureNum = 343105
  featureListToMatrix = FeatureDictListToMatrix('b')
  topIndices = featureListToMatrix.topIndices
  componentdict2 = featureListToMatrix.componentdict2
  featureMatrix = zeros((49999, topFeatureNum), float)
  y = pickle.load(f)
  z = pickle.load(f)
  featureNum = featureMatrix.T.shape [0]
  f1 = open('dump1000bitCorr.pkl', 'w')
  f = open('dump1000bitCorr.pkl', 'r')
  measureMatrix1 = pickle.load(f)
  index = 0
  f2 = open('dump1000bitTanimoto.pkl', 'r')
  measureMatrix2 = pickle.load(f2)