Funded by the European Union. Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Education and Culture Executive Agency (EACEA). Neither the European Union nor EACEA can be held responsible for them.

Algorithms

GridSearchCV Method

Users: 2 - Average Rating: 5.00


GridSearchCV is a handy tool for tweaking the parameters of your model, it loops through all the different parameters that are fed into the parameter grid and produces the best combination of parameters, based on a score metric of your choice (precision, f1, etc. ).

Scientific Area:
Python

Language/Environments:
Learning

Target Group:
Advanced


Cite as:
Scikit-learn: Machine Learning in Python, Pedregosa et al., JMLR 12, pp. 2825-2830, 2011.

Author of the review:
João Mendes
Research Centre in Digitalization and Intelligent Robotics (CeDRI) - Instituto Politécnico de Bragança


Reviews

You have to login to leave a comment. If you are not registered click here

Giulia Cademartori


GridSearchCV is a useful tool of scikit-learn library which allows you to easily perform the optimization of ML models’ hyperparameters. Please remember to use this function with a validation set.