Package CHEM :: Package ML :: Package nnRnn :: Package inputFilesGeneration :: Module createNnInput
[hide private]
[frames] | no frames]

Module createNnInput



Variables [hide private]
  usage = """python %s <input fingerprint file> <input train tar...
  inputFP = sys.argv [1]
  inputTar = sys.argv [2]
  outputF = sys.argv [3]
  fpDict = {}
  tarDict = {}
  f = open(inputTar)
  g = open(outputF, 'w')
  safetyK = 0
Variables Details [hide private]

usage

Value:
"""python %s <input fingerprint file> <input train target> <output fil\
e>
           Creates <output file> readable by the nn module
           in the format:
          <fingerprint> <id> <target>

          <target> is -2 for unknown (test) examples, if any
          
...