コード例 #1
0
    opRefs = [ReferenceBenchmark.SP, ReferenceBenchmark.Pd, ReferenceBenchmark.Pf]
    refBenchmarkList = ReferenceBenchmarkCollection([])
    for ref in opRefs: 
      refBenchmarkList.append( ReferenceBenchmark( "OperationPoint_" + refLabel.replace('Accept','') + "_" 
                                                   + ReferenceBenchmark.tostring( ref ), 
                                                   ref, *refArgs ) )
    refBenchmarkCol.append( refBenchmarkList )
  del effArchieve
  call_kw['refBenchmarkCol'] = refBenchmarkCol
elif args.redo_decision_making or (args.redo_decision_making  in (None,NotSet) and args.data):
  if args.pile_up_ref in (None,NotSet):
    mainLogger.fatal("Cannot redo decision making without specifying --pile-up-ref.")

stat = CrossValidStatAnalysis( 
    args.discrFiles
    , binFilters = args.binFilters
    , binFilterIdxs = args.binFilterIdx
    , level = args.output_level
    )

    # Optional Arguments
stat( outputName              = args.outputFileBase
    , doMonitoring            = args.doMonitoring
    , doCompress              = args.doCompress
    , toMatlab                = args.doMatlab
    , test                    = args.test
    , epsCol                  = args.epsilon
    , aucEpsCol               = args.AUC_epsilon
    , rocPointChooseMethodCol = args.roc_method
    , modelChooseMethodCol    = args.model_method
    , modelChooseInitMethod   = args.init_model_method
    , expandOP                = args.expandOP