Enacting Recommendation
The Enacting Recommendation feature allows you to put Sanatio's recommendation into practice by creating a new model with the recommended changes.
A comparison markdown report is generated which indicates the improvements in the performance of the model before and after enacting the recommendations and stores the new model in the object's model attribute.
How to access the feature?
Parameters required for initialization
X_train
Data Frame
The training data used for the initial model trained
y_train
Data Series
The truth value used to train the initial model
X_test
Data Frame
The testing feature data split
y_test
Data Series
The ground truth data for testing
model
object
The initial model before enacting the recommendations
pearson_threshold
int - Optional
The pearson threshold filter you want for the future model
vif_factor
int - Optional
The vif threshold filter you want for the future model
Enact types
The different enact types implements recommendation as per the different routines validation type we have in Sanatio.
The different types of enact that are available in Sanatio with respective function are
Logistic enact
logistic_enact()
Linear enact
linear_enact()
Tree classification enact
tree_classification_enact()
How to enact recommendation?
Example
Last updated