Skip to content

Commit cb64e97

Browse files
author
Louis Pouillot
committed
Increase MC steps max from 400 to 1000
1 parent 9e7a7d1 commit cb64e97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: dataikuapi/apinode_client.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def predict_record(self, endpoint_id, features, forced_generation=None, dispatch
2929
:param with_explanations: Optional, whether individual explanations should be computed for each record. The prediction endpoint must be compatible. If None, will use the value configured in the endpoint.
3030
:param explanation_method: Optional, method to compute explanations. Valid values are 'SHAPLEY' or 'ICE'. If None, will use the value configured in the endpoint.
3131
:param n_explanations: Optional, number of explanations to output per prediction. If None, will use the value configured in the endpoint.
32-
:param n_explanations_mc_steps: Optional, precision parameter for SHAPLEY method, higher means more precise but slower (between 25 and 400).
32+
:param n_explanations_mc_steps: Optional, precision parameter for SHAPLEY method, higher means more precise but slower (between 25 and 1000).
3333
If None, will use the value configured in the endpoint.
3434
3535
:return: a Python dict of the API answer. The answer contains a "result" key (itself a dict)
@@ -65,7 +65,7 @@ def predict_records(self, endpoint_id, records, forced_generation=None, dispatch
6565
:param with_explanations: Optional, whether individual explanations should be computed for each record. The prediction endpoint must be compatible. If None, will use the value configured in the endpoint.
6666
:param explanation_method: Optional, method to compute explanations. Valid values are 'SHAPLEY' or 'ICE'. If None, will use the value configured in the endpoint.
6767
:param n_explanations: Optional, number of explanations to output per prediction. If None, will use the value configured in the endpoint.
68-
:param n_explanations_mc_steps: Optional, precision parameter for SHAPLEY method, higher means more precise but slower (between 25 and 400).
68+
:param n_explanations_mc_steps: Optional, precision parameter for SHAPLEY method, higher means more precise but slower (between 25 and 1000).
6969
If None, will use the value configured in the endpoint.
7070
7171
:return: a Python dict of the API answer. The answer contains a "results" key (which is an array of result objects)

0 commit comments

Comments
 (0)