Skip to content

Commit a79da04

Browse files
authored
fix typo in tutorial.rst (#193)
1 parent 714040b commit a79da04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/tutorial.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ argument, indicating what function we are trying to explain:
4242
:lineno-start: 7
4343
4444
from trustyai.model import Model
45-
model = Model(predict_fun=linear_model)
45+
model = Model(fn=linear_model)
4646
4747
Finally, we'll establish the data point we are explaining by using the the input and output of our
4848
model, which is what TrustyAI uses to produce explanations:
@@ -82,7 +82,7 @@ Now we can produce and display the explanations:
8282
:lineno-start: 17
8383
8484
lime_explanation = lime_explainer.explain(
85-
inputs = model_input
85+
inputs = model_input,
8686
outputs = model_output,
8787
model = model)
8888
print(lime_explanation.as_dataframe())

0 commit comments

Comments
 (0)