Grid search for random forest hyperparameters
Choosing model hyperparameters with cross-validation, then evaluating on a separate test set.
AI Code Explorer
Code examples at five levels (beginner, intermediate, advanced, research, applied); each example has a goal, commented code, requirements and how to run it. 61 of the 69 examples were actually run and their output recorded.
Choosing model hyperparameters with cross-validation, then evaluating on a separate test set.
Searching for the best hyperparameters with the TPE algorithm instead of grid search.
No code runs on the site's server; copy the example and run it on your machine or in a Jupyter notebook. Examples marked “not run” need a GPU or large model downloads, so check them against the official documentation.
Sections
No section has this name. Press “Search” to search all site content.
Favourites
My results & certificates
My academy progressMy quiz resultsKids’ progressAcademy certificatesQuiz certificatesStart any lesson or quiz and it will show up here so you can get back to it quickly.
Settings
I am the AI Frameworks & Libraries Assistant. Describe your project or ask me about a library, a comparison or a code example, and I will answer from the encyclopedia's database with links and sources.
Answers from the encyclopedia's database only, without a language model and without sending your question to any third party.
The assistant can make mistakes, so check the attached sources.