Skip to main content
by learnformula
Explore courses
search
For Business
Team license & compliance management
For Higher Education
Academic partnerships
For Government Agencies
Government training solutions
For Instructors & Course Creators
Teach on our marketplace
Become a Sponsor
Reach professionals where they learn
Log inStart 7-Day Free TrialStart Free TrialStart Free Trial
search
Explore courses
  1. Courses
  2. /Engineering
  3. /Technology & Science

Master Hyperparameter Optimization with Optuna

Build dynamic, efficient, and framework-agnostic machine learning pipelines using the Define-by-Run API.

Created bySoledad Galli
IntermediateUpdated Oct 2, 2026

What You'll Learn

  • check_circleConstruct dynamic hyperparameter search spaces using Optuna's suggest methods
  • check_circleCompare and select appropriate sampling algorithms for different model architectures
  • check_circleImplement pruning callbacks to terminate unpromising trials and save computational time
  • check_circleIntegrate Optuna with non-scikit-learn frameworks using custom objective functions
  • check_circleAnalyze optimization results using parallel coordinate and parameter importance plots

About This Course

This course provides a comprehensive guide to using Optuna for hyperparameter optimization in machine learning workflows. It covers the library's core architecture, including the Define-by-Run API, which allows for flexible and dynamic search space definitions. Participants will learn how to implement various sampling algorithms, such as TPE, Gaussian Processes, and Grid Search, while leveraging pruning strategies like successive halving to optimize computational resources. The material also demonstrates how to integrate Optuna with diverse frameworks like LightGBM and use built-in visualization tools to interpret optimization history and parameter importance.

Topics Covered:

  • Define-by-Run API architecture
  • Hyperparameter search space configuration
  • Sampling algorithms and strategies
  • Pruning and early stopping techniques
  • Framework-agnostic model integration
  • Persistent study storage and databases
  • Optimization history and parameter visualization

Course Content

1 activity • 9 videos • duration: 57m

  • videocamIntroduction to Optuna
    Duration 4:31
  • videocamOptuna Main Functions
    Duration 7:19
  • videocamImplementing Sampling Methods
    Duration 7:02
  • videocamFramework Agnostic Optimization
    Duration 6:18
  • videocamOptuna Visualization Tools
    Duration 4:40
  • videocamMulti-Fidelity Optimization
    Duration 10:59
  • videocamSuccessive Halving Demo
    Duration 4:47
  • videocamHyperband
    Duration 4:06
  • videocamCASH
    Duration 7:30

Your Instructor

Soledad Galli

Data Scientist | Python Developer | Author and Instructor

menu_book9 courses

I'm a data scientist, machine learning educator and open-source developer. I've built machine learning models for credit risk, insurance claims and fraud prevention, and I am passionate about helping data scientists build models that hold up in real-world projects. My courses are designed for intermediate and advanced practitioners. They cover feature engineering, feature selection, hyperparameter optimization, imbalanced data and the design of robust machine learning pipelines, with a strong emphasis on techniques you can apply straight away in your own work. In the age of generative AI, when a working model can be coded in minutes, the real skill lies in understanding the methods deeply enough to review that output with rigor and a critical eye, and that's exactly what these courses are built to develop. I'm the creator and maintainer of Feature-engine, an open-source Python library for feature engineering and feature selection used by data scientists worldwide. I'm also the author of three books published by Packt: Python Feature Engineering Cookbook, Feature Selection in Machine Learning, and Imbalanced Data: Myths, Mistakes and Modern Solutions. I speak regularly at conferences and meetups, and I enjoy connecting technical communities with the tools and knowledge they need to succeed. In 2018 I received a Data Science Leaders Award, and in 2019 LinkedIn recognized me as one of its voices in data science and analytics. Before moving into data science, I earned an MSc in Biology and a PhD in Biochemistry, then spent more than eight years as a research scientist at institutions including University College London and the Max Planck Institute. That scientific training still shapes how I teach: rigorous, evidence-based, and focused on understanding why a method works before reaching for it.

Credit Information

What Students Are Saying

0.0 out of 5
Student's Choice
0 reviews

Frequently Asked Questions

We are a registered provider with 300+ associations and regulatory bodies worldwide. We operate across 27 global markets including Canada, the US, Australia, and the UK. Every course page clearly displays its specific accreditations. Upon completion, you receive a professional certificate that can be validated online. Our certificates include all necessary accreditation details, credit hours, and completion dates, and are formatted specifically to meet the submission requirements of most global regulatory bodies.

You May Also Like

  • Audit & Assurance: Fraud

    Control Failure Mapping

    starRated5.0out of 5,(43 reviews)
    1.5 CPD hrs
  • Audit & Assurance: Fraud

    Following the Money: Financial Indicators of Human Trafficking and Forced Labour

    1.5 CPD hrs
  • Audit & Assurance: Fraud

    The Cost of Convenience Series: Social Engineering: Impersonation, Messaging, & Relationship Fraud

    1.5 CPD hrs