Machine Learning with Python video 7:How to Handle Categorical Data||OneHotEncoding||ColumnTransform

Поділитися
Вставка
  • Опубліковано 15 бер 2020
  • In this video i will show you how you can handle categorical data . it will be done in two steps
    1) LabelEncder to give numerical value to each category
    2) one hot encoding and column transform to give each category a separate column
    How do I encode categorical features using scikit-learn?
    source code : github.com/harshitroy2605/han...
    link to machine learning playlist : • Machine learning with ...
    related video title:
    Future of AI/ML | Rise Of Artificial Intelligence & Machine Learning | AI and ML Training | Edureka
  • Наука та технологія

КОМЕНТАРІ • 33

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

    thanks man! helped a lot! All old tutorials show old sklearn libraries. Very tough to excute when you are a beginner in ML

  • @ameerhamza-zr5oc
    @ameerhamza-zr5oc 3 роки тому

    sir, I need your help I am working on English premier league prediction so my target variable is Full-time result(FTR) and FTR have a categorical value that is H, A, and D so how to handle that kind of problem if our target variable is a categorical value like H, A and D, H means Home and A means Away and D means Draw

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

    Hi , may i know how we can use columntransformer if we need to apply the one hot encoding multiple columns at once

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

    Why do we need to do Label Encoding before the column transformer step? Can't we just use ColumnTransformer with OneHotENcoder only? without using Label Encoder?

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

    I paid an Udemy course that couldn't explain this topic, you help me a lot man I'll follow your course for sure

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

    Very great and clear work you have done. i have a question please, i am working on my raster dataset for prediction like ANN, RF and CNN, i have converted the rasters into numeric and then train and test the data and got very good accuracy. Now i need to convert my test data into raster again as final prediction map but i don't know how to do this, please guide me thanks.

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

      did you find the solution? if yes please share i am having the same problem

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

    how to decode ? I stucked in such a situation where I need decoding after encoding

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

    Very nice but what if I have 10 or more categorical features and each feature with 20-30 categories in it. How should I tackle that kind of data?

  • @okwuazuifeanyi9825
    @okwuazuifeanyi9825 3 роки тому +3

    Great video
    How do we retrieve column names for the final dataframe

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

      ct.get_feature_names()
      y.columns = ct.get_feature_names()

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

      @@vishalrao4817 does not work, can you explain??

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

    Good job !

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

    Hey bro,keep it up

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

    Please do video explaining KNN and random forest is possible as well

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

      Yup bro i will

    • @aodhan2011
      @aodhan2011 4 роки тому

      I know python thanks, do you mind if u make it ur next upload, cus currently doin an assignment and still can’t get my head around the concepts fully and it would really help me out

  • @vijayvinayak
    @vijayvinayak 4 роки тому +4

    Voice sound is very low☹️

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

    Kindly make loud voice

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

    sir tumara sound chimani gat hai thoda kavleki tara karo means bada

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

    please use good microphone .. otherwise all good

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

    yes sound is too low. I had to use headphones.

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

      Yup on that day i was recording in a very noisy background soo i have to eliminate all of them while editing hence noise was also decreased 😊😊

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

    awaaz badha le bhai full volume pe bhi nhi aa rhi awaax tumhari

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

    Instead of df[:,8] = couldn't we just state df['origin'] ? When we want to transform/work directly on the dataframe, not the array. Actually could you redo this video working directly on dataframes NOT arrays...

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

      I actually stopped watching when I noticed that he is doing things manually and in the wrong way. Why did he count columns? Why did he not use the dataframe as it is?

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

    Madame ji thoda tez nahi bol Sakti kya app

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

    O bhai your voice sound is too low.. Seems like you are making video under pressure of talibanis

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

      not funny