Module Import alias identifier Import alias identifier FunctionDef arguments args NameParam defaults body If Call NameLoad ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad body Return Call AttributeLoad NameLoad attr NameLoad orelse Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad GeneratorExp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad body Return Call AttributeLoad NameLoad attr NameLoad orelse Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num Num body If CompareGtE NameLoad Call NameLoad AttributeLoad NameLoad attr body Raise NameLoad Return BinOpDiv NameLoad BinOpAdd NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Num attr If Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr AugAssignDiv AttributeStore NameLoad attr SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr AugAssignDiv NameStore SubscriptLoad BinOpAdd BinOpMult Num CompareEq NameLoad Num NameLoad ExtSlice Index AttributeLoad NameLoad attr Slice Return SubscriptLoad NameLoad ExtSlice Slice Index SubscriptLoad Call AttributeLoad NameLoad attr Index Num decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TupleLoad Num Num Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr TupleLoad Num Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq AttributeLoad NameLoad attr TupleLoad Num Num body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad Call NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign AttributeStore NameLoad attr TupleLoad BinOpAdd Num SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index ListLoad Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index ListLoad Num decorator_list decorator_list
N/A N/A numpy np N/A scipy.sparse sp safe_hstack N/A N/A blocks N/A N/A N/A N/A any N/A N/A N/A sp issparse b N/A b blocks N/A N/A N/A N/A sp hstack blocks N/A N/A N/A N/A np hstack blocks N/A safe_vstack N/A N/A Xs N/A N/A N/A N/A any N/A N/A N/A sp issparse X N/A X Xs N/A N/A N/A N/A sp vstack Xs N/A N/A N/A N/A np vstack Xs N/A normalize_sum N/A N/A a axis eps N/A 0 1e-16 N/A N/A N/A axis N/A len N/A a shape N/A N/A ValueError N/A N/A a N/A eps N/A N/A np expand_dims N/A N/A np sum a axis axis axis N/A normalize_features N/A N/A X N/A N/A N/A Normalizes columns and remove columns with 0 sum.
    Returns sparse matrices as csc.
     N/A sums N/A N/A N/A N/A np asarray N/A N/A X sum axis 0 flatten N/A N/A N/A sp issparse X N/A N/A N/A N/A X eliminate_zeros N/A x N/A N/A N/A N/A X copy tocsr N/A N/A x data N/A sums N/A N/A x indices N/A y N/A N/A x tocsc N/A N/A y N/A N/A X copy N/A y N/A N/A N/A 1.0 N/A sums 0 sums N/A N/A N/A np newaxis N/A N/A N/A y N/A N/A N/A N/A N/A N/A sums nonzero N/A 0 N/A GrowingLILMatrix N/A N/A sp lil_matrix N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A sp lil_matrix __init__ self N/A 1 1 N/A N/A self format lil N/A N/A self _shape N/A 0 0 N/A add_row N/A N/A self row N/A N/A N/A Adds a row to the matrix from a list or array. N/A sparse_row N/A N/A sp lil_matrix row N/A N/A N/A self _shape N/A 0 0 N/A N/A N/A self _shape N/A sparse_row _shape N/A N/A self rows N/A sparse_row rows N/A N/A self data N/A sparse_row data N/A N/A nb_col N/A max N/A len row N/A N/A self shape N/A 1 N/A N/A self _shape N/A N/A 1 N/A N/A self _shape N/A 0 nb_col N/A N/A self rows N/A N/A np concatenate N/A N/A self rows N/A N/A sparse_row rows N/A N/A 0 N/A N/A self data N/A N/A np concatenate N/A N/A self data N/A N/A sparse_row data N/A N/A 0 N/A N/A