Build your first machine learning model in Python

Поділитися
Вставка
  • Опубліковано 24 лис 2024

КОМЕНТАРІ • 379

  • @brittanybutterworth7994
    @brittanybutterworth7994 Рік тому +133

    🐍My heart is pounding so hard! I can't believe it was that 'simple' to make a model!! It gives me so much confidence to start learning more and add more models to the code I've made

    • @Samuel-ik5wp
      @Samuel-ik5wp 9 місяців тому +9

      Stop SIMPING dude.

    • @jaredheeralal2095
      @jaredheeralal2095 9 місяців тому +21

      ​@@Samuel-ik5wp Stop hating

    • @binarysaiyan9389
      @binarysaiyan9389 8 місяців тому +7

      Try making this model without scikit learn.
      Then you'll get the real taste of Machine learning

    • @martgjepali5266
      @martgjepali5266 8 місяців тому

      @@binarysaiyan9389what’s the best practice with or without

    • @Blackduckkkkkoi
      @Blackduckkkkkoi 4 місяці тому

      ​@@binarysaiyan9389🤣🤣🤣

  • @Ts18762
    @Ts18762 Рік тому +36

    Amazing- I really liked how casually you would think to add colors, trend line and straight away go and add a few lines to reflect in output. Shows how comfortable you’re- for a beginner like me- that was so instructive when you speak out your thoughts on the go.

  • @dsnewton7089
    @dsnewton7089 2 роки тому +19

    After this tutorial, I can now start my ML Journey confidently. May God bless you Data Professor to continue doing this good work. Cheers

  • @nikhilrajput2652
    @nikhilrajput2652 Рік тому +16

    You literally give the brief on machine learning in a very simple and easy way

  • @animelover5093
    @animelover5093 Рік тому +26

    I didn't have any prior knowledge of Data Science or Machine Learning, but as a visual learner,
    I finally understand the purpose of the mathematical equation y = f(X).
    Initially, after watching a couple of videos and starting from a math tutorial, I was confused about the relevance of math in this field.
    But now I see its importance, and I am grateful for this new understanding.
    Thanks @DataProfessor

  • @shakirabdo638
    @shakirabdo638 Рік тому +9

    This is the clearest ML Tutorial I’ve ever watched ❤❤❤

  • @HamsterWorld007
    @HamsterWorld007 8 місяців тому +3

    One of the best beginner videos available on YT😍

  • @StaticBlaster
    @StaticBlaster 26 днів тому +3

    🐍Yo, this is my first ML project ever. Thank you. Very clear and concise. I need to go over this again and again and learn from this as well as other tutorials and courses.

  • @ranahuzaifa147
    @ranahuzaifa147 Рік тому +3

    This was the easiest video on the ML model. Thanks Prof.

  • @nironelokumannage1880
    @nironelokumannage1880 6 місяців тому +3

    This is the best machine learning tutorial that i've ever come across !❤
    Simple, Clean and Informative !
    Thank you sir ! 🙏

    • @DataProfessor
      @DataProfessor  6 місяців тому +1

      Thanks so much for the kind words :)

  • @tikkki25
    @tikkki25 6 місяців тому +3

    You're a very good teacher. Taught a complex topic so simply

  • @ololololololoj5634
    @ololololololoj5634 Рік тому +9

    This video is amazing! You explain things so clearly, and the quality is excellent.

  • @trendsandmore911
    @trendsandmore911 Рік тому +3

    I usually don't spend time commenting on youtube, but dude this is a great video! Easy to follow alone, and very helpful. Thank you

  • @mishanshah6827
    @mishanshah6827 Рік тому +16

    🐍This was my first video on ML and you made it really easy to follow through. I did this because I wanted to feel how it is like to do this , and I like it. I will definitely follow this through and study the actual maths behind it. Thank you for keeping me motivated.

  • @shivammaisuriya365
    @shivammaisuriya365 3 місяці тому +3

    Thank you so much for this video it is very helpful and specially you explain every line by line how code actually work.
    This is better than my college sir

  • @prashanthibandari8518
    @prashanthibandari8518 Рік тому +2

    Excellent video. You explained everything very simple. Which i learnt 1 month in classroom you just explained in few minutes. It is quick recap for me. Thank you..

  • @mhapich
    @mhapich 2 роки тому +22

    🐍 This was SO helpful. I feel like I had just been going through the motions in that process before, but you explained WHY each step is done. And I will definitely be using headings from now on to create that table of contents. Thanks, Data Professor, for another great video!

    • @DataProfessor
      @DataProfessor  2 роки тому +2

      Glad it was helpful! Yes, using headings and sub-headings helps my future self to skim through the code fairly quickly :)

  • @the-basit-ali-com
    @the-basit-ali-com 9 місяців тому +3

    I have been spending the past 4 months trying to actually do something tangible but haven't found anything practical like this one
    Just took an hour and half I belive and I am done with my first mach ine learning modle
    This has enhanced my confience and now I am going to build more
    Thankf Professor

  • @MrIbadanBoy
    @MrIbadanBoy 2 роки тому +7

    Awesome as always.. I'm applying this to my QSAR dataset in a bit.. Thanks for churning out great n useful content as always.. You d bestest Data Professor.

    • @DataProfessor
      @DataProfessor  2 роки тому

      Glad it was helpful! And thanks for the kind words :)

  • @andrewdorsey7411
    @andrewdorsey7411 Рік тому +1

    🐍 Thanks for this. I appreciate you not just going straight into the core material, but talking about the organization with the headers.

  • @HerozTech
    @HerozTech Рік тому +1

    this is literally the first machine learning that i have built
    looking to take it further
    Thanks for the tutorial
    🐍🐍🐍🐍🐍🐍🐍🐍🐍🐍🐍🐍🐍🐍

  • @sumit5210
    @sumit5210 8 місяців тому

    The only video that I understood about ML. Thank you!

  • @RiyazBashaRK
    @RiyazBashaRK Рік тому +7

    Hi ! Can you please mention in one line what exactly we found at the end I see it shows linear regression but what exactly does it depicts?

  • @teresanicholls8531
    @teresanicholls8531 Рік тому +1

    🐍 Your explanation was clear, concise, and appreciated! You are an amazing teacher who hits all the important points without adding any confusion. Thank you for your time in doing this!

    • @DataProfessor
      @DataProfessor  Рік тому

      Wow, thank you for the kind words! Glad to hear that the video is helpful!

  • @AzureCz
    @AzureCz 2 роки тому +3

    🐍 great video, simple and direct approach, simple models, simple problem. It'd be nice to have more of those simple and direct videos with simple classification and clustering problems, just to get a grasp on them :D

    • @DataProfessor
      @DataProfessor  2 роки тому +1

      Great suggestion! More in the pipeline

    • @AzureCz
      @AzureCz 2 роки тому

      @@DataProfessor The "Titles" organization inside the notebook really helped to make it more fluid!

  • @naboulsikhalid7763
    @naboulsikhalid7763 11 місяців тому +2

    before this video, Machine learning was sorcery and scary. Not anymore. Thank you for your neat and casual explanations that make me love the science and the math behind those functions. I am really looking forward to giving it a shot and learning more. thanks a lot. like and sub-earned

    • @DataProfessor
      @DataProfessor  11 місяців тому

      Glad to hear that this video was helpful!

  • @aashiqumr
    @aashiqumr Рік тому +2

    The best ML tutorial i just watched. Hat's off for your work sir. I really enjoyed and explanations were really great. Thanks again. You earned a subscriber here. keep up the great work sir.

  • @ragus1416
    @ragus1416 Рік тому +2

    You made the process very simple for us! Great Video! Keep up the good Work!

  • @mattlitchfield3776
    @mattlitchfield3776 2 роки тому +5

    🐍 awesome video. This one was so much easier to follow along compared to other tutorials I have watch.

  • @sharonrosekhokhololo5304
    @sharonrosekhokhololo5304 9 місяців тому +1

    The explanations are so easy to understand.

  • @christopherramirez1843
    @christopherramirez1843 8 місяців тому

    Excellent video to help understand the basic behind training new models. Just one suggestion, I missed a little more explanation on how the different parameters of the training algorithm would affect the end result.

  • @forestsunrise26
    @forestsunrise26 2 роки тому +3

    Thank you so so much for this tutorial, your videos deserve much more views! Could you please also do a video explaining how to do k-cross validation as well as the methods to measure and compare the accuracy of ML models (confusion matrix, F1 score ect.)? Thank you so much for your videos I learn much more from you than my other profs at the university!

    • @DataProfessor
      @DataProfessor  2 роки тому

      Sure thing! Thanks for the suggestion. Also glad the videos are helpful :)

  • @zegiyt4069
    @zegiyt4069 Рік тому

    TY you saved me for training our model for my Final Year Project

  • @Beauttech-b6p
    @Beauttech-b6p 2 місяці тому +1

    Thank you for this .
    This video is helping me build my first model

  • @DJPapzin
    @DJPapzin 11 місяців тому +9

    🎯 Key Takeaways for quick navigation:
    00:00 📋 *Introduction to Building Your First Machine Learning Model in Python*
    - Overview of building a machine learning model in Python using scikit-learn and Google Colab.
    - Naming conventions and organizing Jupyter Notebooks.
    01:12 📊 *Loading and Exploring the Dataset*
    - Introduction to the delani dataset, which contains information about molecule solubility.
    - Explanation of comma-separated values (CSV) format and dataset columns.
    05:11 📦 *Data Preparation: Splitting Data into Features (X) and Target (Y)*
    - How to separate the dataset into features (X) and the target variable (Y).
    - Explanation of the training set and testing set split.
    09:22 ⚙️ *Building a Linear Regression Model*
    - Importing the Linear Regression model from scikit-learn.
    - Training the model on the training dataset.
    13:18 🧪 *Model Evaluation: Mean Squared Error and R-squared*
    - Calculating Mean Squared Error (MSE) and R-squared for both training and testing sets.
    - Organizing and presenting the results in a Pandas DataFrame.
    22:13 🌲 *Building a Random Forest Regressor Model*
    - Introduction to using the Random Forest Regressor model.
    - Organizing notebook sections and headings for clarity in the notebook structure.
    23:47 📊 *Building Regression Models*
    - Explains the distinction between regression and classification models based on the nature of the target variable.
    - Demonstrates how to create a random forest regressor with specified parameters.
    - Covers the training process of the regression model.
    25:01 📈 *Model Performance Evaluation*
    - Discusses using mean squared error and R2 score for evaluating model performance.
    - Shows how to apply these metrics to the random forest regression model.
    - Emphasizes being cautious about typos in code.
    26:08 🧷 *Combining Model Results*
    - Explains the process of combining the results of linear regression and random forest regression models.
    - Demonstrates how to concatenate the results into a single DataFrame.
    - Provides tips on reindexing and organizing the combined data.
    28:03 📊 *Data Visualization of Prediction Results*
    - Introduces data visualization using matplotlib for comparing predicted and actual values.
    - Guides in creating a scatter plot with labeled axes.
    - Adds a trendline to the plot using numpy's polyfit function.
    29:56 🎉 *Conclusion and Further Exploration*
    - Summarizes the process of building a machine learning model in Python using scikit-learn.
    - Encourages viewers to explore different models, tweak learning parameters, and refer to scikit-learn's documentation.
    - Requests viewers to share their model-building experiences in the comments.
    Made with HARPA AI

    • @Hayman-
      @Hayman- 11 місяців тому

      “ Underrated comment “ -every bot comment ever
      (But still a good comment with no likes)

  • @thanirmalai
    @thanirmalai 11 місяців тому

    🐍Amazing intro to ml. It really felt easy to build my first ml model

  • @akamasamueldodzi5719
    @akamasamueldodzi5719 3 місяці тому

    very good video. cleared most of my fears about building ML models

  • @yao_barna
    @yao_barna 2 роки тому +9

    Hi! Great video. A quick question... when do we use linear regression as in statistics and when do we use it as a ML algorithm? Both try to find coefficients, both try to minimize the error (however it is defined) but I am still confused on what is the difference between the classical linear regression I learnt in basic algebra course and the ML procedure. Thanks!

  • @joelr9924
    @joelr9924 5 місяців тому

    Thank you so much for this tutorial. Great to follow and to get an idea of how to actually build a model

  • @Skywalker954
    @Skywalker954 6 місяців тому

    Thanks a lot! Great tutorial, I love how you explain every step of it so it is easy to understand what you are doing.

  • @chaz8572
    @chaz8572 Рік тому

    Python really is a whole different beast.. Just to accomplish the task we used numpy, pandas, sklearn.model_selection, sklearn.linear_model, sklearn.metrics, sklearn.ensemble, and matplotlib.
    That's 7 libraries.. So overwhelming...
    Thanks for the guide. I did it locally within VSCode, so had to keep tweaking and installing libraries along the way, but it worked out well. The ML journey begins. Thanks for the training wheels!

  • @bassmonkey70
    @bassmonkey70 Рік тому

    🐍Amazing depth covered in a short time-frame! Thank-you for compiling this introductory ML tutorial!

  • @ikechukwuewuzie3836
    @ikechukwuewuzie3836 2 роки тому +1

    Great Tutoring from the Data Professor.

  • @muggly6059
    @muggly6059 5 місяців тому

    Wow! Thank you for a simple, clear explanation 👏👏

  • @_Wonder__
    @_Wonder__ Рік тому +8

    This was awesome, thanks to your knowledge I feel I can have fun with experimenting with different algorithms and its parameters.🐍

  • @horanj.1022
    @horanj.1022 Рік тому +1

    🐍
    Great video Data Professor!
    I really liked this tutorial because you didn't miss explaining terms you used without making any assumptions

  • @raghuls8033
    @raghuls8033 9 місяців тому +3

    Anyway u have a dataset for clap sound like single, double and triple that makes a function play/pause, previous and next in the music player pls help me with this anyone

  • @MohamedYasser-ec8ly
    @MohamedYasser-ec8ly 16 днів тому

    Thank You , May God bless you to continue doing this Great work.

  • @JonOxtoby
    @JonOxtoby 7 місяців тому +1

    🐍THanks for such an excellent introduction to running ML models in python - so clearly explained and super helpful tips on working within notebooks!

  • @ranjandeep
    @ranjandeep 2 роки тому +1

    This is amazing Data Professor. Hope to see more of this stuff.

  • @mattisbeaugendre4085
    @mattisbeaugendre4085 4 місяці тому

    Very cool video, much thanks for this. In addition to the video, I would like to know as a final part : how can we apply this model in a real life case ? Where do I put my python code ? How to integrate it ?

  • @nithyeahh
    @nithyeahh 6 місяців тому

    I think you should also define why random forest is used, what is the difference between linear regression and random forest. Why max_deoth is set to 2, and all the other details because these elements are primarily important for anyone to understand what is actually being done.

  • @zuodei4408
    @zuodei4408 8 місяців тому

    🐍Thanks for this video. It will help me move forward in my final project in the university. Keep up the Good work. God bless you🙏.

  • @armandoabreu6593
    @armandoabreu6593 3 місяці тому

    Great video straight foward and clear explanations.

  • @deepakpanchaal
    @deepakpanchaal 2 місяці тому

    Very nicely explained. But you should have explained the outputs more, like what does that chart mean shown at the end?

  • @1hpxalphaop741
    @1hpxalphaop741 6 місяців тому +2

    Actually a great video sir, now we have trained the model right?, now if i want to use this model so i just need to copy paste the name of this jupyter file right??

  • @ShiftKoncepts
    @ShiftKoncepts 10 місяців тому

    already so much better than datascience 365 tutorials!

  • @uchiha6553
    @uchiha6553 4 дні тому +1

    thanx sir
    I loved to learn this I'll go create my own model now

  • @vinnythapz1860
    @vinnythapz1860 7 місяців тому

    🐍wow!!thanks...sticking around you definitely will get me throught my internship with flying colours!

  • @altangerelbayarsaikhan6386
    @altangerelbayarsaikhan6386 7 місяців тому +1

    🐍 thank you for the great tutorial of the building machine learning model.

  • @ahsandhindsa4550
    @ahsandhindsa4550 3 місяці тому

    Thank you so much bro this is the clearest explanation I have seen 🐍.

  • @pencillab6476
    @pencillab6476 Рік тому

    Very well explained. Now i know where to start and what to do....

  • @Idontknowcode512
    @Idontknowcode512 Рік тому

    Best video I have find on youtube. Have you created playlists related to the AI, ML, NN 🤔

  • @allankariuki4082
    @allankariuki4082 3 місяці тому

    🐍 Thank you so much. I can now dive into ML with confidence.

  • @AdamC3434
    @AdamC3434 Рік тому

    🐍 this video got me through a few projects. Thank you!

  • @ChanceMinus
    @ChanceMinus 11 місяців тому +1

    Brilliant! Extremely helpful... Thank you!

  • @stackflow4007
    @stackflow4007 7 місяців тому +1

    Great video ! After making the model can we deploy this to AWS? or do we need to reprogram in AWS again?

  • @FrankieLaws
    @FrankieLaws Рік тому

    Thank you, I love this video. I am new to ML.
    Very thorough in your thoughts and explanation.
    Question: What do you do with the prediction afterwards?

  • @jeffreyboadu4452
    @jeffreyboadu4452 11 місяців тому

    🐍Wow. This is my first time witnessing how models can be created. Great video as well.

  • @chinonsomartins7308
    @chinonsomartins7308 Рік тому +1

    I really love this video very explicit and well thought !!❣❣

  • @negusuworku2375
    @negusuworku2375 Рік тому +1

    WOW....very interesting and very helpful....Thank you

  • @ayushbenny5524
    @ayushbenny5524 Місяць тому

    Can you suggest me what are the pre-requisites that i should know before jumping into this?

  • @utkarshghildyal6876
    @utkarshghildyal6876 11 місяців тому

    🐍 Great way of explaining machine learning! Made it really easy to understand!

  • @ADRIANGALLEGOMOGENA
    @ADRIANGALLEGOMOGENA 11 місяців тому

    🐍
    I'm doing a classification model for my thesis and your video has been really useful, thank you so much for the content. Could you make a video explaining the feature extraction? it'd be really helpful. Thank you again I love your videos.

  • @FRAMEDSKATEKREW69
    @FRAMEDSKATEKREW69 Рік тому

    🐍
    Finally a simple video, although I had a book for all this I think the pacing was too slow to start me off.
    Now I am more interested in know why and how some of this code work and for what reason.
    This is my process on being able to really understand and process information for coding lol
    Thanks for the video!

  • @negusuworku1871
    @negusuworku1871 Рік тому +1

    This is super. Thank you so much. Keep it up the good work...

  • @ShrikrishnagopalSharma
    @ShrikrishnagopalSharma Рік тому +1

    This was really nice content i have been struggling from where to start for my project and this video has just given me the way thanks @Data professor😇😇😇

  • @andy-moggo
    @andy-moggo 2 місяці тому +1

    Amazing explanation, thanks

  • @ddjazz
    @ddjazz Рік тому

    Great video , I thought the comparison at the end , would show the actual values from the testset vs the predicted values for the Y , could you explain the difference?

  • @galagaev
    @galagaev Рік тому

    this is a wonderful video, i am just beginning my journey here. I just run into the problem of 'X_train' not being defined. cant find an answer but i followed every step and double checked.

  • @matijaxzivkovic8843
    @matijaxzivkovic8843 Рік тому +1

    Great video! I enjoyed a lot and learned a lot. Many thanks for that.

  • @JustThink2000
    @JustThink2000 8 місяців тому

    Wish you would explain the training mods you use while explaining how to do this.

  • @daltonwilson1096
    @daltonwilson1096 2 роки тому +1

    This was a big help, thank you! Question: what's the significance of the value chosen for random_state? I get that you need a number so that you'll get the same split each time, but I've seen some people use random_state=100 and some use random_state=200. I don't understand the difference. If anyone could shed a little light on that for me, I'd be very grateful. Thanks

  • @schimidt99
    @schimidt99 2 роки тому +1

    Amazing tutorial! Thank you very much!!!

  • @juliamaria1790
    @juliamaria1790 17 днів тому +1

    Thanks professor 🤝

  • @SuperPrasathkumar
    @SuperPrasathkumar 11 місяців тому +1

    Great start👌

  • @anothermarcus
    @anothermarcus Рік тому +1

    🐍That was a sprint to the finish line with that last scatter plot, lol.
    I was stuck actually installing the right packages:
    pip install pandas
    pip install scikit-learn
    pip install matplotlib
    Other than that it was groovy.

  • @Therandom0nee
    @Therandom0nee 3 місяці тому

    Hi! could you please explain what the data is about, like what logS stands for?

  • @RabeccaMalika
    @RabeccaMalika 6 місяців тому

    Thanks for this video. I want to develop and train a Machine learning model that will be used to develop a robotic system in maize cultivation.

  • @ctvisconti
    @ctvisconti 11 місяців тому

    I want to learn how to create a simple but useful neural network in my home lab . Do you have any video or ideas to share?

  • @CIVILSolved
    @CIVILSolved 9 місяців тому

    What is the difference between the model (linear regression) developed by Google Colab and Microsoft Excel? Here you quoted that the model developed is using a machine learning model (using Colab), can we say the model developed using Mircosoft Excel is also a Machine Learning model?

  • @ajayf
    @ajayf Рік тому +1

    🐍appreciate the video, very clear and informative

  • @rahulthewild
    @rahulthewild Рік тому

    🐍 Love the video. Thank you so much! Wondering what should be my next step after this video?

  • @karanbisht6359
    @karanbisht6359 2 роки тому +4

    Great tutorial 👌👌

  • @salehabdullahi9356
    @salehabdullahi9356 9 місяців тому

    Thanks for this awesome tutorial, in the video you gave the link to your article on building machine learning model. I tried to read but it is only available to medium members, please is there a way i can access it?
    thank you

  • @Mrnobody.07
    @Mrnobody.07 7 місяців тому

    🐍 How amazingly scikit learn remove the stress of model building and focusing on the results.

  • @sonamsodani3272
    @sonamsodani3272 Рік тому +1

    🐍thank you for posting this tutorial. It is helpful and easy to follow. 👍

  • @G_k12621
    @G_k12621 2 місяці тому +1

    I am new to ML
    so can someone explain : what is the aim of this ML model and what it did at last

  • @vichhaiyserey
    @vichhaiyserey 2 роки тому +1

    This is very informative, thanks!

  • @ctvisconti
    @ctvisconti Рік тому +1

    🐍 - Great Job! Objective and easy. Thank you