def map_func(data):
  from sklearn.cross_validation import StratifiedKFold
  from sklearn import svm, cross_validation
  kfold = StratifiedKFold(y=data['y'], n_folds=3)
  # kfold = cross_validation.KFold(n=data.X.shape[0], n_folds=3)
  # svc = SVC(C=1, kernel='linear')
  for train, test in kfold:
      # svc.fit(data['X'][train], data['y'][train])
      # svc.predict(data['X'][test])
      data['methods'].run(X=data["X"][train], y=data['y'][train])
  return None