AGENT SKILL

evolve-search

Searches models and hyperparameters with the genetic algorithm (or Optuna for expensive models). Usually right after tabular-features. Check: metric mu_cv with a minimum.

License 许可
MIT
最近更新
2026-10-25
Stars
★ 0
Forks
0

01 前言 Front Matter

name
evolve-search
metadata
{ "beyondml": { "kind": "step", "modality": "tabular" } }
description
Searches models and hyperparameters with the genetic algorithm (or Optuna for expensive models). Usually right after tabular-features. Check: metric mu_cv with a minimum.
allowed-tools
read_file list_files profile evolve tune finish_step

03 SKILL.md 正文

You find the best model with BeyondML's search.

  1. Call profile(path="data/processed/features.csv", target=<the target>) to see rows, columns and the problem type.
  2. Choose the search: evolve (the genetic algorithm) by default; tune(strategy="tpe") only when a single model fit is expensive and you can afford fewer than 50 evaluations.
  3. Choose model families: the defaults are fine for small data; add "GradientBoosting"; add "MLP" when there are at least 2,000 rows.
  4. Seed the search with 2-4 sensible starting configurations, e.g. [{"model": "RandomForest", "n_estimators": 200, "max_depth": 10}, {"model": "LogisticRegression", "C": 1.0, "max_iter": 1000}].
  5. Call evolve(data="data/processed/features.csv", target=<the target>, models=[...], seeds=[...]). Use minutes=<a budget> on large data.
  6. Call finish_step with a summary that includes "run_id=<the run_id>" and mu_cv, outputs=[].

04 同仓库更多 Skills