Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Some extra pointers to choosing good rise parameters.
  • Loading branch information
cwmeijer authored May 16, 2024
1 parent b3518ec commit 84abb30
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tutorials/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,11 @@ Also the main conclusions (๐Ÿ Š) from the thesis (on images and text) about the
| $p_{keep}$ | **optimized** (*i*, *txt*), **$0.5$** (*ts*) | $0.1$| $0.1$ | default | $0.1$| $0.1$|
| $n_{features}$ |**$8$** | $6$ |default | default | default | $16$ |

๐Ÿ Š The most crucial parameter is $p_{keep}$. Lower values of $p_{keep}$ lead to more sentitive explanations (observed for both images and text).
๐Ÿ Š The most crucial parameter is $p_{keep}$. Lower values of $p_{keep}$ lead to more sentitive explanations (observed for both images and text). Easier classificication tasks usually require a lower $p_keep$ as this will cause more perturbation in the input and therefore a more distinct signal in the model predictions.

๐Ÿ Š The feature resolution $n_{features}$ exhibited an optimum at a value of $6$.
๐Ÿ Š The feature resolution $n_{features}$ exhibited an optimum at a value of $6$. Higher values can offer a finer grained result but require (far) more $n_masks$. This is also dependent on the scale of the phenomena in the input data that we want to take into account in the explanation.

๐Ÿ Š Larger $n_masks$ results in more consistent results at the cost of computation time. If 2 identical runs yield (very) different results, the results are likely mostly noise and a higher value for $n_masks$ should be used.

#### LIME
| Hyperparameter | Default value | <img width="20" alt="LeafSnap30 Logo" src="https://user-images.githubusercontent.com/3244249/151539100-dbdfe0f8-485f-45d4-a249-a1f79e970066.png"> (*i*) |<img width="25" alt="Weather Logo" src="https://github.com/dianna-ai/dianna/assets/3244249/3ff3d639-ed2f-4a38-b7ac-957c984bce9f"> (*ts*)| <img width="25" alt="Coffe Logo" src="https://github.com/dianna-ai/dianna/assets/3244249/9ab50a0f-5da3-41d2-80e9-70d2c8769162">(*ts*)|
Expand Down

0 comments on commit 84abb30

Please sign in to comment.