Step 1 of parallel learning curves
joblib parallel for learning curves