Clsti: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
Line 42: Line 42:
===See Also===
===See Also===


[[analysis]], [[pcr]], [[pls]], [[preprocess]], [[stepwise regrcls]], [[testrobustness]], [[EVRIModel_Objects]], [[cls]]
[[analysis]], [[cls]], [[EVRIModel_Objects]]

Revision as of 13:56, 20 November 2023

Purpose

Temperature Interpolated Classical Least Squares models.

Synopsis

model = clsti(files); %builds CLSTI model (calibration step)
model = clsti(files,options); %builds CLSTI model (calibration step)
pred = clsti(x,temps,model);%makes predictions with a new data and temperatures
pred = clsti(x,temps,model,options);%makes predictions with a new data and temperatures

Description

CLSTI models will interpolate a test temperature from a give set of pure spectra at certain temperatures.

Inputs

To build a CLSTI model:

  • files = cell array of definition files, that can be:
    • .xlsx, .csv, or .txt file formats, with pure component name in first cell and filenames for pure component data in column 1 and corresponding temperatures in column 2, or
    • a cell array of DataSet Objects of pure component spectra at different temperatures with corresponding temperatures in the .axisscale{1,1} field.

To apply a CLSTI model:

  • x = DSO of test data with temperatures in .axisscale{1,1} field
  • temps = vector of temperatures (if not in x.axisscale{1,1})
  • model = CLSTI model to apply to x

Outputs

Options

options = a structure array with the following fields:

  • plots: [ {'none'} | 'final' ] governs plotting of results.
  • display: [ 'off' | {'on'} ] governs level of display to command window.
  • blockdetails: [ 'compact' | {'standard'} | 'all' ] level of detail (predictions, raw residuals, and calibration data) included in the model.
  • ‘Standard’ = the predictions and raw residuals for the X-block as well as the X-block itself are not stored in the model to reduce its size in memory. Specifically, these fields in the model object are left empty: 'model.pred{1}', 'model.detail.res{1}', 'model.detail.data{1}'.
  • ‘Compact’ = for this function, 'compact' is identical to 'standard'.
  • 'All' = keep predictions, raw residuals for both X- & Y-blocks as well as the X- & Y-blocks themselves.

See Also

analysis, cls, EVRIModel_Objects