xai_button¶
- class virtualitics_sdk.elements.xai_button.XAIButton(dashboard_title, dashboard_id, pred_column, encoding=None, titles=None, _id=None, waterfall_positive_color=None, waterfall_negative_color=None, expected_title=None, predicted_title=None, top_n=None)¶
Bases:
CustomEvent
- callback(flow_metadata, **step_clients)¶
- Return type:
Union
[str
,dict
]
- data_likelihood_info(explainer, instance)¶
- Return type:
- estimate_diff_info(diff)¶
- Return type:
- instance_exp_info(pred, spt_exp)¶
- Return type:
- out_of_range_info(feats, point, bounds)¶
- Return type:
- postprocess_backend_output(point, categorical_names, dashboard)¶
Postprocess backend one hot to be default verbose
- process_frontend_input(point, categorical_names, dashboard)¶
Preprocess frontend categorical inputs to be default one-hot
- Return type:
dict