<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.omnivision.website/index.php?action=history&amp;feed=atom&amp;title=10.3.1_Linear_Regression%2C_Logistic_Regression</id>
	<title>10.3.1 Linear Regression, Logistic Regression - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.omnivision.website/index.php?action=history&amp;feed=atom&amp;title=10.3.1_Linear_Regression%2C_Logistic_Regression"/>
	<link rel="alternate" type="text/html" href="https://wiki.omnivision.website/index.php?title=10.3.1_Linear_Regression,_Logistic_Regression&amp;action=history"/>
	<updated>2026-07-04T00:31:02Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.omnivision.website/index.php?title=10.3.1_Linear_Regression,_Logistic_Regression&amp;diff=176&amp;oldid=prev</id>
		<title>Mr. Goldstein: Created page with &quot;=== 10.3.1 Linear Regression, Logistic Regression === These two algorithms are fundamental in supervised learning and are often among the first ones learned when studying machine learning. They are used for prediction tasks.  ==== Linear Regression ==== Imagine you have a scatter plot of data points showing how much ice cream is sold at different temperatures. As the temperature goes up, ice cream sales generally go up too. &#039;&#039;&#039;Linear Regression&#039;&#039;&#039; is like drawing the &quot;be...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.omnivision.website/index.php?title=10.3.1_Linear_Regression,_Logistic_Regression&amp;diff=176&amp;oldid=prev"/>
		<updated>2025-07-08T17:33:24Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=== 10.3.1 Linear Regression, Logistic Regression === These two algorithms are fundamental in supervised learning and are often among the first ones learned when studying machine learning. They are used for prediction tasks.  ==== Linear Regression ==== Imagine you have a scatter plot of data points showing how much ice cream is sold at different temperatures. As the temperature goes up, ice cream sales generally go up too. &amp;#039;&amp;#039;&amp;#039;Linear Regression&amp;#039;&amp;#039;&amp;#039; is like drawing the &amp;quot;be...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=== 10.3.1 Linear Regression, Logistic Regression ===&lt;br /&gt;
These two algorithms are fundamental in supervised learning and are often among the first ones learned when studying machine learning. They are used for prediction tasks.&lt;br /&gt;
&lt;br /&gt;
==== Linear Regression ====&lt;br /&gt;
Imagine you have a scatter plot of data points showing how much ice cream is sold at different temperatures. As the temperature goes up, ice cream sales generally go up too. &amp;#039;&amp;#039;&amp;#039;Linear Regression&amp;#039;&amp;#039;&amp;#039; is like drawing the &amp;quot;best fit&amp;quot; straight line through these points to predict sales for a new temperature.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;What it does:&amp;#039;&amp;#039;&amp;#039; Predicts a &amp;#039;&amp;#039;&amp;#039;continuous output value&amp;#039;&amp;#039;&amp;#039; (a number) based on one or more input features. It assumes a linear relationship between the input(s) and the output.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Think of it like:&amp;#039;&amp;#039;&amp;#039; Finding a straight line that best describes the relationship between two things.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;How it works:&amp;#039;&amp;#039;&amp;#039; The algorithm tries to find the optimal coefficients (slope and intercept for a simple line) that minimize the difference between the predicted values and the actual values in the training data. This is often done using a method called &amp;quot;least squares.&amp;quot;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use Cases:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
** Predicting &amp;#039;&amp;#039;&amp;#039;house prices&amp;#039;&amp;#039;&amp;#039; based on square footage.&lt;br /&gt;
** Predicting &amp;#039;&amp;#039;&amp;#039;sales figures&amp;#039;&amp;#039;&amp;#039; based on advertising spend.&lt;br /&gt;
** Estimating a student&amp;#039;s &amp;#039;&amp;#039;&amp;#039;exam score&amp;#039;&amp;#039;&amp;#039; based on study hours.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Bibliography:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;IBM - What is linear regression?&amp;#039;&amp;#039;&amp;#039;: https://www.ibm.com/topics/linear-regression&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;GeeksforGeeks - Linear Regression in Machine Learning&amp;#039;&amp;#039;&amp;#039;: https://www.geeksforgeeks.org/linear-regression-in-machine-learning/&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Wikipedia - Linear regression&amp;#039;&amp;#039;&amp;#039;: https://en.wikipedia.org/wiki/Linear_regression&lt;br /&gt;
&lt;br /&gt;
==== Logistic Regression ====&lt;br /&gt;
Now, imagine you want to predict if a student will &amp;#039;&amp;#039;pass&amp;#039;&amp;#039; or &amp;#039;&amp;#039;fail&amp;#039;&amp;#039; an exam based on their study hours. The answer isn&amp;#039;t a continuous number; it&amp;#039;s a &amp;quot;yes&amp;quot; or &amp;quot;no&amp;quot; (or &amp;quot;pass&amp;quot; or &amp;quot;fail&amp;quot;). &amp;#039;&amp;#039;&amp;#039;Logistic Regression&amp;#039;&amp;#039;&amp;#039; is like drawing a special S-shaped curve that helps you decide which side of the curve a student falls on, indicating their likelihood of passing.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;What it does:&amp;#039;&amp;#039;&amp;#039; Predicts the &amp;#039;&amp;#039;&amp;#039;probability of a binary outcome&amp;#039;&amp;#039;&amp;#039; (e.g., Yes/No, True/False, 0/1) based on input features. Despite &amp;quot;regression&amp;quot; in its name, it&amp;#039;s used for &amp;#039;&amp;#039;&amp;#039;classification&amp;#039;&amp;#039;&amp;#039; problems.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Think of it like:&amp;#039;&amp;#039;&amp;#039; Drawing a soft, S-shaped boundary to separate two groups.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;How it works:&amp;#039;&amp;#039;&amp;#039; Instead of directly predicting a value, it predicts the &amp;#039;&amp;#039;probability&amp;#039;&amp;#039; that an input belongs to a certain class. It then uses a threshold (ee.g., if probability &amp;gt; 0.5, classify as &amp;quot;Yes&amp;quot;) to make a final classification. It uses a &amp;quot;sigmoid&amp;quot; function to map any real-valued prediction into a probability between 0 and 1.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use Cases:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;Email spam detection&amp;#039;&amp;#039;&amp;#039; (spam or not spam).&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;Disease prediction&amp;#039;&amp;#039;&amp;#039; (patient has disease or not).&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;Customer churn prediction&amp;#039;&amp;#039;&amp;#039; (customer will leave or stay).&lt;br /&gt;
** Predicting if a loan applicant will &amp;#039;&amp;#039;&amp;#039;default or not default&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Bibliography:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;IBM - What is logistic regression?&amp;#039;&amp;#039;&amp;#039;: https://www.ibm.com/topics/logistic-regression&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;GeeksforGeeks - Logistic Regression in Machine Learning&amp;#039;&amp;#039;&amp;#039;: https://www.geeksforgeeks.org/machine-learning/understanding-logistic-regression/&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Wikipedia - Logistic regression&amp;#039;&amp;#039;&amp;#039;: https://en.wikipedia.org/wiki/Logistic_regression&lt;/div&gt;</summary>
		<author><name>Mr. Goldstein</name></author>
	</entry>
</feed>