Module Import alias Import alias identifier ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam defaults Num Num Num body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad BinOpMult NameLoad NameLoad NameLoad Assign NameStore ListComp BinOpFloorDiv NameLoad NameLoad comprehension NameStore NameLoad Assign NameStore ListComp BinOpMod NameLoad NameLoad comprehension NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num BinOpMult NameLoad Num NameLoad Return Call NameLoad TupleLoad NameLoad TupleLoad NameLoad NameLoad keyword TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad ExtSlice Slice SubscriptLoad AttributeLoad NameLoad attr Index Num Slice SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call NameLoad NameLoad NameLoad decorator_list
N/A N/A random N/A numpy np scipy.sparse coo_matrix sklearn.utils.testing assert_array_equal get_random_coo_matrix N/A N/A rows cols nnz N/A 3 10 20 N/A N/A row_col N/A N/A random sample N/A xrange N/A rows cols nnz N/A row N/A N/A i cols N/A i row_col N/A col N/A N/A i cols N/A i row_col N/A data N/A N/A N/A np random randint 0 N/A nnz 5 nnz N/A N/A coo_matrix N/A data N/A row col shape N/A rows cols N/A assert_sparse_matrix_equal N/A N/A X Y N/A N/A N/A expected N/A N/A X toarray N/A actual N/A N/A Y toarray N/A expected N/A expected N/A N/A N/A N/A actual shape N/A 0 N/A N/A N/A actual shape N/A 1 N/A N/A assert_array_equal expected actual N/A