Polynomial regression is a process of finding a polynomial function that takes the form f( x ) = c0 + c1 x + c2 x2 ⋯ cn xn where n is the degree of the polynomial and c is a set of coefficients. Through polynomial regression we try to find an nth degree polynomial function which is the closest approximation of our data points. Below is a sample random dataset which has been regressed […]

# Category: Artificial Intelligence

### Evaluating the fitness of a modal with a cost function

Previously we derived a simple linear regression modal for our Pizza price dataset. We built a modal that predicted a price of $13.68 for a 12 inch pizza. When the same modal is used to predict the price of an 8 inch pizza, we get $9.78 which is around $0.78 more than the known price of $9. […]

### Math behind Linear Regression with Python code

Simple linear regression is a statistical method you can use to study relationships between two continuous (quantitative) variables: independent variable (x) – also referred to as predictor or explanatory variable dependant variable (y) – also referred to as response or outcome The goal of any regression model is to predict the value of y (dependant variable) based on the […]

### Finally some success after an year of research in trying to teach a computer how to understand a question like a human.

Like I always believed, there is a way to represent each and every natural language sentence using mathematical notations. Its been an year since I have been playing around with various AI algorithms and after countless failed attempts today I made some progress. A sentence can be divided into three parts as explained in Subject-Verb-Object. So a good AI who […]

### Markow chain explained in simple words

Markow chain is a probabilistic process used to predict the next step based on the probabilities of the existing related states. Its called a chain because the probability of the next step is dependant on the other steps in the group. For example, if the weather is cloudy then its highly likely that it might rain (The next […]

### How about inventing a language easy for both humans and bots to understand

English or any other language as a matter of fact is difficult for a computer to understand, especially when the meaning is ambiguous. Most chat bots are “if else” programs that do nothing more than basic NLP or pattern recognition. Not denying how useful they have been lately but we still have miles to go. […]

### Language is a representation of Thought

Mathematics is the language of God and so is the language of our mind. A man may speak many languages but there is only one way of storing everything he speaks. Below is probably how information from the external world coming inside is stored. As proposed by Noam Chomsky in Universal Grammar, the L.A.D, […]

### Understanding the data structure in Human mind – 18 Aug 2016

When we read something we understand and memorise the gist of the sentences. We can express many things from those simple sentences, a lot of which has not even been expressed clearly. As an example, consider the below sentence taken from Wikipedia about Apple Tree. The apple tree (Malus pumila, commonly and erroneously called Malus […]

### Language as a representation of raw thoughts or visual pictures running in our mind. 9-Aug-2016

I was writing a article about one of my experience today. I was stuck at one line without a good word to explain the situation through words. I have the experience clearly visible in my mind running like a video but there is no word in the vocabulary I know to describe it. I think this happens […]

### Understanding sentences and their meanings one word at a time. 1-Aug-16

I picked a newspaper article and while reading it I was trying to understand the internal workings of how I am forming meaning in those sentences. Like most of the semantic analytics in theory we don’t really need the whole sentence before we start forming the meaning. As I am reading I am discovering or probably even trying to […]