Machine Learning Tutorial Python - 7: Training and Testing Data

Publié le: 09 août 2018
sur la chaîne: codebasics
630,723
9.2k

sklearn.model_selection.train_test_split method is used in machine learning projects to split available dataset into training and test set. This way you can train and test on separate datasets. When you test your model using dataset that model didn't see during training phase, it will give you better idea on the accuracy of a model.

#MachineLearning #PythonMachineLearning #MachineLearningTutorial #Python #PythonTutorial #PythonTraining #MachineLearningCource #MachineLearningMethod #DataTraining #sklearntutorials #scikitlearntutorials

Code: https://github.com/codebasics/py/blob...

Topics that are covered in this Video:
0:00 - Theory behind why we need to split given dataset into training and test using sklearn train set split method.
0:54 - Coding (Here we use car price prediction problem to demonstrate train test split)
2:14 - Use train_test_split from sklearn
3:54 - Use of random state method
4:49 - Use of fit() method to train your model
5:35 - Score() method (to check the accuracy of the model)

Do you want to learn technology from me? Check https://resources.codebasics.io/z8XKSk for my affordable video courses.

Next Video:
Machine Learning Tutorial Python - 8: Logistic Regression (Binary Classification):    • Machine Learning Tutorial Python - 8:  Log...  

Very Simple Explanation Of Neural Network:    • Neural Network Simply Explained | Deep Lea...  

Populor Playlist:
Data Science Full Course:    • Data Science Full Course For Beginners | P...  

Data Science Project:    • Machine Learning & Data Science Project - ...  

Machine learning tutorials:    • Machine Learning Tutorial Python -1: What ...  

Pandas:    • Python Pandas Tutorial 1. What is Pandas p...  

matplotlib:    • Matplotlib Tutorial 1 - Introduction and I...  

Python:    • Why Should You Learn Python? | Complete py...  

Jupyter Notebook:    • What is Jupyter Notebook? | Jupyter Notebo...  

Tools and Libraries:
Scikit learn tutorials
Sklearn tutorials
Machine learning with scikit learn tutorials
Machine learning with sklearn tutorials

To download csv and code for all tutorials: go to https://github.com/codebasics/py, click on a green button to clone or download the entire repository and then go to relevant folder to get access to that specific file.

🌎 My Website For Video Courses: https://resources.codebasics.io/z8XKSk

Need help building software or data analytics and AI solutions? My company https://www.atliq.com/ can help. Click on the Contact button on that website.

#️⃣ Social Media #️⃣
🔗 Discord:   / discord   Codebasics Instagram:   / codebasicshub  
🔊 Codebasics Facebook:   / codebasicshub  
📝 Codebasics LinkedIn:   / codebasics  
📱 Codebasics X handle:   / codebasicshub  
📸 Dhaval's Instagram:   / dhavalsays  
📝 Dhaval's LinkedIn:   / dhavalsays  
📱 Dhaval's X handle: https://x.com/dpcodebasics
🔗 Patreon: https://www.patreon.com/codebasics?fa...


Sur cette page du site, vous pouvez voir la vidéo en ligne Machine Learning Tutorial Python - 7: Training and Testing Data durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur codebasics 09 août 2018, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 630,723 fois et il a aimé 9.2 mille téléspectateurs. Bon visionnage!