🌐
Google
developers.google.com › machine learning › linear regression
Linear regression | Machine Learning | Google for Developers
This module introduces linear regression, a statistical method used to predict a label value based on its features.
🌐
GeeksforGeeks
geeksforgeeks.org › machine learning › ml-linear-regression
Linear Regression in Machine learning - GeeksforGeeks
Linear Regression is a fundamental supervised learning algorithm used to model the relationship between a dependent variable and one or more independent variables.
Published   3 weeks ago
Discussions

Linear Regression for newbies : r/learnmachinelearning
Welcome to r/learnmachinelearning - a community of learners and educators passionate about machine learning! This is your space to ask questions, share resources, and grow together in understanding ML concepts - from basic principles to advanced techniques. Whether you're writing your first ... More on reddit.com
🌐 r/learnmachinelearning
[D] Why does almost no one talk about how linear regression is implemented in practice?
I think it’s just because it is easier to explain gradient descent with a trivial linear regression example. More on reddit.com
🌐 r/MachineLearning
45
11
September 12, 2020
Some of you say “linear regression” like it’s a bad word
Mixed models are a secret weapon More on reddit.com
🌐 r/datascience
96
347
September 16, 2023
How do you use Linear Regression ?
Linear regression is a valuable tool, but it's only one of the tools in your toolbox. (Other basic tools are things like XMAs - XMAs of everything, of prices, returns, vol, and even histograms - because things change. Moving up the complexity ladder you have clustering, PCA analysis, RFs, ANNs, MCMC, etc.) You need to understand LR's strengths and weaknesses. It's well-known for example that certain problems, like the XOR problem, are not linearly separable. And so LR, a linear method, won't be able to solve that problem - whereas a multi-layer NN with non-linear activation functions will be able to, as will a RF. On the other hand, LR is very fast to compute, and while you lose on accuracy, you on balance probably gain on robustness. LR models also typically extrapolate more robustly than RF and ANN models - where you would be very careful about allowing the input to take on values outside of the historical range. One huge advantage of LR models is the associated R2 metric, which has a really intuitive and appealing interpretation. Namely, it tells you the proportion of variance in the output variable accounted for by the variance in the input variable. So if R2 is 10%, that means that 10% of the variation in the output - the thing you care about - is "explained" by the variations in the input. Let's take a step back and consider how you even measure if a strategy is good. The really naive way is to run a so-called backtest. Which I'm sure you already know about. But in my experience, that's not how the pros do it. Instead, they'll measure how good a model is by regressing the value of the indicator (let's say 1 means buy, 0 means hold and -1 means sell) against future returns, and you'll typically hope that your model will explain a few percent of the variation in the future returns. (The future returns are called the labels from ML context where the input and output are typically images and textual labels - "person on bike", that kind of thing. But in finance the labels are almost always future returns over some time period.) If your R2 is higher than, say, 10% - then you're kind of kicking ass - and you can be very sure that even a simple trading strategy will work. By the way, that simple strategy will make use of the LR insofar as it will - in the simplified single variable case - multiply the output of your indicator with "slope" in your LR to get as output your expected future return. And now you can say, is that return higher than my commissions? If yes, then if expected return is positive, then buy, else sell. Pushing the boat, let's say you have two or even three models which you, from the above analysis, you think are promising. How do you combine them? Again for simplicity assume each takes on a value in the closed range [-1, 1]. The answer is again LR. Now you're going to take the output signal from each model as the _input_ to another regression, again using the same labels - the future returns. And this will tell you whether the models cooperate - or compete - with each other. And you will know this by seeing if combined you get an improvement in R2. You can also inspect the slopes. You might even regress the parameters of a model, with the parameters of the same model but trained on month more of data. If your model is any good, the parameters should have some kind of stability over time. So your prior months params should predict current params. And finally it's good smoke test for more complicated models. If you find your complicated RF model is doing worse than LR, then you know you need to go back to the drawing board. More on reddit.com
🌐 r/algotrading
105
153
May 29, 2021
🌐
Analytics Vidhya
analyticsvidhya.com › home › linear regression in machine learning
Linear Regression in Machine Learning
June 13, 2025 - This article was published as a part of the Data Science Blogathon. ... Linear Regression is a supervised learning algorithm that is used to model the relationship between a dependent variable and an independent variable.
statistical approach for modeling the relationship between a scalar dependent variable and one or more explanatory variables
The best-fitting linear relationship between the variables \(x\) and \(y\).
5qeliyjqow regressionchart
{\displaystyle (-\infty ,\infty )}
In statistics, linear regression is a model that estimates the relationship between a scalar response (dependent variable) and one or more explanatory variables (regressor or independent variable). "Linear regression is linear in … Wikipedia
🌐
Wikipedia
en.wikipedia.org › wiki › Linear_regression
Linear regression - Wikipedia
2 weeks ago - Linear regression is also a type of machine learning algorithm, more specifically a supervised algorithm, that learns from the labelled datasets and maps the data points to the most optimized linear functions that can be used for prediction on new datasets.
🌐
MachineLearningMastery
machinelearningmastery.com › home › blog › linear regression for machine learning
Linear Regression for Machine Learning - MachineLearningMastery.com
December 6, 2023 - Linear regression is perhaps one of the most well known and well understood algorithms in statistics and machine learning. In this post you will discover the linear regression algorithm, how it works and how you can best use it in on your machine learning projects.
🌐
W3Schools
w3schools.com › python › python_ml_linear_regression.asp
Python Machine Learning Linear Regression
In Machine Learning, and in statistical modeling, that relationship is used to predict the outcome of future events. Linear regression uses the relationship between the data-points to draw a straight line through all them.
🌐
ArcGIS Pro
pro.arcgis.com › en › pro-app › latest › tool-reference › geoai › how-linear-regression-works.htm
How Linear regression algorithm works—ArcGIS Pro | Documentation
Linear regression is a supervised machine learning method that is used by the Train Using AutoML tool and finds a linear equation that best describes the correlation of the explanatory variables with the dependent variable. This is achieved by fitting a line to the data using least squares.
Find elsewhere
🌐
Medium
medium.com › @charan.sandaka5 › linear-regression-algorithm-in-machine-learning-2c26f2f928ea
Linear Regression Algorithm in Machine Learning | by Charan Sandaka | Medium
November 9, 2025 - Serves as a foundation for advanced algorithms. Assumes linear relationships only. Sensitive to outliers. Poor performance on complex, non-linear data. Struggles with multicollinearity. Whether solved through OLS for precision or Gradient Descent for scalability Linear Regression teaches us the essence of all machine learning finding patterns in data to make predictions.
🌐
TutorialsPoint
tutorialspoint.com › machine_learning › machine_learning_linear_regression.htm
Linear Regression in Machine Learning
In machine learning, linear regression is used for predicting continuous numeric values based on learned linear relation for new and unseen data.
🌐
MLU-Explain
mlu-explain.github.io › linear-regression
Linear Regression
A visual, interactive explanation of linear regression for machine learning.
🌐
ML Glossary
ml-cheatsheet.readthedocs.io › en › latest › linear_regression.html
Linear Regression — ML Glossary documentation
Linear Regression is a supervised machine learning algorithm where the predicted output is continuous and has a constant slope. It’s used to predict values within a continuous range, (e.g. sales, price) rather than trying to classify them into categories (e.g.
🌐
Medium
medium.com › @mahnoorsalman96 › linear-regression-for-machine-learning-a-practical-approach-84e447afa188
Linear Regression for Machine Learning: A Practical Approach | by Mahnoor Salman | Medium
January 23, 2024 - These Python code snippets use common libraries like scikit-learn and NumPy to calculate regression metrics. Make sure to replace y_true and y_pred with your actual and predicted values, respectively, before running the code. In conclusion, linear regression, in its simplicity and complexity, remains a cornerstone in the field of machine learning for data analysts.
🌐
Analytics Vidhya
analyticsvidhya.com › home › linear regression algorithms and models
Linear Regression Algorithm To Make Predictions Easily
November 8, 2024 - A. Linear regression is a fundamental machine learning algorithm used for predicting numerical values based on input features. It assumes a linear relationship between the features and the target variable.
🌐
Masters in Data Science
mastersindatascience.org › home › learning › machine learning algorithms › linear regression
What Is Linear Regression? | Master's in Data Science
December 15, 2023 - Linear regression is a type of supervised learning algorithm in which the data scientist trains the algorithm using a set of training data with correct outputs. You continue to refine the algorithm until it returns results that meet your expectations.
🌐
Edureka
edureka.co › blog › linear-regression-for-machine-learning
Linear Regression for Machine Learning | Intro to ML Algorithms | Edureka
April 18, 2024 - If a new input variable comes into the picture. The linear regression algorithm in machine learning is a supervised learning technique to approximate the mapping function to get the best predictions.
🌐
Online Manipal
onlinemanipal.com › home › blogs › 10 popular regression algorithms in machine learning
10 Popular Regression Algorithms in Machine Learning
November 28, 2025 - Ridge Regression is another popularly used linear regression algorithm in Machine Learning. If only one independent variable is being used to predict the output, it will be termed as a linear regression ML algorithm. ML experts prefer Ridge regression as it minimizes the loss encountered in linear regression (discussed above).
🌐
Spiceworks
spiceworks.com › spiceworks inc › soft-tech › what is linear regression?- spiceworks
What is Linear Regression?- Spiceworks - Spiceworks
December 16, 2025 - Thus, linear regression is a supervised learning algorithm that simulates a mathematical relationship between variables and makes predictions for continuous or numeric variables such as sales, salary, age, product price, etc.
🌐
AWS
aws.amazon.com › what is cloud computing? › cloud computing concepts hub › analytics › artificial intelligence
What is Linear Regression? - Linear Regression Model Explained - AWS
1 week ago - Identify the linear regression equation as y=3*x+2. ... In machine learning, computer programs called algorithms analyze large datasets and work backward from that data to calculate the linear regression equation. Data scientists first train the algorithm on known or labeled datasets and then ...
🌐
DigitalOcean
digitalocean.com › resources › articles › what-is-linear-regression
What is Linear Regression in Machine Learning? | DigitalOcean
Linear regression is one of the foundational techniques in machine learning. It’s a supervised learning algorithm where the model analyzes labeled training data (like past patient records or retail receipts) to identify patterns, and then uses those patterns to make predictions on new information.
🌐
Medium
medium.com › @rteja1328 › linear-regression-algorithm-in-machine-learning-5b9198a95411
Linear Regression Algorithm in Machine Learning | by Yerramsetti Ravi Teja | Medium
April 18, 2024 - Linear Regression is a supervised machine learning algorithm that learns a linear relationship between one or more input features (X) and the single output variable (Y).