Basic introduction to tweey library – Twitter analysis using Python

Twitter is an online social networking site where users can post their messages and interact with their friends.
In this tutorial, we will learn how to perform basic task i.e. fetching friend’s list from twitter network, retrieving tweets, status. First step in this direction is to create a twitter app which will provide key and token. This tutorial assumes that you have obtained your key and token information already. In this tutorial, we will use tweepy python library which is wrapper for twiter REST api.

Read More

How to code Influence maximization problem in Python

Our decisions on buying some new product, following a trends are usually influenced by our friends and family. This forms the basis for incorporating social structures into consideration while planning a marketing policy. In this regard, marketing people highly interested to know which person hold the strongest influence in their society. So if somehow those people can be convinced for initial activation ( buying new product, following a trend or opinion) would trigger maximum influence spread in the society.

Read More

How to create Pearson correlation coefficient matrix

correlation matrix
Pearson Correlation Matrix

In Statistics, Pearson correlation coefficient is widely used to find out relationship among random variables. In this tutorial, we will learn to create a correlation matrix and represents using heat matrix.

Read More

Linear and Polynomial Regression in Python

Linear regression is the problem where a model(line) is built with available data and then learnt model is used to predict target value for future data. This is the most basic type of statistical method used for predictive analysis. In other words, it can be understood as finding a relationship between target value and the attributes of input data.The best model is where we get minimum error between predicted and actual values.

Read More