Go to newsapi website and get url for any news channel . To code in python you need to add dependency for this run below command pip install newsapi-python and here is the code import urllib.request as urlr import json r=urlr.urlopen("http://newsapi.org/v2/top-headlines?sources=the-times-of-india&apiKey=460981db9cf744c08c14a5fc295431ac") a=json.loads(r.read().decode()); for i in range(0,5): print(a['articles'][0]['title']) input()
For Professionals and Freshers Facebook uses machine learning in the following ways: Automatic friend tagging suggestions : When a pic is uploaded on facebook, a suggestion asking if you want to tag your friend in the pic appears. This is done by Facebook's face detection and recognition algorithms based on the advanced deep learning neural network research project Deepface. Mutual friend analysis : Facebook uses the clustering algorithm(comes under unsupervised learning) to find mutual friends. Newsfeed : I think facebook uses ML to arrange your Newsfeed too. Like posts of close friends may come up first. Posts related to your favourite pages come up first. Friend Suggestions : Machine learning is used by FB to suggest new friends based on mutual friend circles. Practical -1 : Login to facebook ...
Nice post. Loved it. python training in Chennai
ReplyDelete