Skip to main content
HomePythonModel Validation in Python

Model Validation in Python

Learn the basics of model validation, validation techniques, and begin creating validated and high performing models.

Comece O Curso Gratuitamente
4 Horas15 Videos47 Exercicios
22.486 AprendizesTrophyDeclaração de Realização

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
GroupTreinar 2 ou mais pessoas?Experimente o DataCamp For Business

Loved by learners at thousands of companies


Descrição do Curso

Machine learning models are easier to implement now more than ever before. Without proper validation, the results of running new data through a model might not be as accurate as expected. Model validation allows analysts to confidently answer the question, how good is your model? We will answer this question for classification models using the complete set of tic-tac-toe endgame scenarios, and for regression models using fivethirtyeight’s ultimate Halloween candy power ranking dataset. In this course, we will cover the basics of model validation, discuss various validation techniques, and begin to develop tools for creating validated and high performing models.
Para Empresas

GroupTreinar 2 ou mais pessoas?

Obtenha acesso à biblioteca completa do DataCamp, com relatórios, atribuições, projetos e muito mais centralizados
Experimente O DataCamp for BusinessPara uma solução sob medida , agende uma demonstração.

Nas seguintes faixas

Cientista de aprendizado de máquina com Python

Ir para a trilha
  1. 1

    Basic Modeling in scikit-learn

    Grátis

    Before we can validate models, we need an understanding of how to create and work with them. This chapter provides an introduction to running regression and classification models in scikit-learn. We will use this model building foundation throughout the remaining chapters.

    Reproduzir Capítulo Agora
    Introduction to model validation
    50 xp
    Modeling steps
    50 xp
    Seen vs. unseen data
    100 xp
    Regression models
    50 xp
    Set parameters and fit a model
    100 xp
    Feature importances
    100 xp
    Classification models
    50 xp
    Classification predictions
    100 xp
    Reusing model parameters
    100 xp
    Random forest classifier
    100 xp
  2. 2

    Validation Basics

    This chapter focuses on the basics of model validation. From splitting data into training, validation, and testing datasets, to creating an understanding of the bias-variance tradeoff, we build the foundation for the techniques of K-Fold and Leave-One-Out validation practiced in chapter three.

    Reproduzir Capítulo Agora
  3. 3

    Cross Validation

    Holdout sets are a great start to model validation. However, using a single train and test set if often not enough. Cross-validation is considered the gold standard when it comes to validating model performance and is almost always used when tuning model hyper-parameters. This chapter focuses on performing cross-validation to validate model performance.

    Reproduzir Capítulo Agora
  4. 4

    Selecting the best model with Hyperparameter tuning.

    The first three chapters focused on model validation techniques. In chapter 4 we apply these techniques, specifically cross-validation, while learning about hyperparameter tuning. After all, model validation makes tuning possible and helps us select the overall best model.

    Reproduzir Capítulo Agora
Para Empresas

GroupTreinar 2 ou mais pessoas?

Obtenha acesso à biblioteca completa do DataCamp, com relatórios, atribuições, projetos e muito mais centralizados

Nas seguintes faixas

Cientista de aprendizado de máquina com Python

Ir para a trilha

Conjuntos De Dados

Candy datasetTic-Tac-Toe dataset

Colaboradores

Collaborator's avatar
Chester Ismay
Collaborator's avatar
Becca Robins
Kasey Jones HeadshotKasey Jones

Research Data Scientist

Veja Mais

O que os outros alunos têm a dizer?

Cadastre-se mais 13 milhões de alunos e comece Model Validation in Python Hoje!

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.