agentsclimarketplace

Run1 hyperparameter grid parallelization

Skill cxcscmu/SkillLearnBench/skills/b3-teacher-feedback-gemini-3.1-flash-lite-preview/dbscan-parameter-tuning/run1_hyperparameter-grid-parallelization

Efficiently executing grid search over massive parameter spaces using Python multiprocessing.From its SKILL.md

Install
npx -y skills add cxcscmu/SkillLearnBench --skill run1_hyperparameter-grid-parallelization

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

SKILL.md

0.8 KB, 135 tokens by cl100k_base, as published. Nobody here has run it

Parallel Execution

Use multiprocessing.Pool to distribute image-level processing. Since you are performing a grid search:

  1. Outer Loop: Define the product of hyperparameter combinations:
    import itertools
    params = list(itertools.product(min_samples_range, epsilon_range, shape_weight_range))
    
  2. Mapping: Use pool.starmap to pass a function that performs the loop over unique(file_rad) for each parameter set.
  3. Memory Management: Ensure that individual worker processes clean up memory (DBSCAN structures) to prevent OOM errors, as the grid space involves hundreds of combinations.

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.