We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 714040b commit a79da04Copy full SHA for a79da04
docs/tutorial.rst
@@ -42,7 +42,7 @@ argument, indicating what function we are trying to explain:
42
:lineno-start: 7
43
44
from trustyai.model import Model
45
- model = Model(predict_fun=linear_model)
+ model = Model(fn=linear_model)
46
47
Finally, we'll establish the data point we are explaining by using the the input and output of our
48
model, which is what TrustyAI uses to produce explanations:
@@ -82,7 +82,7 @@ Now we can produce and display the explanations:
82
:lineno-start: 17
83
84
lime_explanation = lime_explainer.explain(
85
- inputs = model_input
+ inputs = model_input,
86
outputs = model_output,
87
model = model)
88
print(lime_explanation.as_dataframe())
0 commit comments