Module Import alias Import alias identifier Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr While CompareEq Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad For NameStore Call NameLoad BinOpMult NameLoad NameLoad body Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad Assign NameStore NameLoad With Call NameLoad NameLoad NameStore body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num Str body Expr Call AttributeLoad NameLoad attr For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Str Str Num Str body Expr Call AttributeLoad NameLoad attr For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad BinOpAdd NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body With Call NameLoad NameLoad NameStore body Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Print NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str Str Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword ListLoad Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword ListLoad Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Str Str Num Str body Expr Call AttributeLoad NameLoad attr For NameStore Call NameLoad NameLoad body For NameStore Call NameLoad NameLoad body Assign NameStore BinOpAdd NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad decorator_list If CompareEq NameLoad Str body Assign TupleStore NameStore NameStore NameStore Call NameLoad Assign TupleStore NameStore NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call NameLoad NameLoad
N/A N/A sys N/A numpy np N/A monk.core.api monkapi monk.roles.configuration get_config monk.roles.administrator AdminBroker monk.roles.worker WorkerBroker monk.roles.monitor MonitorBroker N/A logging N/A logger N/A N/A logging getLogger exper readline N/A N/A f N/A N/A N/A line N/A N/A f readline N/A N/A N/A N/A line strip N/A N/A line N/A N/A f readline N/A line N/A readVector N/A N/A f N/A N/A N/A size N/A int N/A readline f N/A v N/A N/A np zeros size N/A i N/A range size N/A N/A N/A v N/A i N/A float N/A readline f N/A v N/A readMatrix N/A N/A f N/A N/A N/A ns N/A N/A N/A readline f split N/A nr N/A int N/A ns N/A 0 N/A nc N/A int N/A ns N/A 1 N/A m N/A N/A np zeros N/A nr nc N/A i N/A range N/A nr nc N/A N/A fs N/A N/A N/A readline f split N/A r N/A int N/A fs N/A 0 N/A c N/A int N/A fs N/A 1 N/A v N/A float N/A fs N/A 2 N/A N/A m N/A N/A r c v N/A m N/A readModel N/A N/A filename N/A N/A N/A userFactors None N/A itemFactors None N/A N/A open filename f N/A N/A modelname N/A readline f N/A version N/A readline f N/A globalbias N/A float N/A readline f N/A minRate N/A int N/A readline f N/A maxRate N/A int N/A readline f N/A userBias N/A readVector f N/A userFactors N/A readMatrix f N/A itemBias N/A readVector f N/A itemFactors N/A readMatrix f N/A N/A userFactors itemFactors N/A addUser N/A N/A ab num nameStub N/A 6100 mluser N/A N/A N/A N/A ab reconnect N/A i N/A range num N/A N/A N/A N/A ab add_user N/A N/A {}{} format nameStub i N/A cloneMovieLensTurtle N/A N/A wb master turtleName num nameStub N/A monk movielens-binary 6100 mluser N/A N/A N/A N/A wb reconnect N/A i N/A range num N/A N/A N/A N/A wb add_clone master turtleName N/A nameStub N/A str i N/A addRatingData N/A N/A filename itemFactors turtleName wb N/A N/A N/A N/A open filename f N/A N/A sts N/A N/A N/A readline f split N/A userid N/A int N/A sts N/A 0 N/A itemid N/A int N/A sts N/A 1 N/A rating N/A int N/A sts N/A 2 N/A userid itemid rating N/A initialize N/A N/A N/A N/A N/A config N/A get_config monk_config.yml exper N/A ab N/A AdminBroker N/A config kafkaConnectionString N/A config administratorGroup N/A config administratorTopic producerType N/A AdminBroker FIXED_PRODUCER producerPartitions N/A 0 N/A wb N/A WorkerBroker N/A config kafkaConnectionString N/A config workerGroup N/A config workerTopic producerType N/A WorkerBroker USER_PRODUCER N/A mb N/A MonitorBroker N/A config kafkaConnectionString N/A config monitorGroup N/A config monitorTopic producerType N/A MonitorBroker FIXED_PRODUCER producerPartitions N/A 0 N/A N/A N/A monkapi exits N/A N/A N/A monkapi initialize config N/A N/A ab wb mb N/A train N/A N/A wb nIter master turtleName num nameStub N/A monk movielens-binary 6100 mluser N/A N/A N/A N/A wb reconnect N/A j N/A range nIter N/A N/A i N/A range num N/A N/A user N/A nameStub N/A str i N/A N/A N/A wb train user turtleName N/A N/A N/A wb merge master turtleName user N/A N/A N/A logger info N/A N/A iteration {} format i N/A N/A N/A __name__ __main__ N/A N/A N/A ab wb mb N/A initialize N/A N/A userFactors itemFactors N/A readModel N/A N/A sys argv N/A 1 N/A N/A cloneMovieLensTurtle wb