Compressmodel: Difference between revisions
Jump to navigation
Jump to search
imported>Jeremy (Importing text file) |
imported>Neal No edit summary |
||
Line 1: | Line 1: | ||
===Purpose=== | ===Purpose=== | ||
Line 10: | Line 9: | ||
===Description=== | ===Description=== | ||
COMPRESSMODEL will remove any references in a model to excluded variables. This permits the application of the model to new data in which unused variables have been hard-excluded (i.e. previously removed or not collected). Input is | COMPRESSMODEL will remove any references in a model to excluded variables. This permits the application of the model to new data in which unused variables have been hard-excluded (i.e. previously removed or not collected). Input (model) is the model to compress. | ||
Outputs are (cmodel) the compressed model and (msg) which contains any warning messages reported during compression. Although compression will work on most models, some preprocessing methods and some model types may not compress correctly. In these cases, a warning will be given and reported in the output (msg). | |||
===See Also=== | ===See Also=== | ||
[[pca]], [[pcr]], [[pls]], [[plsda]] | [[pca]], [[pcr]], [[pls]], [[plsda]] |
Revision as of 14:41, 3 October 2008
Purpose
Remove references to unused variables from a model.
Synopsis
- [cmodel,msg] = compressmodel(model)
Description
COMPRESSMODEL will remove any references in a model to excluded variables. This permits the application of the model to new data in which unused variables have been hard-excluded (i.e. previously removed or not collected). Input (model) is the model to compress.
Outputs are (cmodel) the compressed model and (msg) which contains any warning messages reported during compression. Although compression will work on most models, some preprocessing methods and some model types may not compress correctly. In these cases, a warning will be given and reported in the output (msg).