Home > Source > Evaluation > eval_msd.m

eval_msd

PURPOSE ^

==============================================================

SYNOPSIS ^

function score = eval_msd(params, model, example)

DESCRIPTION ^

 ==============================================================
 EVAL_MSD: Evaluate mean-square-difference between a model and
           an example.

 Code written by Katherine Smith, 2003

    GENERAL

      score = eval_msd(params, model, example)

    INPUT/S

      -params:
           Parameters for model construction.

      -model:
           The model to be compared with the example

      -example:
           The example to be compared with the model.
           
    OUTPUT/S

      -score:
           Mean-squared difference score.

    PENDING WORK

      -

    KNOWN BUG/S

      -None.

    COMMENT/S

      -This is just a mediating function. Is it really necessary or
       is it just deceiving?

    RELATED FUNCTION/S

      MSD

    ABOUT

      -Created:     November 23rd, 2003
      -Last update: Novermber 26th, 2003
      -Revision:    0.0.2
      -Author:      R. S. Schestowitz, University of Manchester
 ==============================================================

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function score = eval_msd(params, model, example)
0002 % ==============================================================
0003 % EVAL_MSD: Evaluate mean-square-difference between a model and
0004 %           an example.
0005 %
0006 % Code written by Katherine Smith, 2003
0007 %
0008 %    GENERAL
0009 %
0010 %      score = eval_msd(params, model, example)
0011 %
0012 %    INPUT/S
0013 %
0014 %      -params:
0015 %           Parameters for model construction.
0016 %
0017 %      -model:
0018 %           The model to be compared with the example
0019 %
0020 %      -example:
0021 %           The example to be compared with the model.
0022 %
0023 %    OUTPUT/S
0024 %
0025 %      -score:
0026 %           Mean-squared difference score.
0027 %
0028 %    PENDING WORK
0029 %
0030 %      -
0031 %
0032 %    KNOWN BUG/S
0033 %
0034 %      -None.
0035 %
0036 %    COMMENT/S
0037 %
0038 %      -This is just a mediating function. Is it really necessary or
0039 %       is it just deceiving?
0040 %
0041 %    RELATED FUNCTION/S
0042 %
0043 %      MSD
0044 %
0045 %    ABOUT
0046 %
0047 %      -Created:     November 23rd, 2003
0048 %      -Last update: Novermber 26th, 2003
0049 %      -Revision:    0.0.2
0050 %      -Author:      R. S. Schestowitz, University of Manchester
0051 % ==============================================================
0052 
0053 score = msd(construct_model_example(params, model, 1:50),example);

Generated on Thu 13-May-2004 18:00:46 by m2html © 2003