def _choicerank(n_items, data, params):
weights = exp_transform(params)<EOL>adj, adj_t, traffic_in, traffic_out = data<EOL>zs = adj.dot(weights)<EOL>with np.errstate(invalid="<STR_LIT:ignore>"):<EOL><INDENT>denoms = adj_t.dot(traffic_out / zs)<EOL><DEDENT>return traffic_in, denoms<EOL>
Inner loop of ChoiceRank algorithm.