Home > hit > hit_create_LDs.m

hit_create_LDs

PURPOSE ^

HIT_CREATE_LDS Create Local Datasets (LDs)

SYNOPSIS ^

function LDs=hit_create_LDs(Xid,yid,Weight_primal)

DESCRIPTION ^

HIT_CREATE_LDS Create Local Datasets (LDs)

 -------------------------------------------------------------------------
 DESCRIPTION
 -------------------------------------------------------------------------
 LDs=hit_create_LDs(Xid,yid,Weight_primal)

 -------------------------------------------------------------------------
 INPUT
 -------------------------------------------------------------------------
  Xid: matrix containing the datapoints in the regressor set.
       Each row is a datapoint.

  yid: column vector containing the output datapoints.

 -------------------------------------------------------------------------
 OUTPUT                                                                                                   
 -------------------------------------------------------------------------
 LDs: structure containing information about local datasets (LDs)
 and local models

    LDs.X{i}:  matrix of regressors belonging to the i-th local dataset
    (each row is a point).
   LDs.y{i}: vector of outputs belonging to the i-th local dataset.
   LDs.pos{i}: vector of indexes of datapoints in the i-th local
   dataset, e.g. Xid(LDs.pos{i}(1),:) is the first regressor in the i-th
   LD. 
   LDs.weights{i} weight associated to the i-th datapoint used in
   weighted LS for computing mode PVs. 
   LDs.meanX{i} average of regressors in the i-th local dataset. 
   LDs.models{i} parameters of the i-th local model.
   LDs.models_var{i} INVERSE variance of the i-th local model.
   LDs.X_ivar{i} INVERSE of the variance of the the regressors in the
   i-th LD.

CROSS-REFERENCE INFORMATION ^

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