Skip to contents

Method for setting center value for a specific feature

Usage, feature, value)



The Interpreter class that we want to recenter the plots of.


The name of the feature to set grid points for.


The new value to use for the plots of the specified feature to be centered at. Must match the type of the feature (a factor level or continuous value in the range of the specified feature).


Unlike the grid predictions, the values do not modify any of the previous saved calculations. Therefore, it does not change or remove any of the previously calculated, saved data. These center values are simply for the plots made by the interpreter object, rather than the distilled model.