Skip to content
Back to skills

Default Strategy Parameters

ASecurity

Compute CMA-ES default strategy parameters from the tutorial formulas for bounded recovery experiments.

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
testingpythongo

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill default_strategy_parameters --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Default Strategy Parameters?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Default Strategy Parameters
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-default-strategy-parameters/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-default-strategy-parameters)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
name: default_strategy_parameters
description: Compute CMA-ES default strategy parameters from the tutorial formulas for bounded recovery experiments.
---

# Default CMA-ES Strategy Parameters

Use this skill when a recovery or implementation needs dimension-aware CMA-ES defaults rather than hand-picked optimizer constants. Do not use it for gradient optimizers or algorithms that do not adapt a Gaussian covariance matrix.

## Inputs
- Search dimension `n`, a positive integer.
- Optional population size `lambda_`; if absent use `4 + floor(3 ln n)`.

## Outputs
- `lambda`, `mu`, positive recombination `weights`, `mueff`, `cm`, `cs`, `ds`, `cc`, `c1`, `cmu`, and `expected_norm`.

## Workflow
1. Validate the dimension and population size.
2. Compute log-shaped positive parent weights and normalize them to sum to one.
3. Compute effective parent mass and learning rates using the tutorial's Appendix A defaults.
4. Return JSON-serializable values so downstream skills can reproduce the run.

## Validation
Run `python scripts/cmaes_parameters.py --dimension 2` and `python -m pytest tests` or the Distiller skill-tree validator with `--run-tests`.

## Limitations
This skill implements the positive-weight default sufficient for the reduced recovery; active negative covariance weights are documented but not required by the proxy experiment.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.