tuning-hyperparameters

Plan and execute hyperparameter tuning with Optuna and scikit-learn.

14|2|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/andikarachman/data-science-plugin --skill tuning-hyperparameters
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tuning-hyperparameters
Source: https://github.com/andikarachman/data-science-plugin/tree/main/skills/tuning-hyperparameters
Command: npx skills add https://github.com/andikarachman/data-science-plugin --skill tuning-hyperparameters

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Hyperparameter tuning is often ad-hoc and time-consuming; this skill provides a structured workflow reference to help plan, select, and execute tuning strategies.

Core Features & Use Cases

  • Strategy selection guidance for small to large search spaces (grid, random, Bayesian optimization, and successive halving).
  • Search-space design patterns, including conditional parameters and distribution choices for common models.
  • Optuna-based tuning patterns, pruning, and integration with sklearn tooling for practical experimentation.
  • Budget estimation, convergence analysis, and result interpretation to ensure robust model selection.

Quick Start

Provide an end-to-end plan: select a tuning strategy, outline a search-space design, and generate an Optuna-based scaffold for your project.

Frequently Asked Questions about tuning-hyperparameters

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I choose a hyperparameter tuning strategy for different search space sizes?

Hyperparameter tuning strategy selection depends on search space size, ranging from grid and random search for small spaces to Bayesian optimization and successive halving for large spaces. This skill provides structured guidance to align your strategy with available tuning budget.

How do I set up an Optuna tuning workflow with scikit-learn models?

You can set up Optuna-based hyperparameter tuning by generating a scaffold that integrates with scikit-learn tooling. The workflow includes defining search-space distributions, applying pruning patterns, and executing automated experimentation for supervised learning tasks.

What is the best way to design a search space with conditional hyperparameters?

Search-space design patterns include defining conditional parameters and selecting appropriate distributions tailored to common model types. This ensures hyperparameter tuning explores valid parameter combinations efficiently without wasting budget on invalid configurations.

Can I estimate the tuning budget needed for my classification or time-series forecasting model?

Budget estimation is supported for supervised learning projects across classification, regression, and time-series forecasting models. It helps calculate required resources by analyzing tuning strategy alignment, convergence patterns, and expected iteration counts.

How do I analyze hyperparameter tuning results to ensure robust model selection?

Hyperparameter tuning result analysis involves evaluating convergence patterns and interpreting trial outputs to ensure robust model selection. This process validates that selected parameters generalize well rather than overfitting to validation data.