Iris Dataset Analysis (Classification) | Machine Learning | Python

Поделиться
HTML-код
  • Опубликовано: 30 июл 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

Комментарии • 146

  • @abhiavasthi624
    @abhiavasthi624 3 года назад +19

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

  • @monicapereznogueras7383
    @monicapereznogueras7383 5 месяцев назад +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😍

    • @HackersRealm
      @HackersRealm  5 месяцев назад

      Glad the videos are useful!!!

  • @ca2hill
    @ca2hill 2 года назад +1

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

  • @boualisabrina8230
    @boualisabrina8230 3 года назад +4

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

  • @sanchitarajapure9431
    @sanchitarajapure9431 2 года назад +3

    The best explanation for beginners. thankyou so much :)

  • @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 !!

  • @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.

  • @souhamahmoudi7745
    @souhamahmoudi7745 2 года назад +1

    Thank you very much, that's super helpful !

    • @HackersRealm
      @HackersRealm  2 года назад

      Glad you liked the content!!!😄

  • @mahaalsalman2323
    @mahaalsalman2323 2 года назад +1

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

  • @saturng5207
    @saturng5207 3 года назад +2

    Thanks buddy it was just awesome.

  • @RahulRaj-cy1xb
    @RahulRaj-cy1xb 2 года назад +1

    Thanks i got 100% accuracy

  • @nikhilpingale2111
    @nikhilpingale2111 3 года назад +1

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

  • @satyanshpandey5002
    @satyanshpandey5002 3 года назад +2

    it was awesome. thank yo so much sir

  • @HensiThakkar
    @HensiThakkar 2 года назад +2

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

  • @mohamedessam1473
    @mohamedessam1473 2 года назад +1

    Thank You Mam

  • @ibrahimahmethan586
    @ibrahimahmethan586 3 года назад +4

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

    • @HackersRealm
      @HackersRealm  3 года назад

      all the algorithm used are supervised only!!!

  • @ramyasri6845
    @ramyasri6845 2 года назад +1

    Well explained

  • @Chick0714
    @Chick0714 10 месяцев назад +1

    tqs for video

  • @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

  • @memesthatifoundonreddit6432
    @memesthatifoundonreddit6432 Год назад +1

    Omg you deserve my sub !!!

  • @AakashJacobs
    @AakashJacobs 4 года назад +1

    Nice tutorial. ❤️

  • @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.

  • @firstlast-wz9jv
    @firstlast-wz9jv Год назад +1

    very detailed explanation

  • @tudorradu5848
    @tudorradu5848 5 месяцев назад +1

    great tutorial

  • @Pratyush_Chourasia
    @Pratyush_Chourasia 3 года назад +1

    Thank u sir♥️♥️

  • @pritam.3740
    @pritam.3740 2 года назад +1

    Thanks brother

  • @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!!!

  • @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!!!

  • @--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

  • @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

  • @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

  • @anvithkumar1055
    @anvithkumar1055 3 года назад +1

    please continue series bro

    • @HackersRealm
      @HackersRealm  3 года назад

      This week, will post a video for regression project

  • @Manabadikavali
    @Manabadikavali 2 года назад +1

    Good teach knowledge

  • @beautifulworld9293
    @beautifulworld9293 2 года назад +1

    Too good

  • @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 😀😀

  • @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!!!!!

  • @__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

  • @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

  • @inxi8987
    @inxi8987 2 года назад +3

    Predict part?

    • @HackersRealm
      @HackersRealm  2 года назад

      you can check this video for prediction and deployment
      ruclips.net/video/2LqrfEzuIMk/видео.html

  • @Aspirant017
    @Aspirant017 Месяц назад

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

  • @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

  • @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

  • @user-mh3mw7fk9w
    @user-mh3mw7fk9w 24 дня назад

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

    • @Yett1hhh
      @Yett1hhh 24 дня назад +1

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

    • @HackersRealm
      @HackersRealm  24 дня назад

      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.

  • @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

  • @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....

  • @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 ruclips.net/video/2LqrfEzuIMk/видео.html

    • @Phoenix-ju8hf
      @Phoenix-ju8hf 2 года назад +1

      @@HackersRealm thankyou soo much ❤️

  • @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.

  • @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

  • @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

  • @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

  • @sasivardhanbonthu8159
    @sasivardhanbonthu8159 3 года назад +1

    explained better than edureka

  • @srishtychauhan2764
    @srishtychauhan2764 3 года назад +1

    What is the point of shuffling?

    • @HackersRealm
      @HackersRealm  3 года назад

      it will trained the data from different points

  • @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

  • @aarohigupta4286
    @aarohigupta4286 4 дня назад

    Upar ke modules execute ni hore ????kya kare?

  • @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

  • @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

  • @jameshopkins3541
    @jameshopkins3541 5 месяцев назад

    I need an explanation. I got Nothing until now

    • @HackersRealm
      @HackersRealm  5 месяцев назад

      which part is confusing for you?

  • @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

  • @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