You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Predicts a batch of records on a DSS API node endpoint (standard or custom prediction)
46
61
47
62
:param str endpoint_id: Identifier of the endpoint to query
48
63
:param records: Python list of records. Each record must be a Python dict. Each record must contain a "features" dict (see predict_record) and optionally a "context" dict.
49
64
:param forced_generation: See documentation about multi-version prediction
50
65
:param dispatch_key: See documentation about multi-version prediction
66
+
:param with_explanations: Whether individual explanations should be computed for each records.
67
+
Explanations must be enabled for the prediction endpoint.
68
+
:param explanation_method: Optional, method to compute those explanations. If None, will use the value configured in the endpoint.
69
+
:param n_explanations: Optional, number of explanations to output per prediction. If None, will use the value configured in the endpoint.
70
+
:param n_explanations_mc_steps: Optional, precision parameter for SHAPLEY method, higher means more precise but slower (between 25 and 400).
71
+
If None, will use the value configured in the endpoint.
51
72
52
73
:return: a Python dict of the API answer. The answer contains a "results" key (which is an array of result objects)
0 commit comments