pls-toolbox-model-object

Document EVRIModel objects for building, calibrating, applying, and reviewing multivariate models in MATLAB.

1|Updated Oct 20, 2025
One-click install
npx skills add https://github.com/eigenvector-research-inc/pls_toolbox-cli-examples --skill pls-toolbox-model-object
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pls-toolbox-model-object
Source: https://github.com/eigenvector-research-inc/pls_toolbox-cli-examples/tree/main/skills/pls-toolbox-model-object
Command: npx skills add https://github.com/eigenvector-research-inc/pls_toolbox-cli-examples --skill pls-toolbox-model-object

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

EVRIModel objects provide a standardized, object-oriented container for building, calibrating, applying, and reviewing multivariate models in MATLAB, simplifying access to model internals and workflows.

Core Features & Use Cases

  • Support for PCA, PLS, PCR, PLSDA, MCR, and other model types via EVRIModel objects.
  • Unified interface to create empty models, calibrate with data, apply to new data, and retrieve predictions and diagnostics.
  • Use case: automate model calibration and deployment within MATLAB scripts and batch workflows.

Quick Start

Create an EVRIModel for a PCA workflow, assign x-data to model.x, set ncomp, run model.calibrate, and then access model.scores from the calibrated object.

Frequently Asked Questions about pls-toolbox-model-object

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build and calibrate multivariate models in MATLAB using EVRIModel objects?

To build multivariate models in MATLAB, create an empty EVRIModel object, assign your x-data to the model.x field, set the desired number of components, and run the model.calibrate method to generate predictions and diagnostics.

What types of chemometric models are supported by the EVRIModel object framework?

The EVRIModel object framework supports standard chemometric model types including PCA, PLS, PCR, PLSDA, and MCR, providing a unified object-oriented container for building, calibrating, and applying these multivariate models in MATLAB.

How do I apply a calibrated PLS model to new data in MATLAB scripts?

To apply a calibrated PLS model to new data in MATLAB scripts, use the standardized EVRIModel interface to pass new data through the calibrated object, enabling you to retrieve predictions and review diagnostics for batch workflows.

Can I automate model calibration and deployment within MATLAB batch workflows?

Yes, you can automate model calibration and deployment within MATLAB batch workflows by using EVRIModel objects, which provide a standardized object-oriented interface for end-to-end model workflows including applying models to new data.

What is the standard workflow for accessing scores from a calibrated PCA model in MATLAB?

The standard workflow for accessing PCA scores in MATLAB involves creating an EVRIModel, assigning x-data, setting ncomp, running model.calibrate, and then directly accessing the model.scores field from the calibrated object.