Skip to content

Commit cead053

Browse files
committed
bug fix xai nan
1 parent 52e7ccf commit cead053

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/spotpython/fun/xai_hyperlight.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ def fun(self, X: np.ndarray, fun_control: dict = None) -> np.ndarray:
142142
"""
143143
z_res = np.array([], dtype=float)
144144
xai_res = np.array([], dtype=float)
145+
xai_attr = np.nan
145146
self.check_X_shape(X=X, fun_control=fun_control)
146147
var_dict = assign_values(X, get_var_name(fun_control))
147148
# type information and transformations are considered in generate_one_config_from_var_dict:

0 commit comments

Comments
 (0)