MSE stands for mean-squared error. It's a measurement of an empirical loss in certain mathematical models, especially regression models.
Questions tagged [mse]
233 questions
2
votes
2 answers
How to calculate the RMSE on Ridge regression model
I have performed a ridge regression model on a data set
(link to the dataset: https://www.kaggle.com/c/house-prices-advanced-regression-techniques/data)
as below:
from sklearn.linear_model import Ridge
from sklearn.model_selection import…

user2480288
- 619
- 2
- 11
- 28
2
votes
1 answer
VP9 WEBM video support in EDGE browser
I see that EDGE claims VP9 codec support in the latest versions by enabling the VP9 in MSE in their browser configuration.
I tried doing that and still, it doesn't work and it throws an error saying this type of video file isn't supported.
I had…

raghav dutt
- 21
- 3
2
votes
2 answers
MSE Loss for matrix Machine Learning
I have a model with N inputs and 6 outputs after each epoch.
My output looks like, [x y z xx yy zz] and I want to minimize the MSE of each term. However, I've noticed that when I use MSE as a loss function, it is just taking the mean of the sum of…

Dwight Temple
- 37
- 5
2
votes
1 answer
Recursive daily forecast
I am doing a recursive one-step-ahead daily forecast with different time series models for 2010. For example:
set.seed(1096)
Datum=seq(as.Date("2008/1/1"), as.Date("2010/12/31"),…

Chris Pram
- 21
- 1
2
votes
1 answer
MSE calculation for grayscale images
I have two images(original and noisy). I'm calculating PSNR. I kinda did it for color RGB images, but i don't know how to do it with grayscale. As i read, MSE calculation is different. For RGB i'm doing it like you can see in following code (I'm…

Errorfreak
- 79
- 2
- 9
1
vote
1 answer
Matlab immse formula is different from expected
I am trying to calculate the MSE between two images.
In Matlab the immse function contains an unexpected formula which is (norm(x(:)-y(:),2).^2)/numel(x).
My teacher instead is using mean((x(:)-y(:)).^2).
I saw that the results of the method…

albertopasqualetto
- 87
- 1
- 1
- 11
1
vote
0 answers
Does cv.glmnet in R return double MSE for binary data?
I noticed that the minimized values for the MSE (mean of squared errors) and MAE (mean of absolute values of the errors) criteria returned by "$cvm" or "plot()" in cv.glmnet are twice the actual values when the outcome is binary. This is very…

Mark Nh
- 11
- 3
1
vote
0 answers
ARIMA giving forecasts with higher RMSE than AR
I am trying to argue that ARIMA models are better than AR models i.e since AR is a subset of ARIMA, the best ARIMA model will not be worse than the best AR model, but may be better. I have used an AR(6) model, and then used auto.arima() in R which…

Meowgi256
- 11
- 2
1
vote
1 answer
How can I calculate the mean square error in R of a regression tree?
I am working with the wine quality database.
I am studying regression trees depending on different variables as:
library(rpart)
library(rpart.plot)
library(rattle)
library(naniar)
library(dplyr)
library(ggplot2)
vinos <- read.csv(file = 'Wine.csv',…

slow_learner
- 337
- 1
- 2
- 15
1
vote
2 answers
Task: Finding lowest possible MSE using linear regression
I've seen this same question on here which has helped me get this far but i'm not getting the correct results.
I have a linear regression with the datapoints x and y, as well as the model ypred = a*x+b. I needed to set a = 10 and calculate the MSE,…

Aaron Beattie
- 21
- 2
1
vote
0 answers
How to demonstrate RMSE as percentages
I am doing forecasting for data, and have ended up with a RMSE of 3793.86.
I then took the mean of all the rows available and saw that it was 275007.975.
Is it correct to say that my RMSE percentage error is (3793.96 / 275007.975 * 100) = 1.38%?…

Amir Rastgo
- 29
- 3
1
vote
1 answer
Python numba returned data types when calculating MSE
I am using numba to calculate MSE. The input are images which are ready as numpy arrays of uint8. Each element is 0-255.
When calculating the squared difference between two images the python function returns (expectedly) a uint8 result, but the same…

Ruslan
- 911
- 2
- 11
- 28
1
vote
1 answer
Pytorch nn.MSELoss without specifying target
I was having difficulty with my loss getting stuck at a particular value. It would always decrease to a certain value, then stop decreasing. The code regarding the loss was:
criterion = nn.MSELoss()
loss = criterion(y_pred,…

Clement Moreno
- 13
- 2
1
vote
3 answers
Should I normalize the values before computing the Mean Squared Error?
I have some data that includes information about the width and weight of a certain species of fish. I'm using a linear regression model to predict the weight input width, and I wanted to compute the mean squared error of the model.
If I use the…

João Dias
- 45
- 1
- 8
1
vote
0 answers
How the function evaluate for conv1d works with more than one output value?
I am designing a 1-dimensional convolution network using keras. In my dataset, I have 29 outputs (y_test), which means for every set of features we get 29 outputs. Does the evaluation function work through all of them? I want to know how the MAE…

DRA
- 165
- 8