Using IBM-Watson PersonalityInsightV3 predicted the likeliness of a wide variety of Personalities based on a Instagram user's post captions. It was a part of a project in HackJaipur 2020 Hackathon.
- Installing dependencies :
pip install selenium
Download Chrome Driver and place the .exe file in program files. - Wrote a python script instagram-caption-scrapper.ipynb which scrapes an Instagram User's Post Captions (the number of posts to be scraped can be varied) then after cleaning the data-collected , a csv file and text file is generated.
- Login need not to be done for its execution.
- Login to your IBM Cloud Account.
- From 'Catalog' , select 'AI / Machine Learning' and choose 'Personality Insights'.
- Generate API_KEY and URL.
- Open terminal and enter :
pip install watson-developer-cloud
- After placing your API_KEY , URL , and the text (on which the personality will be predicted) in the appropriate cells , execute Personality-Prediction-IBM-Watson.ipynb
- A .csv file is generated displaying the probabilities of a wide range of personalities.