Iris Dataset Analysis (Classification) | Machine Learning | Python

Поділитися
Вставка
  • Опубліковано 21 лип 2024
  • ⭐️ Content Description ⭐️
    In this video, I have analyzed the iris dataset in python with various techniques like EDA, Correlation Matrix, etc., The dataset has been trained with different models and got some good accuracy. You can check the testing and deployment of the model in the following video.
    Iris Dataset Test & Deploy Tutorial: • How to Deploy Machine ...
    Text-based Tutorial: www.hackersrealm.net/post/iri...
    Dataset link: www.kaggle.com/uciml/iris
    GitHub Code Repo: bit.ly/mlcoderepo
    🌐 Website: www.hackersrealm.net
    🔔 Subscribe: bit.ly/hackersrealm
    🗓️ 1:1 Consultation with Me: calendly.com/hackersrealm/con...
    📷 Instagram: / aswintechguy
    🔣 Linkedin: / aswintechguy
    🎯 GitHub: github.com/aswintechguy
    🎬 Share: • Iris Dataset Analysis ...
    ⚡️ Data Structures & Algorithms tutorial playlist: bit.ly/dsatutorial
    😎 Hackerrank problem solving solutions playlist: bit.ly/hackerrankplaylist
    🤖 ML projects tutorial playlist: bit.ly/mlprojectsplaylist
    🐍 Python tutorial playlist: bit.ly/python3playlist
    💻 Machine learning concepts playlist: bit.ly/mlconcepts
    ✍🏼 NLP concepts playlist: bit.ly/nlpconcepts
    🕸️ Web scraping tutorial playlist: bit.ly/webscrapingplaylist
    Make a small donation to support the channel 🙏🙏🙏:-
    🆙 UPI ID: hackersrealm@apl
    💲 PayPal: paypal.me/hackersrealm
    🕒 Timeline
    00:00 Introduction to Iris Dataset Analysis
    01:24 Import modules and load data using pandas
    04:27 Delete unnecessary column in Iris dataset
    05:11 Statistics data information
    07:01 Preprocessing the Iris dataset
    07:57 Exploratory Data Analysis of Iris dataset
    16:32 Correlation matrix for iris dataset
    20:51 Label Encoding for output class
    23:20 Splitting the data for training & testing
    25:34 Model Training & Testing for iris species classification
    31:45 End
    #irisdatasetanalysis #machinelearning #hackersrealm #classification #deeplearning #datascience #model #project #artificialintelligence #beginner #analysis #python #tutorial #aswin #ai #dataanalytics #data #bigdata #programming #datascientist #technology #coding #datavisualization #computerscience #pythonprogramming #analytics #tech #dataanalysis #iot #programmer #statistics #developer #ml #business #innovation #coder #dataanalyst

