Home > hit > analysis > hit_mse.m

hit_mse

PURPOSE ^

HIT_MSE Estimate the Mean Squared Error of a PWA function on a given dataset

SYNOPSIS ^

function [mse,mse_mode]=hit_mse(X,y,idmodes)

DESCRIPTION ^

HIT_MSE Estimate the Mean Squared Error of a PWA function on a given dataset
 -------------------------------------------------------------------------
 DESCRIPTION
 -------------------------------------------------------------------------

 [mse,mse_mode]=hit_mse(X,y,idmodes)
 
 -------------------------------------------------------------------------
 INPUT
 -------------------------------------------------------------------------
 X: matrix containing the regressors. 

 y: column vector containing the output datapoints.

 idmodes: structure containing all information on the PWA function.
 Type 'help hit_regression' for a description of the fields. 

 -------------------------------------------------------------------------
 OUTPUT                                                                                                   
 -------------------------------------------------------------------------

 mse: mean squared error on the given data.

 mse_mode(i): mean squared error of the i-th mode on the given data. It is
 an optional output.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Thu 01-Dec-2005 10:54:38 by m2html © 2003