code: def _shuffled(X, y, seed):
      """Shuffle inputs."""
      r = check_random_state(seed)
      idx = r.permutation(y.shape[0])
      return X[idx], y[idx]
  
file_path: mlens/mlens/parallel/tests/test_c_multi_sparse_feature_prop.py
imports: import numpy
  from scipy.sparse import csr_matrix
  from mlens.index import FoldIndex
  from mlens.ensemble.base import BaseEnsemble
  from mlens.externals.sklearn.validation import check_random_state
  from mlens.utils.dummy import OLS
label_desc: Use image node_id 1 for calling a global function with example usage: _shuffled(X, y, seed) and returns: X,  y