<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Gomathi tamilselvam on Medium]]></title>
        <description><![CDATA[Stories by Gomathi tamilselvam on Medium]]></description>
        <link>https://medium.com/@shruthitamilselvam18?source=rss-ea2e68112b5e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*j9lRXA8ANUMOgRK-.jpg</url>
            <title>Stories by Gomathi tamilselvam on Medium</title>
            <link>https://medium.com/@shruthitamilselvam18?source=rss-ea2e68112b5e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 16:53:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shruthitamilselvam18/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Python For Data Science-Part 1]]></title>
            <link>https://medium.com/@shruthitamilselvam18/python-for-data-science-part-1-d29a30f53fe1?source=rss-ea2e68112b5e------2</link>
            <guid isPermaLink="false">https://medium.com/p/d29a30f53fe1</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Gomathi tamilselvam]]></dc:creator>
            <pubDate>Fri, 12 Jul 2019 16:28:55 GMT</pubDate>
            <atom:updated>2019-07-12T16:28:55.349Z</atom:updated>
            <content:encoded><![CDATA[<p>Why is python becoming so popular in the field of data science?Is python easy to learn even for a person from a non-coding background?Lets try and figure out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/570/1*os0lWIQcDdEub5eme5IcNA.jpeg" /></figure><p>The main reason for python gaining popularity in data science is because of its syntax (words and structure) which is extremely simple to read and follow, most of which can be understood even if you do not know any programming.Python has also got a great community support,millions of people are ready to solve your queries when you get struck.Most of your queries can be solved by a single google search.Python has some awesome free libraries for data scientist like its has got <strong>Pandas </strong>for handling your data set,<strong>Matplotlib</strong> and <strong>Seaborn</strong> which gives you pretty good visualization of the data set, <strong>Scikit learn </strong>which implements all your Machine learning algorithm in few lines of code.</p><p>In this blog I will try and explain the basic concepts of python.</p><h4>Variables</h4><p>Variables are nothing but words which are used to store values in memory.The values can integers(int),decimals(float),and words or sentence(string).The values are stored in the variable with the help of equal to symbol “=”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/187/1*aWC_g0AQGt26a2oUYfbUxg.png" /><figcaption><strong>Variables in python</strong></figcaption></figure><p>Here<strong> x=1</strong>, <strong>y=2.3</strong>,<strong>z=’python’</strong>.Here x,y,z are the variables and 1 is int value, 2.3 is float value,python is string value.</p><h4>Print Function</h4><p>Printing a statement in python is the most easiest thing one can do.The syntax for the function is <strong>print(“the statement we want to print”)</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/325/1*2v-idGaGBCzs31hL-zpR6w.png" /><figcaption><strong>Print function in python</strong></figcaption></figure><h4>Type Function</h4><p>If you are confused about what class an object belongs to simply use the type() function.Type() function gives us the class of the object.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/191/1*q0VufZYannqscerWRYH8sw.png" /><figcaption><strong>Type function in python</strong></figcaption></figure><p>Here<strong> type(x)</strong> gives us<strong> int</strong>,<strong>type(y)</strong> gives us <strong>float</strong>,<strong>type(z) </strong>gives us <strong>str</strong>.</p><h4><strong>Isinstance Function</strong></h4><p>The isinstance() function checks if the <strong>object</strong> (first argument) is an instance or a subclass of <strong>classinfo</strong> (second argument).Its syntax is isinstance(object,classinfo).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/204/1*lZzbemI6C6UVbNfg5tDPbw.png" /><figcaption><strong>Isinstance function in python</strong></figcaption></figure><p>Here<strong> isinstance(z,str)</strong> will return <strong>true</strong> as the object z belong to string class.</p><h4>Numeric Types in Python</h4><p>Python supports three different types of numbers, listed as follows:</p><ul><li>Int (integers)- Positive and Negative numbers with no decimal point “.” For eg 2 and 9.</li><li>Float (decimal numbers)- Numbers containing decimal point “ .” For eg 2.3 and 9.5.</li><li>Complex (complex numbers)- a+bj where a is real part,b is imaginary part and j is square root of minus 1.For eg 2+3j</li></ul><h4>Common Numeric Operations in Python</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/544/1*u29FtLdtK_EbwTvw038k_Q.png" /><figcaption><strong>Numeric operations in python</strong></figcaption></figure><p>The table shows the common numeric operations in python like addition,subtraction, multiplication,division,modulus,exponent and integer/floor division.</p><h4>Strings</h4><p>A string in Python is a sequence of characters. It is a derived data type. Strings are immutable. This means that once defined, they cannot be changed. Python strings can be created with single quotes, double quotes, or triple quotes. When we use triple quotes, strings can span several lines without using the escape character or backslash character(“\”)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/208/1*WWGg08GLGunRJnEksbKOIA.png" /><figcaption><strong>String enclosed in single quote</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/269/1*fpu4P_dxn6fRolgtGVVNDw.png" /><figcaption><strong>String enclosed in double quotes</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/264/1*Iyo33GVxm0iv2gw9hyjZmQ.png" /><figcaption><strong>Multiline string enclosed in triple quotes</strong></figcaption></figure><p><strong>Built in functions of Strings</strong></p><p>Built-in functions are those that are defined in the Python programming language and are readily available for us to use. Python has several built-in functions associated with the string data type. These functions let us easily modify and manipulate strings.</p><ol><li><strong>str.lower() and str.upper()</strong> : This built in function converts all the alphabets in a string to lower case alphabets and upper case alphabets respectively.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/648/1*jFeeWkpWgf5hiiS1ZbTUyg.png" /></figure><p>2.<strong>len(str)</strong> : This function is used to find the length of the string including white spaces if any.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/238/1*yGokkK5QcJAyvlMcRspHig.png" /></figure><p>3.<strong>str.split()</strong> : This function is used to split the given string at a specific character mentioned inside the parentheses.The below given example shows that we can split at white spaces , comma or dot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/306/1*_PDaA6BYlyVg1PF2dIJJLw.png" /><figcaption><strong>Splitting at white space</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/262/1*9GnxvsOn7WG_i8NikrhFFQ.png" /><figcaption><strong>Splitting at comma</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/267/1*_YdvaDP_bpybJ3tjwwdfug.png" /><figcaption><strong>Splitting at dot</strong></figcaption></figure><p>4.<strong>str.strip()</strong> : This function is used to strip of characters from a string.The character mentioned inside the parenthesis is stripped of the string.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/177/1*BsYLVdJsuzHWpt6S9x9syQ.png" /><figcaption><strong>Stripping of “z_” from the string</strong></figcaption></figure><p>5.<strong>str.replace()</strong> : This function is used to replace a character or a letter with another character or a letter in a string.The word to be replaced is passed first followed by the word which will replace the word as arguments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/235/1*tuOoXl0H9NoFg0T0wRtqYA.png" /><figcaption><strong>Replacing a word in string</strong></figcaption></figure><p><strong>Indexing and Slicing of a string</strong></p><p>Individual characters in a string can be accessed by their index number like all other programming languages. Python allows to index from the zeroth position in Strings. But it also supports negative indexes. Index of ‘-1’ represents the last character of the String.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/617/1*YKOR613ftSZwSyOI0uSEvg.png" /><figcaption><strong>Indexing of a string</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/746/1*zRrVe4XIBDkYUrzh9Rr99w.png" /><figcaption><strong>Indexing of a sample string</strong></figcaption></figure><p>To retrieve a range of characters in a String we use ‘slicing operator,’ the colon ‘:’ sign. With the slicing operator, we define the range as [a:b]. It’ll let us print all the characters of the String starting from index ‘a’ up to character at index ‘b-1’. So the character at index ‘b’ is not a part of the output.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/838/1*apboIjUpcdNBUXqIb3JCqQ.png" /><figcaption><strong>Slicing of a sample string</strong></figcaption></figure><h4>Data Structures in Python</h4><p>Data structures are structures which holds data together. In other words they are used to store a collection of related data.There are four built-in data structures in Python — <em>list, tuple, dictionary and set</em>.</p><p><strong>List: </strong>A list is a data structure that holds an ordered collection of items i.e. you can store a <em>sequence</em> of items in a list. This is easy to imagine if you can think of a shopping list where you have a list of items to buy, except that you probably have each item on a separate line in your shopping list whereas in Python you put commas in between them.</p><p>The list of items should be enclosed in square brackets ‘[]’ so that Python understands that you are specifying a list. Once you have created a list, you can add, remove or search for items in the list. Since we can add and remove items, we say that a list is a <strong><em>mutable</em></strong> data type i.e. this type can be altered.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/769/1*VSiB3RIZvKPAbZVP9kvSUw.png" /><figcaption><strong>Sample code explaining List Data Structure</strong></figcaption></figure><p>In the sample code I have created a shopping_list containing the items which are to be bought, the number of items to be bought can be found by the len() function as shown above.I forgot to add the item “rice” which I have later included in the list using append() function of list.To make my shopping more systematic I have sorted the list using sort() function.Once I have picked up the first item in the shopping_list(i.e cooking_oil) I delete it using del() so that I don’t repeat my items.I have printed the remaining items to be bought.</p><p><strong>Tuple: </strong>Tuples are used to hold together multiple objects. They are similar to lists, but without the extensive functionality that the list class gives you. One major feature of tuples is that they are <strong><em>immutable</em></strong><em> </em>like strings i.e. you cannot modify tuples.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/916/1*GY-4tE9kLIvw-28xVXNqvQ.png" /><figcaption><strong>Sample code explaining Tuple Data Structure</strong></figcaption></figure><p>In the above given data set a tuple is created containing the names of the animal in old zoo and stored in the variable old_zoo.Another tuple new_zoo is created which contains all the animals from old zoo in addition to monkey and camel.We can find the number of cages in the new zoo using the len() function which is 3.But the number of cages required will be (len of new zoo)+ (len of old zoo) - 1.When we append a tuple to another tuple, it is considered a single element instead of series of element.Similar to indexing in list, the elements in the tuple can also be indexed.The only difference between list and tuple is that the former is mutable and the later in immutable.</p><p><strong>Dictionary: </strong>Dictionary data structure stores values which can be accessed with the help of keys.It is enclosed within a flower bracket “{}”, dict={key1:value1,key2:value2}.Dictionary are also mutable i.e the values can be altered.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/781/1*ap9ZYG3xVwMd8y0e4BFKnQ.png" /><figcaption><strong>Sample code for Dictionary Data Structure</strong></figcaption></figure><p>In the above code shown, I have created a dictionary with the name “ab” which has the name as the keys and email id as values.The email id of a person can be obtained by calling the corresponding key which is the name of the respective person.For deleting a key-value pair just call the key name in the function del. Similarly a new key-value pair can be added by storing the email id in the the new key name.</p><p><strong>Set: </strong>Sets are <em>unordered</em> collections of simple objects. These are used when the existence of an object in a collection is more important than the order or how many times it occurs.Using sets, you can test for membership, whether it is a subset of another set, find the intersection between two sets, and so on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/730/1*5o3DNl2ncJTYREYbXtNXrA.png" /><figcaption><strong>Sample code for Set Data Structure</strong></figcaption></figure><p>In the sample code I have created 2 sets bri and bric.Sets are basically used for checking for the presence of a element in a given set i.e membership.It is also used for finding common elements between the given sets, is a set subset or superset of another set.I have found out if whether bric is a superset of set bri or not and the common countries from both the sets.</p><p>Hope this blog has given you a brief introduction about python programming.More blogs to follow up explaining how python is used in data science as a powerful tool.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d29a30f53fe1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Assumptions Of Linear Regression Algorithm]]></title>
            <link>https://medium.com/data-science/assumptions-of-linear-regression-algorithm-ed9ea32224e1?source=rss-ea2e68112b5e------2</link>
            <guid isPermaLink="false">https://medium.com/p/ed9ea32224e1</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[linear-regression-python]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Gomathi tamilselvam]]></dc:creator>
            <pubDate>Fri, 24 May 2019 17:17:36 GMT</pubDate>
            <atom:updated>2019-05-31T03:06:36.708Z</atom:updated>
            <content:encoded><![CDATA[<h4>These Assumptions which when satisfied while building a linear regression model produces a best fit model for the given set of data.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*uiI7vUDLdSh_B-rX40-pcw.jpeg" /></figure><h3><strong>Linear Regression — Introduction</strong></h3><p>Linear Regression is a machine learning algorithm based on supervised learning.It performs a regression task to compute the regression coefficients.Regression models a target prediction based on independent variables.</p><p>Linear Regression performs the task to predict a dependent variable value (y) based on a given independent variable (x).So this regression technique finds out a linear relationship between x(input) and y(output).Hence it has got the name Linear Regression.The linear equation for univariate linear regression is given below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/172/1*6f2TzyQwAELZ2DE1SSzRvQ.png" /><figcaption>Equation of a Simple Linear Regression</figcaption></figure><p>y-output/target/dependent variable; x-input/feature/independent variable and theta1,theta2 are intercept and slope of the best fit line respectively, also known as regression coefficients.</p><p>Example Of A Simple Linear Regression:</p><p>Let us consider a example wherein we are predicting the salary a person given the years of experience he/she has in a particular field.The data set is shown below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/198/1*zFbV5KV7a5ESmLPNrQZ2iw.png" /></figure><p>Here x is the years of experience (input/independent variable) and y is the salary drawn (output/dependent/variable).</p><p>We have fitted a simple linear regression model to the data after splitting the data set into train and test.The python code used to fit the data to the Linear regression algorithm is shown below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*1Lks_LBwiBxIb1lbz1_p4w.png" /></figure><p>The green dots represents the distribution the data set and the red line is the best fit line which can be drawn with theta1=26780.09 and theta2 =9312.57.</p><p>Note-theta1 is nothing but the intercept of the line and theta2 is the slope of the line.Best fit line is a line which best fits the data which can be used for prediction.</p><h4><strong>Description of the Data Set which is used for explaining the assumptions of linear regression</strong></h4><p>The data set which is used is the Advertising data set. This data set contains information about money spent on advertisement and their generated Sales. Money was spent on TV, radio and newspaper ads.It has 3 features namely TV, radio and newspaper and 1 target Sales.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/230/1*1Ah-1P1jHClTdRI9J2jJbQ.png" /><figcaption>First 5 rows of the data set</figcaption></figure><h3><strong>Assumptions of Linear Regression</strong></h3><p>There are 5 basic assumptions of Linear Regression Algorithm:</p><ol><li><strong>Linear Relationship between the features and target:</strong></li></ol><p>According to this assumption there is linear relationship between the features and target.Linear regression captures only linear relationship.This can be validated by plotting a scatter plot between the features and the target.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/393/1*Aa_SeKBSgtHNCBTb9KH8mw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/405/1*w3GVaHaaajmBLPTqNdbI_w.png" /></figure><p>The first scatter plot of the feature TV vs Sales tells us that as the money invested on Tv advertisement increases the sales also increases linearly and the second scatter plot which is the feature Radio vs Sales also shows a partial linear relationship between them,although not completely linear.</p><p><strong>2.Little or no Multicollinearity between the features:</strong></p><p>Multicollinearity is a state of very high inter-correlations or inter-associations among the independent variables.It is therefore a type of disturbance in the data if present weakens the statistical power of the regression model.Pair plots and heatmaps(correlation matrix) can be used for identifying highly correlated features.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/519/1*9808Gqi6QVFd7MItILn9IQ.png" /><figcaption>Pair plots of the features</figcaption></figure><p>The above pair plot shows no significant relationship between the features.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/432/1*85dzrO9xgB6U5asEva1yzg.png" /><figcaption>Heat Map(Correlation Matrix)</figcaption></figure><p>This heatmap gives us the correlation coefficients of each feature with respect to one another which are in turn less than 0.4.Thus the features aren’t highly correlated with each other.</p><p>Why removing highly correlated features is important?</p><p>The interpretation of a regression coefficient is that it represents the mean change in the target for each unit change in an feature when you hold all of the other features constant. However, when features are correlated, changes in one feature in turn shifts another feature/features. The stronger the correlation, the more difficult it is to change one feature without changing another. It becomes difficult for the model to estimate the relationship between each feature and the target independently because the features tend to change in unison.</p><p>How multicollinearity can be treated?</p><p>If we have 2 features which are highly correlated we can drop one feature or combine the 2 features to form a new feature,which can further be used for prediction.</p><p><strong>3.Homoscedasticity Assumption:</strong></p><p>Homoscedasticity describes a situation in which the error term (that is, the “noise” or random disturbance in the relationship between the features and the target) is the same across all values of the independent variables.A scatter plot of residual values vs predicted values is a goodway to check for homoscedasticity.There should be no clear pattern in the distribution and if there is a specific pattern,the data is heteroscedastic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jan9oVOzNqQyhA4bSg_zwA.png" /><figcaption>Homoscedasticity vs Heteroscedasticity</figcaption></figure><p>The leftmost graph shows no definite pattern i.e constant variance among the residuals,the middle graph shows a specific pattern where the error increases and then decreases with the predicted values violating the constant variance rule and the rightmost graph also exhibits a specific pattern where the error decreases with the predicted values depicting heteroscedasticity</p><p>Python code for residual plot for the given data set:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/562/1*GaQvY_IfwiEW0OphLiLSAw.png" /><figcaption>Error(residuals) vs Predicted values</figcaption></figure><p><strong>4.Normal distribution of error terms:</strong></p><p>The fourth assumption is that the error(residuals) follow a normal distribution.However, a less widely known fact is that, as sample sizes increase, the normality assumption for the residuals is not needed. More precisely, if we consider repeated sampling from our population, for large sample sizes, the distribution (across repeated samples) of the ordinary least squares estimates of the regression coefficients follow a normal distribution. As a consequence, for moderate to large sample sizes, non-normality of residuals should not adversely affect the usual inferential procedures. This result is a consequence of an extremely important result in statistics, known as the central limit theorem.</p><p>Normal distribution of the residuals can be validated by plotting a q-q plot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/648/1*QG3XRj1aC5rOVwBaBCOUXg.png" /><figcaption>Q-Q Plots</figcaption></figure><p>Using the q-q plot we can infer if the data comes from a normal distribution. If yes, the plot would show fairly straight line. Absence of normality in the errors can be seen with deviation in the straight line.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/482/1*7cA56GN5TZMMJcz51g4lpA.png" /><figcaption>Q-Q Plot for the advertising data set</figcaption></figure><p>The q-q plot of the advertising data set shows that the errors(residuals) are fairly normally distributed.The histogram plot in the “Error(residuals) vs Predicted values” in assumption no.3 also shows that the errors are normally distributed with mean close to 0.</p><p><strong>5.Little or No autocorrelation in the residuals:</strong></p><p>Autocorrelation occurs when the residual errors are dependent on each other.The presence of correlation in error terms drastically reduces model’s accuracy.This usually occurs in time series models where the next instant is dependent on previous instant.</p><p>Autocorrelation can be tested with the help of Durbin-Watson test.The null hypothesis of the test is that there is no serial correlation. The Durbin-Watson test statistics is defined as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*1yLBgO8_ABknCqndsuc5VQ.png" /></figure><p>The test statistic is approximately equal to 2*(1-r) where r is the sample autocorrelation of the residuals. Thus, for r == 0, indicating no serial correlation, the test statistic equals 2. This statistic will always be between 0 and 4. The closer to 0 the statistic, the more evidence for positive serial correlation. The closer to 4, the more evidence for negative serial correlation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/1*Jd09rJcUYD5_q7z5FBbF5Q.png" /><figcaption>Summary of the fitted Linear Model</figcaption></figure><p>From the above summary note that the value of Durbin-Watson test is 1.885 quite close to 2 as said before when the value of Durbin-Watson is equal to 2, r takes the value 0 from the equation 2*(1-r),which in turn tells us that the residuals are not correlated.</p><h3><strong>Conclusion</strong>:</h3><p>We have gone through the most important assumptions which must be kept in mind before fitting a Linear Regression Model to a given set of data.These assumptions are just a formal check to ensure that the linear model we build gives us the best possible results for a given data set and these assumptions if not satisfied does not stop us from building a Linear regression model.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ed9ea32224e1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/assumptions-of-linear-regression-algorithm-ed9ea32224e1">Assumptions Of Linear Regression Algorithm</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Linear Regression Introduction]]></title>
            <link>https://medium.com/@shruthitamilselvam18/linear-regression-introduction-ac48a4380cef?source=rss-ea2e68112b5e------2</link>
            <guid isPermaLink="false">https://medium.com/p/ac48a4380cef</guid>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Gomathi tamilselvam]]></dc:creator>
            <pubDate>Fri, 24 May 2019 11:19:26 GMT</pubDate>
            <atom:updated>2019-05-24T11:19:26.122Z</atom:updated>
            <content:encoded><![CDATA[<p>Linear Regression is a machine learning algorithm based on supervised learning.It performs a regression task (to estimate regression coefficients).Regression models a target prediction based on independent variables.</p><p>Linear Regression performs the task to predict a dependent variable value (y) based on a given independent variable(x).So this regression technique finds out a linear relationship between x(input) and y (output).Hence the name linear regression</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/172/1*6f2TzyQwAELZ2DE1SSzRvQ.png" /></figure><p>The above equation represents the equation of the best fit line where y=output/target/dependent variable x=input/feature/independent variable and theta_1 and theta_2 are the regression coefficients.The ultimate aim of the Linear regression is to come up with the best fit line i.e to estimate theta_1 and theta_2 (for univariate linear regression) which fits in all possible data points of the given data set.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ac48a4380cef" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>