


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.