КОМЕНТАРІ • 145

  • @abhiavasthi624
    @abhiavasthi624 3 роки тому +19

    among the many youtube channels for newbies and new learners, you sir are a legend, very well explained.

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

    I've only seen 7 minutes of this video and I already love you!! Thank you very much for taking the time to explain all of this. I will watch all the videos on your list😍

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

    honestly this video is the bestttt i have seen many other videos but you sir nailed it !!

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

    This was amazing. Very useful!!! Thank you so much.

  • @ishanpathak2906
    @ishanpathak2906 3 роки тому +4

    Thnx a lot bro , this video made my day , honestly. Luv u bro 👍🏻👍🏻👍🏻 . Even Udemy mentors don't explain in such details.

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

    The best explanation for beginners. thankyou so much :)

  • @boualisabrina8230
    @boualisabrina8230 3 роки тому +4

    Thank you very much for the detailed explanation # From Algeria🇩🇿 #😊🙌✨

  • @RahulRaj-cy1xb
    @RahulRaj-cy1xb 2 роки тому +1

    Thanks i got 100% accuracy

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

    Thanks buddy it was just awesome.

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

    Thanks a lot for the very well and clear explanation , it is really help

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

    Well explained. Request you to please post series only data cleaning/preprocessing/Mathematical /EDA operations in python..

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

      I will definitely try to cover the concepts separately

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

    Thank you very much, that's super helpful !

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

    thank you very much,
    my question is which kind of supervised machine learning algorithms are used in this project?

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

      all the algorithm used are supervised only!!!

  • @nikhilpingale2111
    @nikhilpingale2111 3 роки тому +1

    very nice tutorial... easily understandable..... thnq soooooooo much

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

    You were getting 100% accuracy because the Jupiter notebook kernel stores the previous model so when you shuffle and re-train your KNN and Logistic model it effectively learns the new patterns and adapts to them. in the end, you end up testing on data it has already seen before.

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

      each time when we are running the cell, the model variable is initialized again, so it won't use the previous model.

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

    I want to deploy this using flask so how to save model?

  • @jaytike2360
    @jaytike2360 3 роки тому +1

    Aap toh devmanus hai sir... This video really helped me

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

    Omg you deserve my sub !!!

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

    it was awesome. thank yo so much sir

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

    Well explained

  • @AakashJacobs
    @AakashJacobs 4 роки тому +1

    Nice tutorial. ❤️

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

    Please can i use this same exact process for another dataset for example like a dataset that contains histological images that will be used to detect and classify colorectal cancer

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

      for image dataset, you could use other projects which are similar in the playlist... or you could use some snippets from the projects for yours

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

    Nice, one question how do you get a dropdown suggestions in the notebook, I can't get it?

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

      try to press tab or shift+space to get suggestions!!!

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

    This video was good, but with accuracy how do you conclude what amount of species belongs to diff groups?

    • @HackersRealm
      @HackersRealm  3 роки тому

      You can use classification report module to get a detailed report for each classes

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

    Thank You Mam

  • @tudorradu5848
    @tudorradu5848 4 місяці тому +1

    great tutorial

  • @firstlast-wz9jv
    @firstlast-wz9jv Рік тому +1

    very detailed explanation

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

    The session was awesome.. I have worked on it before... But can you tell me where to start ML and Maths stuff , any channel name?

    • @HackersRealm
      @HackersRealm  3 роки тому +1

      you can refer andrew ng course, or you can check the playlists in my channel that covers ml concepts

    • @niteshprajapat7918
      @niteshprajapat7918 3 роки тому

      @@HackersRealm ohk Sir, andrew ng's YT course is similar as coursera's course ?

    • @HackersRealm
      @HackersRealm  3 роки тому

      @@niteshprajapat7918 yes

    • @niteshprajapat7918
      @niteshprajapat7918 3 роки тому +1

      @@HackersRealm ohk, Thank u Sir 😀😀

  • @Chick0714
    @Chick0714 10 місяців тому +1

    tqs for video

  • @Pratyush_Chourasia
    @Pratyush_Chourasia 3 роки тому +1

    Thank u sir♥️♥️

  • @--CSEMusfiraYaseen
    @--CSEMusfiraYaseen 3 роки тому

    Hi sir. I'm working on collaboratory. It's giving an error if I go with "species" how will it be resolved?

    • @HackersRealm
      @HackersRealm  3 роки тому

      it doesn't matter what you use, the flow remains the same after loading the dataset

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

    Hi I was working in the same way on the google collaboratory. In the correlation part I enterd df.corr(), it says df is not defined. Can you please help me out?

    • @HackersRealm
      @HackersRealm  3 роки тому +1

      you have to run the cells from the start, dataframe should be loaded...

    • @chandanar8278
      @chandanar8278 3 роки тому +1

      @@HackersRealm Thank you so much Your vedio was very helpful

    • @HackersRealm
      @HackersRealm  3 роки тому

      @@chandanar8278 Glad you liked it!!!

  • @pritam.3740
    @pritam.3740 2 роки тому +1

    Thanks brother

  • @anvithkumar1055
    @anvithkumar1055 3 роки тому +1

    please continue series bro

    • @HackersRealm
      @HackersRealm  3 роки тому

      This week, will post a video for regression project

  • @Manu-fz3ud
    @Manu-fz3ud 3 роки тому +1

    Sir how to link front end to the code. While we give input it is not responds tell the solution.

    • @HackersRealm
      @HackersRealm  3 роки тому

      for frondend, you can use flask to send the data for the model to predict, but it's a long process as you have to create some functions for processing

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

    hey sir, thank you for the amazing video!
    is there a video how to handle csv files in os, i want to import data from os, a set of csv files and visualize them
    any video please or documentation

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

      you can see dogs vs cats classification and some other project videos, I have loaded data using os module and processed it

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

      @@HackersRealm thanks for your reply, but in your video you have 2 files what if i have 3 files, the if is goning to be different how can i write my if please?

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

      @@alamazahreh6423 you can add elif statement; you have to change the logic accordingly!!!

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

      @@HackersRealm ok!!!!!

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

    Too good

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

    Part of the video is severely distorted when I attempt to watch it but when I hover over a piece of the video with my mouse, a preview of what the video should be appears clear.

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

      i think the video is clear, it may be an network issue or in youtube. Please check it again as I didn't get the issue so far

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

    Good teach knowledge

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

    Hi sir were did u get csv file because when i am trying it, its shows that no such file in content

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

    in scatterplot the representation of all the the 3 colors is not executing....1 color is missing

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

      you can mention any color you want, of the 3 colors

  • @Aspirant017
    @Aspirant017 22 дні тому

    raising this error
    ValueError: could not convert string to float: 'Iris-setosa'

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

    shouldnt we drop the duplicate rows ?

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

      is there any duplicate rows in the data? i think the total data is 150 only

  • @Phoenix-ju8hf
    @Phoenix-ju8hf 2 роки тому +2

    The video was great but i have a doubt what did we achieve at the end after applying so many model like what we did to data or changed something or classified them what did we do at end what is the reason why we trained the model i am a newbie

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

      you can use the model to classify the flower type based on the input. check this video for remaining part ua-cam.com/video/2LqrfEzuIMk/v-deo.html

    • @Phoenix-ju8hf
      @Phoenix-ju8hf 2 роки тому +1

      @@HackersRealm thankyou soo much ❤️

  • @adithyakrishnan.r2266
    @adithyakrishnan.r2266 3 роки тому

    bro if i am doing as a project how to proceed it

    • @HackersRealm
      @HackersRealm  3 роки тому

      It is a project, i didn't get what you are asking....

  • @user-mh3mw7fk9w
    @user-mh3mw7fk9w 15 днів тому

    sir df.corr() gives error, that cannot convert string into float
    please resolve the issue

    • @Yett1hhh
      @Yett1hhh 15 днів тому +1

      df = df.select_dtypes(include=[float,int])
      df.corr()
      this worked for me

    • @HackersRealm
      @HackersRealm  15 днів тому

      this code will work

  • @chytrams9217
    @chytrams9217 3 роки тому +1

    is this DECISION TREE based ??plz reply

    • @HackersRealm
      @HackersRealm  3 роки тому +1

      I used different algorithms for this project

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

      Decision Tree and 3 other models are discussed.

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

    df.corr() , it's showing value error , how to rectify it sir?

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

      Could you drop the output column and try again?

    • @mr.khateeb6967
      @mr.khateeb6967 3 місяці тому +1

      Create a new Variable Name ex iris=df.drop(columns="Species")
      And apply Correction
      iris.corr ()
      This will work

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

    First of all How I can i download this iris dataset as CSV file.
    I am facing lots of problem.

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

      You can get it from the github repo in the description, it's easy

  • @ramavathpriyanka7289
    @ramavathpriyanka7289 3 роки тому

    Im not getting the scatter plot properly i.e, Im not getting all the three points pointed
    can any one pls help me out

    • @HackersRealm
      @HackersRealm  3 роки тому

      what error you are facing?

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

      At first I got the same problem. But in my case I have written the flower name incorrectly so after correcting It got fixed.

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

    do we have to download the csv file to run the notebook

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

      yes

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

      I'm running jupyter notebook using classification algorithm.... and I have worked on histograms, scatterplots and heatmaps.... i have a doubt in here.... that can we also draw pie charts and box plots using the same data?
      And is there any perception like we can plot only some type of plot based on the data we have or we can plot all type of plots?

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

      @@dhanabommakanti3620 it depends on the analysis you want to do, if you create box plot here, you can check for outliers. Each plot has specific insights we can get

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

    Predict part?

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

      you can check this video for prediction and deployment
      ua-cam.com/video/2LqrfEzuIMk/v-deo.html

  • @srishtychauhan2764
    @srishtychauhan2764 3 роки тому +1

    What is the point of shuffling?

    • @HackersRealm
      @HackersRealm  3 роки тому

      it will trained the data from different points

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

    ValueError: could not convert string to float: 'Iris-setosa'
    I am getting this error while applying the correlation by writing a code df.corr( )
    could you please explain how to fix it.

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

      Try to remove the colomn, or convert that column using label encoding

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

      @bhawanashukla790 same here. did you solve it ?

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

      did u solve the problem? How?

    • @Ally.076
      @Ally.076 5 місяців тому

      Solution is df = df.drop(columns = ['Species'])

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

      @@Ally.076 where shoul i put this line of code

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

    how I can convert my data (from excel) to iris dataset.

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

      you can read the excel using pandas and use the same workflow

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

      @@HackersRealm will you provide a link please

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

      @@aqarabhusnain1271 there is no link for this, instead of read_csv, use read_excel

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

    How to save the model using pickle?

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

      you can normally store it using the model variable

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

      @@HackersRealm can u plz tell me how to do?

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

      @@HensiThakkar Please connect through linkedin or insta for further queries!!!! Link in the description

  • @satyanshpandey5002
    @satyanshpandey5002 3 роки тому +1

    sir here i'm facing error
    AttributeError: module 'matplotlib' has no attribute 'scatterplot'

    • @HackersRealm
      @HackersRealm  3 роки тому

      try to reinstall the module using pip, that may help

  • @sasivardhanbonthu8159
    @sasivardhanbonthu8159 3 роки тому +1

    explained better than edureka

  • @AK-cy3ql
    @AK-cy3ql Рік тому

    [Errno 2] No such file or directory: 'iris.csv'

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

      place the dataset file in same directory as the notebook file

    • @AK-cy3ql
      @AK-cy3ql Рік тому

      @@HackersRealm yes I did that, but I thought that dataset was inbuilt in the library and does not need to be downloaded separately and placed in the directory

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

      @@AK-cy3ql no for this one, you have to place in the directory

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

    I need an explanation. I got Nothing until now

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

      which part is confusing for you?

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

    Awsm video can u check your dm actually i want to ask something related to AI course please check ur dm

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

    🤍

  • @saviovnn
    @saviovnn 3 роки тому

    starts adding PLSSSSS caption

    • @HackersRealm
      @HackersRealm  3 роки тому

      it will automatically generated by youtube

    • @saviovnn
      @saviovnn 3 роки тому

      @@HackersRealm you are not, you have to enable it, add to the other videos thx

    • @HackersRealm
      @HackersRealm  3 роки тому

      @@saviovnn it's enabled, it will take some time to generate actually