Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Hyperparameter Tuning with Python

License

NotificationsYou must be signed in to change notification settings

ashishpatel26/Hyperparameter-Tuning-with-Python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hyperparameter Tuning with Python

This is the code repository forHyperparameter Tuning with Python, published by Packt.

Boost your machine learning model’s performance via hyperparameter tuning

What is this book about?

Hyperparameters are an important element in building useful machine learning models.This book curates numerous hyperparameter tuning methods for Python, one of the most popular coding languages for machine learning. Alongside in-depth explanations of how each method works,you will use a decision map that can help you identify the best tuning method for your requirements.

This book covers the following exciting features:

  • Discover hyperparameter space and types of hyperparameter distributions
  • Explore manual, grid, and random search, and the pros and cons of each
  • Understand powerful underdog methods along with best practices
  • Explore the hyperparameters of popular algorithms
  • Discover how to tune hyperparameters in different frameworks and libraries
  • Deep dive into top frameworks such as Scikit, Hyperopt, Optuna, NNI, and DEAP
  • Get to grips with best practices that you can apply to your machine learning models right away

If you feel this book is for you, get yourcopy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter03.

The code will look like the following:

for n_est in n_estimators:          for crit in criterion:          for m_depth in max_depth:          #perform cross-validation here

Following is what you need for this book:This book is for data scientists and ML engineers who are working with Python and want to further boost their ML model’s performance by using the appropriate hyperparameter tuning method.Although a basic understanding of machine learning and how to code in Python is needed, no prior knowledge of hyperparameter tuning in Python is required.

With the following software and hardware list you can run all code files present in the book (Chapter 1-14).

Software and Hardware List

You will also need Python version 3.7 (or above) installed on your computer, along with the relatedpackages mentioned in the Technical requirements section of each chapter.

It is worth noting that there is a conflicting version requirement for the Hyperopt package in Chapter8, Hyperparameter Tuning via Hyperopt, and Chapter 10, Advanced Hyperparameter Tuning with DEAPand Microsoft NNI. You need to install version 0.2.7 for Chapter 8, Hyperparameter Tuning via Hyperopt,and version 0.1.2 for Chapter 10, Advanced Hyperparameter Tuning with DEAP and Microsoft NNI.

It is also worth noting that the HyperBand implementation used in Chapter 7, HyperparameterTuning via Scikit, is the modified version of the scikit-hyperband package. You can utilize the modifiedversion by cloning the GitHub repository (a link is available in the next section) and looking in afolder named hyperband.

Open in Google Colab

If you want to run your own experiments, it is suggested to clone this repository and run the corresponding notebook in your local computer. The purpose of these Colab Notebooks is just for you to see the results of all of the examples mentioned in the book.

Sr No.ChaptersColab
1Chapter 1 - Evaluating Machine Learning ModelsOpen In Colab
2Chapter 7 - Hyperparameter Tuning via ScikitOpen In Colab
3Chapter 8 - Hyperparameter Tuning via HyperoptOpen In Colab
4Chapter 9 - Hyperparameter Tuning via OptunaOpen In Colab
5Chapter 10 - Advanced Hyperparameter Tuning via DEAP and Microsoft NNIOpen In Colab
6Chapter 13 - Tracking Hyperparameter Tuning ExperimentsOpen In Colab

We also provide a PDF file that has color images of the screenshots/diagrams used in this book.Click here to download it.

Related products

Get to Know the Author

Louis Owenis a data scientist/AI engineer from Indonesia who is always hungry for new knowledge.Throughout his career journey, he has worked in various fields of industry, including NGOs, e-commerce,conversational AI, OTA, Smart City, and FinTech. Outside of work, he loves to spend his time helpingdata science enthusiasts to become data scientists, either through his articles or through mentoringsessions. He also loves to spend his spare time doing his hobbies: watching movies and conducting sideprojects. Finally, Louis loves to meet new friends! So, please feel free to reach out to him on LinkedInif you have any topics to be discussed.

About

Hyperparameter Tuning with Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook99.2%
  • Python0.8%

[8]ページ先頭

©2009-2025 Movatter.jp