- Datagration Knowledge Base
- P#
- String Functions
-
Getting Started
-
Customer Training
-
Customer Success
-
Updates
-
Production Optimization
-
Completion Optimization
-
Environmental, Social & Governance
-
Development, Acquisition & Divestitures
-
Enhanced Oil Recovery
-
Admin
-
P#
- Getting Started with P#
- Data Cleansing
- String Functions
- Scenario Functions
- Regression Functions
- Placeholder Functions
- Neighborhood Functions
- Mathematical Functions
- Logic Functions
- Entities Function
- Moving Window Functions
- Time and Date Functions
- Statistical Functions
- Economic Functions
- Data Handling
- Additional Functions
- Directional Functions
- Machine Learning Functions
- DCA Functions
-
Packages
Predictor()
Returns normalized predictor feature value using the specified ML model, data for the current entity and predictor feature index (starting from 0 in forward direction, and from -1 in reverse direction).
Note that the number of predictors can be less than the number of original features in case if model has dimensionality reduction transformers.
Definition
Returns normalized predictor feature value using the specified ML model, data from the specified table for the current entity and predictor feature index (starting from 0 in forward direction, and from -1 in reverse direction).
Note that the number of predictors can be less than the number of original features in case if model has dimensionality reduction transformers.
Syntax
Predictor(string modelName, double predictorIndex)
Predictor(string modelName, string tableName, double predictorIndex)
Example
Predictor("Model 43", 0)
Predictor("Model 43", -1)
Predictor("Model 43", "ML Input Table", 0)
Predictor("Model 43", "ML Input Table", -1)