ML Oct 19- Nov 23_Prashant Nair

Discussion in 'Big Data and Analytics' started by Prashant_Nair, Nov 2, 2019.

  1. Prashant_Nair

    Prashant_Nair Well-Known Member
    Alumni Trainer

    Joined:
    Apr 29, 2014
    Messages:
    53
    Likes Received:
    151
    Dedicated Thread for Assignment Submission and Doubt Clearing !!!
     
    #1
  2. Kalpesh Mahajan

    Joined:
    Sep 23, 2019
    Messages:
    3
    Likes Received:
    0
    I have done the below steps.

    1. Loaded the data into Data Frame.
    2. Replaced the missing values.

    Questions:
    1. There are 21 columns in the datast ..How do we select the features which are important and neglect the rest?
    2. There are columns e.g. Suburb,Address which are categorical in nature? How can we convert the values for them into numerical ones?

    Thanks,
    Kalpesh.
     
    #2
  3. Kalpesh Mahajan

    Joined:
    Sep 23, 2019
    Messages:
    3
    Likes Received:
    0
    I am trying OHE for different columns in the dataset for Melbourne case study.
    I am getting below warnings.

    upload_2019-11-2_17-33-19.png

    upload_2019-11-2_17-33-38.png

    Could you please help on this?
     

    Attached Files:

    #3
  4. Nishith Kumar

    Nishith Kumar Member

    Joined:
    Aug 29, 2019
    Messages:
    2
    Likes Received:
    0
    Assignment - Lecture3 - NishithKumar
     

    Attached Files:

    #4
  5. Sharanya Nair

    Sharanya Nair Member
    Alumni

    Joined:
    Jul 9, 2019
    Messages:
    2
    Likes Received:
    0
    Please correct me if any steps seems to be incorrect. Thank you.
     

    Attached Files:

    #5
  6. Bhavani Shankar Y

    Joined:
    Sep 30, 2019
    Messages:
    3
    Likes Received:
    0

    You forgot to perform Label Encoding
     
    #6
  7. Bhavani Shankar Y

    Joined:
    Sep 30, 2019
    Messages:
    3
    Likes Received:
    0
    Assignment (preprocessing practice)
    Just selected random columns and worked on them. with an assumption that we don't need to build working model in this. Let me know if I have to do it.
     

    Attached Files:

    #7
  8. Soma Bhowmik

    Soma Bhowmik Member

    Joined:
    Jul 18, 2019
    Messages:
    6
    Likes Received:
    1
    I have done the preprocessing using pandas and no issues with that. But when I used SK learn to handle missing values,I got an issue. Though I am replacing NAN, still the nd array shows NAN. Can you please check?
     

    Attached Files:

    #8
    Kalpesh Mahajan likes this.
  9. Kaushal Sinha

    Kaushal Sinha Member

    Joined:
    Jul 31, 2019
    Messages:
    2
    Likes Received:
    0
    Hi Sir

    could you please share the drive link as some files are missing in it like the whiteboard sheet. In the day 3 folder also whiteboard sheet is missing. Capture.PNG
     

    Attached Files:

    #9
  10. Soma Bhowmik

    Soma Bhowmik Member

    Joined:
    Jul 18, 2019
    Messages:
    6
    Likes Received:
    1
    Issue has been resolved. Please find the code based on stats analysis
     

    Attached Files:

    #10
  11. Soma Bhowmik

    Soma Bhowmik Member

    Joined:
    Jul 18, 2019
    Messages:
    6
    Likes Received:
    1
    for day 4 assignment : I have used feature selection technique ANNOVA. But after applying that I am not able to get which feature I should take as I have used after OHE for all object columns. Am I doing this wrongly? Can you please check?

    If I reduce the feature and take only following
    Index(['Rooms', 'Type', 'Method', 'Distance', 'Postcode', 'Bedroom2',
    'Bathroom', 'Car', 'Landsize', 'BuildingArea', 'YearBuilt', 'Lattitude',
    'Longtitude', 'Propertycount'],
    dtype='object')
    [ True False True False False False False False True True False True
    True True False False True True True False]
    then I am getting max test score as 66. How to get a better score
     

    Attached Files:

    #11
    Last edited: Nov 5, 2019
  12. MUGUNDAN SRINIVASAN

    Joined:
    May 14, 2019
    Messages:
    3
    Likes Received:
    0
    For the Assignment given on deleting rows based on a specific column (Label) in Salary Dataset,

    we can achieve it using : "saldt.dropna(subset=['Salary'])"
     
    #12
  13. Somali Bakshi

    Somali Bakshi Member

    Joined:
    Jul 15, 2019
    Messages:
    3
    Likes Received:
    0
    Why is expected Price coming in the form of array.

    How can we view PricePredictor model file.

    In sci kit missing data for BuildingArea and Car are not being replaced, though there is no error.
    While YearBuilt is giving IndexError: index 4 is out of bounds for axis1 with size 4
     

    Attached Files:

    #13
  14. Asadulla Nisar Shaikh

    Joined:
    Apr 10, 2019
    Messages:
    2
    Likes Received:
    0
    hello sir, when you will be starting the sessions of "Deep Learning with Tensor flow".
     
    #14
  15. Yash Pandya_1

    Yash Pandya_1 Member

    Joined:
    Jun 12, 2019
    Messages:
    7
    Likes Received:
    0
    Here is the Model for melbourne dataset. thank you
     

    Attached Files:

    #15
  16. Mithun Mohanan(1692)

    Joined:
    Feb 13, 2015
    Messages:
    6
    Likes Received:
    0
    Iris data set classification solution
     

    Attached Files:

    #16
  17. Sayali Gaikwad_1

    Joined:
    Jul 19, 2019
    Messages:
    3
    Likes Received:
    0
    uploaded two of the assignments.i.e. data pre-processing and classification one. working on other two
     

    Attached Files:

    #17
  18. Soma Bhowmik

    Soma Bhowmik Member

    Joined:
    Jul 18, 2019
    Messages:
    6
    Likes Received:
    1
    Iris Data set assignment Day 6
     

    Attached Files:

    #18
  19. Nishith Kumar

    Nishith Kumar Member

    Joined:
    Aug 29, 2019
    Messages:
    2
    Likes Received:
    0
    IRIS classification assignment submission (Nishith Kumar), Nov 10
     

    Attached Files:

    #19
  20. srija Ramarthy

    Joined:
    Jun 14, 2019
    Messages:
    3
    Likes Received:
    0
    Model for Melbourne data set
     
    #20
  21. Avinash_152

    Avinash_152 New Member

    Joined:
    Jun 27, 2019
    Messages:
    1
    Likes Received:
    0
    IRIS Dataset assignment submission
     

    Attached Files:

    #21
  22. K.Krishna raj

    K.Krishna raj New Member

    Joined:
    Aug 7, 2019
    Messages:
    1
    Likes Received:
    0
    KNN Model for iris dataset, with accuracy of 0.95 in train and 1.0 in Test
     

    Attached Files:

    #22
  23. _19335

    _19335 Member

    Joined:
    Jan 2, 2018
    Messages:
    2
    Likes Received:
    1
    Iris dataset assignment
     

    Attached Files:

    #23
  24. Somali Bakshi

    Somali Bakshi Member

    Joined:
    Jul 15, 2019
    Messages:
    3
    Likes Received:
    0
    Assignment submitted
     

    Attached Files:

    #24
  25. Kate_28

    Kate_28 New Member

    Joined:
    Oct 11, 2019
    Messages:
    1
    Likes Received:
    0
    Iris task submission
     

    Attached Files:

    #25
  26. Animesh Sarraf

    Joined:
    Sep 25, 2019
    Messages:
    2
    Likes Received:
    0
    Assignment - Iris Dataset
     

    Attached Files:

    #26
  27. Archana jitendra jhoshi

    Joined:
    Jul 22, 2019
    Messages:
    3
    Likes Received:
    0
    Assignment Submitted, Archana
     

    Attached Files:

    #27
  28. Archana jitendra jhoshi

    Joined:
    Jul 22, 2019
    Messages:
    3
    Likes Received:
    0
    melb_data_assignement
     

    Attached Files:

    #28
  29. Archana jitendra jhoshi

    Joined:
    Jul 22, 2019
    Messages:
    3
    Likes Received:
    0
    melb_data_assignement
     

    Attached Files:

    #29
  30. KIRAN JOSHI

    KIRAN JOSHI New Member

    Joined:
    May 30, 2019
    Messages:
    1
    Likes Received:
    0
    Sir assignment data of Melbourne data set and Iris data
     

    Attached Files:

    #30
  31. Kalpesh Mahajan

    Joined:
    Sep 23, 2019
    Messages:
    3
    Likes Received:
    0
    Sir please find solution of Iris Dataset
     

    Attached Files:

    #31
  32. Aveshnee Iyer

    Aveshnee Iyer New Member
    Alumni

    Joined:
    Jul 20, 2019
    Messages:
    1
    Likes Received:
    0
    Good day sir
    trust you are well.
    please see attached my assignment for Iris data set.
    thanks
    Aveshnee

    2 questions:
    - how do i convert the data so that i can save to local drive (because if working offline then the github link would not be accessible)
    - also after importing and writing to bytes (wb) - where would the object be stored in order to access?
     

    Attached Files:

    #32
  33. Sharanya Nair

    Sharanya Nair Member
    Alumni

    Joined:
    Jul 9, 2019
    Messages:
    2
    Likes Received:
    0
    Applied Linear Regression on Melbourne data. Logistic Regression and KNN Classification on Iris dataset.
     

    Attached Files:

    #33
  34. Durgesh Jha

    Durgesh Jha New Member

    Joined:
    Apr 12, 2019
    Messages:
    1
    Likes Received:
    0
    Hello Sir,

    Please find the irish dataset assignment.

    Regards,
    Durgesh
     

    Attached Files:

    #34
  35. Susobhan Malakar

    Joined:
    Sep 18, 2019
    Messages:
    2
    Likes Received:
    0
    Assignment : Linear Regression on Melbourne data
     

    Attached Files:

    #35
  36. Kaushal Sinha

    Kaushal Sinha Member

    Joined:
    Jul 31, 2019
    Messages:
    2
    Likes Received:
    0
    please find the assignment
     

    Attached Files:

    #36
  37. Sayali Gaikwad_1

    Joined:
    Jul 19, 2019
    Messages:
    3
    Likes Received:
    0
    For the melburne data, address has lot of unique values so can any one tell how to process that data? or for the assignment we need to use only the mentioned columns
     
    #37
  38. Susobhan Malakar

    Joined:
    Sep 18, 2019
    Messages:
    2
    Likes Received:
    0
    Applied Linear Regression on Melbourne Domain approach
     

    Attached Files:

    #38
  39. Somali Bakshi

    Somali Bakshi Member

    Joined:
    Jul 15, 2019
    Messages:
    3
    Likes Received:
    0
    Mel Assignment submitted
     

    Attached Files:

    #39
  40. Animesh Sarraf

    Joined:
    Sep 25, 2019
    Messages:
    2
    Likes Received:
    0
    Hi,

    The zip file contains 3 files:
    a) Melbourne Housing Price Data set (csv)
    b)Linear Regression Model - Using only the 4 features (Car,Landsize,BuildingArea,YearBuild) and Target(Price).
    c) Linear Regression Model - Considering all features in the dataset
     

    Attached Files:

    #40
  41. srija Ramarthy

    Joined:
    Jun 14, 2019
    Messages:
    3
    Likes Received:
    0
    Hi Prashant,

    Kindly go through the attached Zip files for melbourne data and Iris
     

    Attached Files:

    #41

Share This Page