#include "SQDef.h"
#include "SQErrorCodes.h"
#include "SQModel.h"
#include "SQPrepareBatchPrediction.h"
Go to the source code of this file.
◆ SQ_GetBatchVIP()
The importance of a variable during the batch evolution and for the quality of the completed batch. Batch VIP is computed for every phase. For a PLS model at the batch level, it is computed for the selected Y.
- Parameters
-
[in] | pModel | The batch level model to use. |
[in] | iComponent | The component the batch VIP should be calculated for. |
[in] | iYTerm | The Y term the batch VIP should be calculated for. |
[in] | iPhase | The phase the batch VIP should be calculated for. |
[out] | pVectorData | A pointer to the BatchVIP results. Number of rows in matrix = 2 Number of columns in matrix = |
- Returns
- Returns SQ_E_OK if success or an error code
◆ SQ_GetPhasesForBatchPrediction()
Retrieves the phases that are needed to perform a prediction on this batch level model.
- Parameters
-
[in] | pModel | The batch level model to use.
|
[out] | pPhasesForBatchPredict | The phase names. The vector must be cleared with SQ_ClearStringVector. |
- Returns
- Returns SQ_E_OK if success or an error code
◆ SQ_GetPrepareBatchPrediction()
Retrieves the PrepareBatchPrediction object that should be used to set data for a batch prediction. The returned object must be released by SQ_ClearPrepareBatchPrediction.
- Parameters
-
[in] | pModel | The batch level model to perform a prediction on.
|
[out] | pPreparePrediction | The PreparePrediction object that should be used to set data for a prediction.
Must be released by SQ_ClearPrepareBatchPrediction. |
- Returns
- Returns SQ_E_OK if success or an error code
◆ SQ_IsBatchLevelModel()
An inquiry whether the model is a Batch Level Model.
- Parameters
-
[in] | pModel | The model to use. |
[out] | bIsBLM | Is set to SQ_True if the model is a BLM. |
- Returns
- Returns SQ_E_OK if success or an error code