Questions tagged [mse]

1

votes
0

answer
8

Views

why MSE on test set is very low and doesn't seem to evolve (not increasing after increasing epochs)

I am working on a problem of predicting stock values using LSTMs. My work is based on the following project . I use a data set (time series of stock prices) of total length 12075 that I split into train and test set (almost 10%). It is the same used in the link project. train_data.shape (11000,) te...
Othmane
0

votes
0

answer
5

Views

How to apply sequentinal MSE model to data that is not binary?

I have been using this model with binary data to predict likely hood of play from this guide. import tensorflow as tf from tensorflow import keras import numpy as np import pandas as pd model = keras.Sequential() input_layer = keras.layers.Dense(3, input_shape=[3], activation='tanh') model.add(inp...
RustyShackleford
2

votes
1

answer
2k

Views

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 using Visual C#): for (int i = 0; i < bmp1.Width; i++)...
Errorfreak
2

votes
1

answer
1k

Views

Finding the mean squared error for a linear regression in python (with scikit learn)

I am trying to do a simple linear regression in python with the x-variable being the word count of a project description and the y-value being the funding speed in days. I am a bit confused as the root mean square error (RMSE) is 13.77 for the test and 13.88 for the training data. First, shouldnt t...
Christina
3

votes
2

answer
6.6k

Views

How to extract the CV errors for optimal lambda using glmnet package?

I'm using the glment package for regression in R. I do the cross validation using cv.fit
user2806363
3

votes
1

answer
2.5k

Views

Training error and Validation error in Multiple Output Neural Network

I am developing a program to study Neural Networks, by now I understand the differences (I guess) of dividing a dataset into 3 sets (training, validating & testing). My networks may be of just one output or multiple outputs, depending on the datasets and the problems. The learning algorithm is the b...
gkapellmann
4

votes
1

answer
1.3k

Views

the loss of mse always be 0 when keras for topic predict

my input is a 200 dims vector, which is generated by mean of the word2vector of all words of a article, my output is a 50 dims vector,which is generated by the LDA results of a article I want to use mse as the loss function,but the value of the loss always be 0 my code as follows: model = Sequential...
Jaspn Wjbian
2

votes
1

answer
1.1k

Views

Write a custom MSE loss function in Keras

I'm trying to create an image denoising ConvNet in Keras and I want to create my own loss function. I want it to take a noisy image as an input and to get the noise as an output. This loss function is pretty much like a MSE loss but which will make my network learn to remove the clean image and not...
Nathan Hubens
2

votes
1

answer
1k

Views

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 launched the https://html5test.com/compare/browser/myb...
raghav dutt
3

votes
1

answer
1.2k

Views

randomForest package in R mse calculation

I feel like I'm missing something very basic here. I've run a random forest regression: INTERP.rf
Lisa Avery
3

votes
3

answer
327

Views

Getting worse result using keras 2 than keras 1

I ran the same code (with the same data) on CPU first using keras 1.2.0 and then keras 2.0.3 in both codes keras is with TensorFlow backend and also I used sklearn for model selection, plus pandas to read data. I was surprised when I got the MSE(Mean squared error) of 42 using keras 2.0.3 and 21 us...
TRiba
4

votes
1

answer
838

Views

Converting fragmented mp4 file for MSE (Media Source Extensions)

I'm looking for a way to generate proper fragmented *.mp4 files for MediaSourceExtension (Chrome). I tried out the example from here: http://people.mozilla.org/~jyavenard/tests/mse_mp4/paper.html and with the given video file it worked just fine. So I tried out some settings for avconv / MP4 box to...
Die Usche
2

votes
2

answer
135

Views

Working with SSIM loss function in tensorflow for RGB images

I want to use SSIM metric as my loss function for the model I'm working on in tensorflow. SSIM should measure the similarity between my reconstructed output image of my denoising autoencoder and the input uncorrupted image (RGB). As of what I understood, for using the SSIM metric in tensorflow, the...
Yousif H
2

votes
1

answer
343

Views

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"), "days") r=rnorm(1096) y=xts(r,order.by=as.Date(Datum)) List.y=vector(mode = "list", length = 365L) for (i in 1:365) { win...
Chris Pram
2

votes
1

answer
1.3k

Views

random forest package in R

I use random forest package in R for regression, it gives me two kind of information: Mean of squared residuals and % Var explained. But I wanna calculate the RMSE and R^2 of the training and test sets, can anyone help me how can I find these kind of information?
Farhaneh Moradi
2

votes
3

answer
27.8k

Views

Finding Mean Squared Error?

I have produced a linear data set and have used lm() to fit a model to that dataset. I am now trying to find the MSE using mse() I know the formula for MSE but I'm trying to use this function. What would be the proper way to do so? I have looked at the documentation, but I'm either dumb or it's just...
KingDan
53

votes
0

answer
217

Views

Meta.SE content should be discoverable on Meta.SO

Since the new Meta.SE was introduced, many discussions have come up on Meta.SO that already exist on Meta.SE. As this answer by Tim Post shows, this is somewhat intentional and not viewed as a bad thing in itself. To some extent, that's fine. It's good for broad "political" ideas to be rehashed a...
Pekka 웃
14

votes
1

answer
293

Views

Make clear before asking that there are two Meta sites

I see plenty of new questions getting asked on Meta.SO that are duplicates of older discussions that now often reside on Meta.SE. I don't think that is a desirable thing in itself. New questions seem to often get a lot less discussion, input, and viewpoints than the "original" conversations. One r...
Pekka 웃
24

votes
3

answer
723

Views

Meta Stack Overflow vs Meta Stack Exchange

Before asking this question, I already read the entire Q&A here: What kind of questions should we ask on Meta Stack Overflow and on Meta Stack Exchange? But, I am really still confused. When navigating through the Meta SO questions, most of them seems to me Meta Stack Exchange questions. I will give...
Tarik