예제 #1
0
def main(project, options):
  #get the options
  baseline = options.baseline
  file = options.file
  #construct the file names
  bBase = baseline + "."
  base = file + "."
  analysis = project.speedExample
  pmml = analysis.consumer + (bBase + "pmml")
  config = analysis.consumer + (base + bBase + "xml")
  scores = analysis.postprocess + (base + bBase + "xml")
  table = project.data + file
  #make the configuration file
  makeConfigs(config, table, pmml, scores)
  #call the consumer
  Consumer.main(config)
예제 #2
0
def main(project, options):
    #get the options
    baseline = options.baseline
    file = options.file
    #construct the file names
    bBase = baseline + "."
    base = file + "."
    analysis = project.speedExample
    pmml = analysis.consumer + (bBase + "pmml")
    config = analysis.consumer + (base + bBase + "xml")
    scores = analysis.postprocess + (base + bBase + "xml")
    table = project.data + file
    #make the configuration file
    makeConfigs(config, table, pmml, scores)
    #call the consumer
    Consumer.main(config)