1,249 views

1 Answer

0 0 votes
The difference between the observed value of the dependent variable (y) and the predicted value (ŷ) is called the residual (e). Each data point has one residual. Both the sum and the mean of the residuals are equal to zero.

Related questions

1 1 vote
1 answers 1 answer
4.9k
4.9k views
tofighi asked Feb 18, 2020
4,917 views
Assuming we have a linear regression equation and some data points (sample), how can we calculate residual error for each data point, and total cost based on the metrics ...
0 0 votes
1 answers 1 answer
524
524 views
brendan_V asked Oct 13, 2018
524 views
1 1 vote
1 1 answer
1.8k
1.8k views
asifsundrani asked Jul 3, 2019
1,792 views
def cross_val_score(estimator,X,y,scoring,cv): scores=cross_val_score scores_rmse=np.sqrt(-scores) print('Scores: ',scores_rmse) print("Mean:", scores_rms...
1 1 vote
0 0 answers
965
965 views
kmr1994 asked Apr 29, 2019
965 views
Here is LSTM predict model and i want to convert Linear Regression.... model.fit(x_train, y_train, epochs=10, batch_size=16) trainPredict = model.predict(x_train) testPre...