Icon

First Linear Regression

<p>This workflow shows a hands-on exercise on Linear Regression</p>
Train, Predict, and Evaluate a Linear Regression Model

This sequence first trains a linear regression model using the provided data, then applies the model to make predictions on that same data. The results are visualized in a scatter plot to compare actual versus predicted values. Next, the model's performance is evaluated using common error metrics, and the prediction errors for each data point are calculated and visualized, helping you understand how well the model fits the data and where it may be making mistakes.

Train and Evaluate a Linear Regression Model

First, a linear regression model is trained using the provided dataset. This model is then used to predict numeric values for the same data. Finally, the predictions are evaluated by comparing them to the actual values, giving you a sense of how accurately the model fits the data.

Single Value Prediction

First, a single row is selected from the dataset and its values can be edited. This row is then used as input to the trained linear regression model to generate a prediction for the target variable, allowing you to see how the model responds to specific input values.

Regression Line Plotter
Scatter Plot
Evaluate the trained modelusing the training set
Numeric Scorer
Evaluate the trained modelusing the training set
Numeric Scorer
Apply the trained model
Regression Predictor
Calculate the errors
Expression
Train a linear regression model
Linear Regression Learner
Take the first row, just for the columns
Row Filter
Change the x valueto make a predicition
Table Editor (JavaScript) (legacy)
Table Creator
Apply the trained model
Regression Predictor
Train a linear regression model
Linear Regression Learner
Scatter Plot
Train a linear regression model
Linear Regression Learner
Apply the trained model
Regression Predictor

Nodes

Extensions

Links