def normalize(X):
X = coo_matrix(X)<EOL>X.data = X.data / sqrt(bincount(X.row, X.data ** <NUM_LIT:2>))[X.row]<EOL>return X<EOL>
equivalent to scipy.preprocessing.normalize on sparse matrices
    , but lets avoid another depedency just for a small utility function