NLTK (Natural Language Toolkit) is a powerful library in Python that provides easy-to-use interfaces to over 50 corpora and lexical resources, including WordNet.

In the last post we learnt about Linear regression with one variable. What if, we have more than one independent variables or features. As we could see, with more independent variables, our model exactly fits the training data.

Linear regression is a linear approach to modeling the relationship between a scalar response (or dependent variable) and one or more independent variables.