Skip to content

Commit

Permalink
fix typo in tutorial.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
tarilabs authored Jan 13, 2024
1 parent 714040b commit 8bec482
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ argument, indicating what function we are trying to explain:
:lineno-start: 7
from trustyai.model import Model
model = Model(predict_fun=linear_model)
model = Model(fn=linear_model)
Finally, we'll establish the data point we are explaining by using the the input and output of our
model, which is what TrustyAI uses to produce explanations:
Expand Down Expand Up @@ -82,7 +82,7 @@ Now we can produce and display the explanations:
:lineno-start: 17
lime_explanation = lime_explainer.explain(
inputs = model_input
inputs = model_input,
outputs = model_output,
model = model)
print(lime_explanation.as_dataframe())
Expand Down

0 comments on commit 8bec482

Please sign in to comment.