一键导入
ix-optimize
Optimize a function using SGD, Adam, PSO, or simulated annealing
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Optimize a function using SGD, Adam, PSO, or simulated annealing
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Test model robustness with adversarial attacks and defenses
Multi-armed bandit simulation — epsilon-greedy, UCB1, Thompson sampling
Benchmark and compare ix algorithm performance
Embedded Redis-like cache with TTL, LRU, pub/sub, and RESP protocol
Category theory primitives — monad laws verification, free-forgetful adjunction
Chaos theory analysis — Lyapunov exponents, bifurcation, attractors, fractals
基于 SOC 职业分类
| name | ix-optimize |
| description | Optimize a function using SGD, Adam, PSO, or simulated annealing |
| disable-model-invocation | true |
Run optimization using the machin workspace algorithms.
When the user asks to optimize, minimize, maximize, find best parameters, or tune hyperparameters.
sgd or adam — Smooth differentiable functions, gradient-basedpso (Particle Swarm) — Multi-modal or noisy landscapes, no gradient neededannealing (Simulated Annealing) — Discrete or combinatorial problems, escapes local minimacargo run -p ix-skill -- optimize --algo <method> --function <fn> --dim <n> --max-iter <iter>
Built-in test functions: sphere, rosenbrock, rastrigin
use ix_optimize::gradient::{sgd, adam};
use ix_optimize::pso::pso_minimize;
use ix_optimize::annealing::simulated_annealing;
use ix_optimize::traits::ClosureObjective;