pyreal.explanation_types.base.Explanation.update_values#
- Explanation.update_values(values, inplace=False)[source]#
Updates this objects values, and validates
- Parameters:
values (DataFrame of shape (n_instances, n_features)) – New values
inplace (Boolean) – If True, change the values on this object. Otherwise, create a new object identical to this one but with new values
- Returns:
- Explanation
self if inplace=True, else the new Explanation object.