Posts

Showing posts from June, 2017

Machine Learning -Solution or Problem

Image
The article will be divided into different sections as follows: Introduction to Machine Learning Types of Solutions Classification using Naive Bayes A brief about Machine Learning According to the definition by Wikipedia,  Machine learning  is the subfield of  computer science  that, according to  Arthur Samuel  in 1959, gives "computers the ability to learn without being explicitly programmed."  Machine Learning defines a set of problems that have to be evolved through the data by implying some algorithm. One factor that has to be kept in mind while defining a solution through ML is accuracy. Accuracy is very critical in case you are developing a solution in medical domain(cancer detection).There should be a threshold set for every solution which can be based on risk %age that is acceptable. A useful cheatsheet from Microsoft's site to sum up the use of different ML algorithms for the different type of problems. Types of solution Machine Lear

Writing a Twitter Reply Bot

Image
Hi, This will be an introduction to writing a Twitter Bot to reply to conversations for Beginners. I will be using  Python for coding the Bot. Twitter Bot are a common these days and are used for different purposes, one may use bot for his/her personal account to reply for the tweets  mentioning them  or one may use them to follow some user and retweet their tweets . Twitter provides  huge set of functionality through its APIs .You can nearly perform all the tasks that can be performed on the twitter site through these APIs. And good part is that they provide it for free. Getting API keys from twitter Create a Twitter app to get the credentials which can be done at  https://apps.twitter.com/  . On successful creation of an app select your app and you will be redirected to app page: You will be provided with following credentials  which can accessed through keys and access tokens tab: Consumer Key (API Key) Consumer Secret (API Secret) Access Token Acce