DS Python mentoring Session | Sunny

Discussion in 'Big Data and Analytics' started by SUNNY BHAVEEN CHANDRA, Oct 9, 2019.

  1. SUNNY BHAVEEN CHANDRA

    SUNNY BHAVEEN CHANDRA Well-Known Member

    Joined:
    Feb 4, 2019
    Messages:
    74
    Likes Received:
    8
    #1
    Last edited: Oct 19, 2019
  2. ved prakash_15

    ved prakash_15 New Member

    Joined:
    Sep 13, 2019
    Messages:
    1
    Likes Received:
    0
    sir please share file
     
    #2
  3. SUNNY BHAVEEN CHANDRA

    SUNNY BHAVEEN CHANDRA Well-Known Member

    Joined:
    Feb 4, 2019
    Messages:
    74
    Likes Received:
    8
    Hi Ved,

    Kindly download the files from the drive link shared above.

    Regards,
    Sunny
    Teaching Assistant
     
    #3
  4. SUNNY BHAVEEN CHANDRA

    SUNNY BHAVEEN CHANDRA Well-Known Member

    Joined:
    Feb 4, 2019
    Messages:
    74
    Likes Received:
    8
  5. SUNNY BHAVEEN CHANDRA

    SUNNY BHAVEEN CHANDRA Well-Known Member

    Joined:
    Feb 4, 2019
    Messages:
    74
    Likes Received:
    8
  6. Shuvankar Goutam

    Joined:
    May 6, 2019
    Messages:
    7
    Likes Received:
    0
    Hi

    I have gone through the comcast project but I was not able to understand few things. How can I clear my doubts?
     
    #6
  7. SUNNY BHAVEEN CHANDRA

    SUNNY BHAVEEN CHANDRA Well-Known Member

    Joined:
    Feb 4, 2019
    Messages:
    74
    Likes Received:
    8
    Hi Shuvankar,

    You can ask your doubts here. Please let me know I'll help you out.

    Regards,
    Sunny
    Teaching Assistant
     
    #7
  8. Ashish kumar Gupta_6

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

    I am having problem while doing the assignment 1st, i am not able to understand this

    'Provide the trend chart for the number of complaints at monthly and daily granularity levels.'
     
    #8
  9. Shuvankar Goutam

    Joined:
    May 6, 2019
    Messages:
    7
    Likes Received:
    0
    Why the !pip install word count part has been done? From the liveDemo.py file from where !pip install till end I am not able to understand. This question also I have not found? What is the relevancy of this?
     
    #9
  10. L Guruprathapa Reddy

    Joined:
    Sep 16, 2019
    Messages:
    1
    Likes Received:
    0
    How do I resolve "ImportError: DLL load failed: The specified module could not be found" error. This is occurring when I try to import seaborn or gensim or sklearn etc.
     
    #10
  11. SUNNY BHAVEEN CHANDRA

    SUNNY BHAVEEN CHANDRA Well-Known Member

    Joined:
    Feb 4, 2019
    Messages:
    74
    Likes Received:
    8
    Hi L Guruprathapa Reddy,

    Please re-install these packages one by one using the following commands either in command prompt or in anaconda prompt-

    Code:
    conda install -c anaconda scikit-learn
    conda install -c anaconda seaborn
    conda install -c anaconda gensim
    
    after that restart the kernel. And in case if you still face this issue then please raise a ticket so that we can have a one on one instant session to resolve your case.

    Regards,
    Sunny,
    Ex.Teaching Assistant
     
    #11
  12. Shuvankar Goutam

    Joined:
    May 6, 2019
    Messages:
    7
    Likes Received:
    0

    Reply is awaited
     
    #12
  13. Shuvankar Goutam

    Joined:
    May 6, 2019
    Messages:
    7
    Likes Received:
    0
    Pls answer my question
     
    #13
  14. SUNNY BHAVEEN CHANDRA

    SUNNY BHAVEEN CHANDRA Well-Known Member

    Joined:
    Feb 4, 2019
    Messages:
    74
    Likes Received:
    8
    Hi Ashish,

    The query quoted by you means that you need to make a chart or graph which can show no. of cases registered on daily and monthly basis which will help us to understand the trend of the complaints registered. You'll be able to observe which month or day was crucial in terms of the no. of complaints registered.

    I hope this helps

    Regards,
    Sunny,
    Ex.Teaching Assistant
     
    #14
  15. SUNNY BHAVEEN CHANDRA

    SUNNY BHAVEEN CHANDRA Well-Known Member

    Joined:
    Feb 4, 2019
    Messages:
    74
    Likes Received:
    8
    Hi Shuvankar,

    Code:
     !pip install wordcloud 
    is used to install the library wordcloud which helps in plotting the most frequently occurring words in the textual data so that we can roughly judge which kind of the complaints were mostly registered. If you can observer from the following screenshot which was generated by wordcloud , we can roughly tell that "Internet", "Payment", "cable", "speeds" related issue were the major concerns as these were the most frequently used words in the registered complaints. NOTE: here large font means more frequency of the word

    #Screenshot
    upload_2019-11-7_17-52-41.png


    I hope this helps and if you want to know more about wordcloud please read the following blog its a very good read to know more about it -
    https://peekaboo-vision.blogspot.com/2012/11/a-wordcloud-in-python.html

    Apart from above blog its always a good choice to refer the docs for more experiment -
    http://amueller.github.io/word_cloud/index.html

    And this was an alternative answer to the analysis task "Provide a table with the frequency of complaint types." And since its better than making a table I used wordcloud.

    I hope this clarifies some of your doubts.
    Let me know if you have some other doubts.

    Regards,
    Sunny,
    Ex.Teaching Assistant
     
    #15
  16. Snigdha sagarika ray

    Joined:
    Jul 18, 2019
    Messages:
    8
    Likes Received:
    0
    Hi sunny, In my system the surprise library is not getting installed, Its taking a lot of time to run and I am not able to work on that project. its not even getting installed in kagel kernel. help me with that
     
    #16
  17. SUNNY BHAVEEN CHANDRA

    SUNNY BHAVEEN CHANDRA Well-Known Member

    Joined:
    Feb 4, 2019
    Messages:
    74
    Likes Received:
    8
    Hi Snigdha,

    Please try the following command in your cmd prompt instead of the jupyter notebook-
    Code:
    conda install -c conda-forge scikit-surprise
    
    And it will work.
    #Screenshot for your reference -
    upload_2019-11-10_1-37-48.png

    While using pip command there is some issue with surprise library. So try above mentioned conda command.

    And in case of kaggle you need to enable internet option as shown in the below screenshot and to enable that you need to verify you phone no. and after that you can install surprise library or any other library in kaggle as well. But in Kaggle Surprise library is pre-installed so no need to worry about installing it you can directly start working on the project -

    #Screenshot
    upload_2019-11-10_1-44-48.png

    I hope this helps.

    Regards,
    Sunny,
    Ex.Teaching Assistant
     

    Attached Files:

    #17
    Last edited: Nov 9, 2019 at 2:28 PM
  18. Snigdha sagarika ray

    Joined:
    Jul 18, 2019
    Messages:
    8
    Likes Received:
    0
    I sunny I tried both. And again I am facing some issue. i am not able to post the screenshots over here. In command prompt after selecting proceed as y I am getting an error : The current user does not have right permission to the target environment.
    2nd in kaggle i am getting the same message as per your screenshot but when I am installing reader, accuracy package, I am getting below error:

    "No module named 'surpirse'


    + Code+ Markdown
    "
     
    #18
  19. Snigdha sagarika ray

    Joined:
    Jul 18, 2019
    Messages:
    8
    Likes Received:
    0
    I am getting the following error in kaggle and command prompt the above error
     

    Attached Files:

    #19
  20. SUNNY BHAVEEN CHANDRA

    SUNNY BHAVEEN CHANDRA Well-Known Member

    Joined:
    Feb 4, 2019
    Messages:
    74
    Likes Received:
    8
    Hi Snigdha,

    Please check the spelling -> its surprise not surpirse. After that try again it'll work in Kaggle. Plus to avoid such issues in future you can always use <tab> completion which will auto-fill the correct library or will give you suggestion.
    #referring from your screenshot -

    upload_2019-11-11_23-38-25.png

    I hope this helps.

    Regards,
    Sunny,
    Ex.Teaching Assistant
     
    #20

Share This Page