agentsclimarketplace

Parallel processing

Skill cxcscmu/SkillLearnBench/skills/b1-one-shot-gemini-3.1-pro-preview/dbscan-parameter-tuning/parallel-processing

Parallel processing with joblib to speed up computationally intensive parameter grid searches.From its SKILL.md

Install
npx -y skills add cxcscmu/SkillLearnBench --skill parallel-processing

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

0.7 KB, 150 tokens by cl100k_base, as published. Nobody here has run it

Parallel Processing with joblib

joblib is highly optimized for Python parallel processing, especially for numpy arrays and independent tasks like grid search.

Setup

pip install joblib

Usage

from joblib import Parallel, delayed

def evaluate_params(param1, param2):
    # Intensive computation
    return param1 + param2, param1 * param2

params_list = [(1, 2), (3, 4), (5, 6)]

results = Parallel(n_jobs=-1)(
    delayed(evaluate_params)(p1, p2) for p1, p2 in params_list
)

This pattern perfectly fits hyperparameter grid searches.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.