Module ImportFrom alias ImportFrom alias TryExcept body ImportFrom alias handlers ExceptHandler body ImportFrom alias If CompareEq NameLoad Str body If NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore ListLoad Num Num For NameStore NameLoad body For NameStore NameLoad body For NameStore NameLoad body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr If BoolOpAnd NameLoad NameLoad body Assign NameStore Call NameLoad Lambda arguments args defaults ListLoad Num Num Assign NameStore Call NameLoad Lambda arguments args defaults ListLoad Num Num For NameStore NameLoad body Assign NameStore Call NameLoad GeneratorExp NameLoad comprehension TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr CompareNotEq NameLoad Num For NameStore Call NameLoad BinOpAdd NameLoad Num body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareNotEq SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Num body AugAssignAdd SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Num Num If CompareEq NameLoad NameLoad body AugAssignAdd SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Num Num AugAssignAdd SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Num Num AugAssignAdd SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Num Num For NameStore ListLoad Str Str Str Str body Print BinOpMod Str TupleLoad NameLoad BinOpDiv Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num NameLoad BinOpDiv Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body With Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num NameStore body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore NameLoad If NameLoad body Assert NameLoad Assign TupleStore NameStore NameStore GeneratorExp ListComp NameLoad comprehension NameStore GeneratorExp Call AttributeLoad NameLoad attr NameLoad NameLoad comprehension NameStore NameLoad NameLoad comprehension NameStore ListLoad NameLoad NameLoad orelse Assign TupleStore NameStore NameStore GeneratorExp ListComp NameLoad comprehension NameStore NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad comprehension NameStore ListLoad NameLoad NameLoad Print BinOpMod Str TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad Print Str Call NameLoad ListComp NameLoad comprehension NameStore NameLoad CompareGt Call NameLoad AttributeLoad NameLoad attr BinOpAdd NameLoad Num Assign NameStore Dict Str Str Str Str Str Str Str Str Str BinOpAdd AttributeLoad NameLoad attr Num NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Delete NameDel If CompareIn Str NameLoad body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Print Str Call AttributeLoad NameLoad attr NameLoad If CompareIn Str NameLoad body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Print Str SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Index Str Print Str Call AttributeLoad NameLoad attr NameLoad Delete NameDel If CompareIn Str NameLoad body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Print Call AttributeLoad Str attr ListComp BinOpMod Str NameLoad comprehension NameStore ListComp TupleLoad NameLoad SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Index NameLoad comprehension NameStore ListLoad Str Str Str Str For NameStore Call NameLoad NameLoad body For NameStore Call NameLoad NameLoad body Print BinOpMod Str IfExp CompareGtE BinOpAdd NameLoad NameLoad BinOpSub NameLoad Num SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index NameLoad Index BinOpSub BinOpSub NameLoad Num NameLoad Num Print Print Str Call AttributeLoad NameLoad attr NameLoad Delete NameDel If CompareIn Str NameLoad body Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Print Str Call AttributeLoad NameLoad attr NameLoad Delete NameDel If CompareIn Str NameLoad body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Print Str Call AttributeLoad NameLoad attr NameLoad Delete NameDel If CompareIn Str NameLoad body Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Print Str Call AttributeLoad NameLoad attr NameLoad Delete NameDel If CompareIn Str NameLoad body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Print Call AttributeLoad Str attr ListComp BinOpMod Str NameLoad comprehension NameStore ListComp TupleLoad NameLoad SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Index NameLoad comprehension NameStore ListLoad Str Str Str Str Print Str AttributeLoad NameLoad attr Print Str Call AttributeLoad NameLoad attr NameLoad Delete NameDel If CompareIn Str NameLoad body Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Print Str Call AttributeLoad NameLoad attr NameLoad Delete NameDel If CompareIn Str NameLoad body Assign NameStore Call NameLoad TupleLoad Num Num Num Num keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Print Str Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Print Str Call AttributeLoad NameLoad attr NameLoad Print Str Call AttributeLoad NameLoad attr NameLoad Delete NameDel If CompareIn Str NameLoad body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Print BinOpMod Str NameLoad Call AttributeLoad NameLoad attr NameLoad
N/A clickmodels.inference * clickmodels.input_reader InputReader N/A N/A config * N/A N/A N/A clickmodels.config_sample * N/A N/A __name__ __main__ N/A N/A DEBUG N/A N/A N/A N/A DbnModel testBackwardForward N/A allCombinations N/A N/A interestingValues N/A 0.9 1.0 N/A g1 interestingValues N/A N/A g2 interestingValues N/A N/A g3 interestingValues N/A N/A g4 interestingValues N/A N/A N/A N/A allCombinations append N/A g1 g2 g3 g4 N/A readInput N/A InputReader MIN_DOCS_PER_QUERY MAX_DOCS_PER_QUERY EXTENDED_LOG_FORMAT SERP_SIZE TRAIN_FOR_METRIC discard_no_clicks True N/A sessions N/A readInput N/A sys stdin N/A N/A TRAIN_FOR_METRIC PRINT_EBU_STATS N/A N/A p_C_R_frac N/A defaultdict N/A N/A N/A N/A N/A 0 0.0001 N/A p_L_C_R_frac N/A defaultdict N/A N/A N/A N/A N/A 0 0.0001 N/A s sessions N/A N/A lastClickPos N/A max N/A i N/A N/A i c N/A enumerate N/A s clicks N/A c 0 N/A i N/A xrange N/A lastClickPos 1 N/A N/A u N/A N/A s results N/A i N/A N/A N/A N/A s clicks N/A i 0 N/A N/A N/A N/A p_C_R_frac N/A u N/A 0 1 N/A N/A i lastClickPos N/A N/A N/A N/A p_L_C_R_frac N/A u N/A 0 1 N/A N/A N/A p_L_C_R_frac N/A u N/A 1 1 N/A N/A N/A p_C_R_frac N/A u N/A 1 1 N/A u N/A IRRELEVANT RELEVANT USEFUL VITAL N/A N/A N/A P(C|%s)	%f	P(L|C,%s)	%f N/A u N/A N/A float N/A N/A p_C_R_frac N/A u N/A 0 N/A N/A p_C_R_frac N/A u N/A 1 u N/A N/A float N/A N/A p_L_C_R_frac N/A u N/A 0 N/A N/A p_L_C_R_frac N/A u N/A 1 N/A N/A N/A len N/A sys argv 1 N/A N/A N/A open N/A N/A sys argv N/A 1 test_clicks_file N/A N/A testSessions N/A readInput test_clicks_file N/A N/A testSessions sessions N/A TRANSFORM_LOG N/A N/A EXTENDED_LOG_FORMAT N/A N/A sessions testSessions N/A N/A x N/A x N/A N/A N/A InputReader mergeExtraToSessionItem s SERP_SIZE N/A s ss x N/A ss N/A sessions testSessions N/A N/A N/A sessions testSessions N/A N/A s N/A s ss N/A N/A InputReader mergeExtraToSessionItem s SERP_SIZE N/A ss N/A sessions testSessions N/A N/A Train sessions: %d, test sessions: %d N/A N/A len sessions N/A len testSessions N/A Number of train sessions with 10+ urls shown: N/A len N/A s N/A s sessions N/A N/A len N/A s results N/A SERP_SIZE 1 N/A config N/A MAX_QUERY_ID MAX_ITERATIONS DEBUG PRETTY_LOG MAX_DOCS_PER_QUERY SERP_SIZE TRANSFORM_LOG QUERY_INDEPENDENT_PAGER DEFAULT_REL N/A N/A readInput current_query_id 1 MAX_ITERATIONS DEBUG PRETTY_LOG MAX_DOCS_PER_QUERY SERP_SIZE TRANSFORM_LOG QUERY_INDEPENDENT_PAGER DEFAULT_REL N/A readInput N/A N/A Baseline USED_MODELS N/A N/A baselineModel N/A ClickModel config config N/A N/A N/A baselineModel train sessions N/A Baseline: N/A N/A baselineModel test testSessions N/A N/A SDBN USED_MODELS N/A N/A sdbnModel N/A SimplifiedDbnModel config config N/A N/A N/A sdbnModel train sessions N/A TRANSFORM_LOG N/A N/A (a_p, s_p) =  N/A N/A N/A N/A sdbnModel urlRelevances N/A False N/A 0 N/A PAGER N/A SDBN: N/A N/A sdbnModel test testSessions N/A sdbnModel N/A N/A UBM USED_MODELS N/A N/A ubmModel N/A UbmModel config config N/A N/A N/A ubmModel train sessions N/A TRAIN_FOR_METRIC N/A N/A N/A N/A join N/A N/A %s	%f r N/A r N/A N/A x N/A N/A N/A N/A ubmModel alpha N/A False N/A 0 N/A x N/A x N/A IRRELEVANT RELEVANT USEFUL VITAL N/A d N/A xrange MAX_DOCS_PER_QUERY N/A N/A r N/A xrange MAX_DOCS_PER_QUERY N/A N/A N/A %.4f  N/A N/A N/A r d N/A MAX_DOCS_PER_QUERY 1 N/A N/A N/A N/A ubmModel gamma N/A 0 N/A r N/A N/A N/A MAX_DOCS_PER_QUERY 1 d 0 N/A N/A UBM N/A N/A ubmModel test testSessions N/A ubmModel N/A N/A UBM-IA USED_MODELS N/A N/A ubmModel N/A UbmModel ignoreIntents False ignoreLayout False config config N/A N/A N/A ubmModel train sessions N/A UBM-IA N/A N/A ubmModel test testSessions N/A ubmModel N/A N/A EB_UBM USED_MODELS N/A N/A ebUbmModel N/A EbUbmModel config config N/A N/A N/A ebUbmModel train sessions N/A EB_UBM N/A N/A ebUbmModel test testSessions N/A ebUbmModel N/A N/A EB_UBM-IA USED_MODELS N/A N/A ebUbmModel N/A EbUbmModel ignoreIntents False ignoreLayout False config config N/A N/A N/A ebUbmModel train sessions N/A EB_UBM-IA N/A N/A ebUbmModel test testSessions N/A ebUbmModel N/A N/A DCM USED_MODELS N/A N/A dcmModel N/A DcmModel config config N/A N/A N/A dcmModel train sessions N/A TRAIN_FOR_METRIC N/A N/A N/A N/A join N/A N/A %s	%f r N/A r N/A N/A x N/A N/A N/A N/A dcmModel urlRelevances N/A False N/A 0 N/A x N/A x N/A IRRELEVANT RELEVANT USEFUL VITAL N/A DCM gammas: N/A dcmModel gammas N/A DCM N/A N/A dcmModel test testSessions N/A dcmModel N/A N/A DCM-IA USED_MODELS N/A N/A dcmModel N/A DcmModel ignoreIntents False ignoreLayout False config config N/A N/A N/A dcmModel train sessions N/A DCM-IA N/A N/A dcmModel test testSessions N/A dcmModel N/A N/A DBN USED_MODELS N/A N/A dbnModel N/A DbnModel N/A 0.9 0.9 0.9 0.9 config config N/A N/A N/A dbnModel train sessions N/A DBN: N/A N/A dbnModel test testSessions N/A session testSessions N/A N/A relevances N/A N/A dbnModel get_model_relevances session N/A clicks N/A N/A dbnModel generate_clicks session N/A dbnModel N/A N/A DBN-IA USED_MODELS N/A N/A gammas allCombinations N/A N/A N/A N/A gc collect N/A dbnModel N/A DbnModel gammas ignoreIntents False ignoreLayout False config config N/A N/A N/A dbnModel train sessions N/A N/A DBN-IA: %.2f %.2f %.2f %.2f gammas N/A N/A dbnModel test testSessions