Page 1 of 1

Mean square error

Posted: Sun Nov 07, 2010 2:59 pm
by kidd
hi
i used praxis to optimize my data. now i have two traces, one is the original data and the other is the optimized data. how can i use meansqerr function to calculate the error now? the documentation is not very clear

Re: Mean square error

Posted: Mon Nov 08, 2010 10:29 am
by ted
Suppose your original data are in vec, and the data generate by your optimized model are in vec1.
vec.meansquerr(vec1)
returns a scalar value that is the mean squared error between vec and vec1

Re: Mean square error

Posted: Mon Nov 08, 2010 1:26 pm
by kidd
thanx alot :)