Module Import alias identifier ImportFrom alias ImportFrom alias Assign NameStore ListLoad Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad ListLoad Assign NameStore ListLoad For NameStore NameLoad body If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad GeneratorExp TupleLoad NameLoad SubscriptLoad NameLoad Slice NameLoad comprehension NameStore Call NameLoad Num BinOpAdd Call NameLoad NameLoad Num For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad If CompareEq NameLoad SubscriptLoad NameLoad Index Call NameLoad NameLoad body Expr Yield NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad Str body Return AttributeLoad NameLoad attr Return ListLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr For NameStore NameLoad body Expr Yield Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpDiv Num Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr ListLoad TupleLoad Num Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Yield TupleLoad NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Assign NameStore UnaryOpUSub AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore NameLoad body If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad orelse If CompareGt NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore ListLoad TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpDiv Num Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr ListLoad TupleLoad Num NameLoad If CompareGt NameLoad Num body Print Str Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore AttributeLoad NameLoad attr body Expr Yield Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A numpy np itertools product ldacgsseq LdaCgsSeq N/A __all__ N/A LdaExact uniquify N/A N/A l N/A N/A N/A Takes a list `l` and returns a list of the unique elements in `l`
    in the order in which they appeared.

     N/A mem N/A set N/A N/A out N/A N/A e l N/A N/A N/A e mem N/A N/A N/A N/A mem add e N/A N/A N/A out append e N/A out N/A productoid N/A N/A A n N/A N/A N/A prod N/A product A repeat n N/A d N/A dict N/A N/A i N/A A N/A i N/A i N/A xrange 1 N/A N/A len A 1 N/A t prod N/A N/A elems N/A uniquify t N/A N/A elems N/A d N/A N/A len elems N/A N/A N/A t N/A LdaExact N/A LdaCgsSeq N/A arg_maxima N/A N/A self N/A N/A N/A N/A hasattr self _arg_maxima N/A N/A N/A self _arg_maxima N/A N/A N/A property arg_maxima N/A N/A self l N/A N/A N/A N/A self _arg_maxima l N/A N/A arg_maxima setter _Z_values N/A N/A self N/A N/A N/A A N/A range N/A self K N/A p N/A productoid A N/A len N/A self corpus N/A t p N/A N/A N/A N/A N/A np array t dtype N/A np int N/A _init_model N/A N/A self Z N/A N/A N/A m N/A LdaCgsSeq context_type N/A self context_type K N/A self K V N/A self V alpha N/A self alpha beta N/A self beta N/A N/A m corpus N/A self corpus N/A N/A m V N/A self V N/A N/A m indices N/A self indices N/A N/A m Z Z N/A N/A N/A m _compute_top_doc N/A N/A N/A m _compute_word_top N/A N/A m inv_top_sums N/A 1.0 N/A N/A N/A self word_top sum 0 N/A N/A m iteration 1 N/A N/A m log_probs N/A N/A 1 N/A N/A m _compute_log_prob N/A m N/A _log_probs N/A N/A self N/A N/A N/A Z N/A N/A self _Z_values N/A next_Z Z N/A N/A m N/A N/A self _init_model next_Z N/A N/A N/A next_Z N/A N/A N/A m log_probs N/A 0 N/A 1 N/A arg_max N/A N/A self verbose N/A 1 N/A N/A max_log_prob N/A N/A np inf N/A maxima N/A N/A log_probs N/A N/A self _log_probs N/A N/A Z log_prob log_probs N/A N/A N/A log_prob max_log_prob N/A N/A N/A N/A maxima append N/A Z log_prob N/A N/A N/A log_prob max_log_prob N/A N/A max_log_prob log_prob N/A maxima N/A N/A Z log_prob N/A N/A self arg_maxima maxima N/A N/A self Z N/A N/A maxima N/A 0 N/A 0 N/A N/A N/A self _compute_top_doc N/A N/A N/A self _compute_word_top N/A N/A self inv_top_sums N/A 1.0 N/A N/A N/A self word_top sum 0 N/A N/A self iteration 1 N/A N/A self log_probs N/A N/A 1 max_log_prob N/A N/A verbose 0 N/A N/A Number of maxima: N/A len N/A self arg_maxima N/A all_estimates N/A N/A self N/A N/A N/A N/A Z log_prob N/A self arg_maxima N/A N/A N/A N/A N/A self _init_model Z N/A N/A