# Prediction Explanation

Prediction Explanation service is designed to help Hydrosphere users understand the underlying causes of changes in predictions coming from their models.

![Tabular Explanation for class 0](https://940363121-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MESaD8WY3ggQLtBByXl%2Fsync%2F68c42d37a230762411dbac39494433a9ec16c1ed.png?generation=1603095669461049\&alt=media)

Prediction Explanation generates explanations of predictions produced by your models and tells you why a model made a particular prediction. Depending on the type of data your model uses, Prediction Explanation provides an explanation as either a set of logical predicates (if your data is in a tabular format) or a saliency map (if your data is in the image format). A saliency map is a heat map that highlights parts of a picture that a prediction was based on.

![Saliency map calculated by RISE.](https://940363121-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MESaD8WY3ggQLtBByXl%2Fsync%2Fdd5637d75dc8a194dfe0e5cea9b3fc115b2a2af6.png?generation=1603095669392694\&alt=media)

Hydrosphere uses [model-agnostic](https://christophm.github.io/interpretable-ml-book/taxonomy-of-interpretability-methods.html) methods for explaining your model predictions. Such methods can be used on any machine learning model after they've been uploaded to the platform.

As of now, Hydrosphere supports explaining tabular and image data with [Anchor](https://github.com/marcotcr/anchor) and [RISE](https://github.com/eclique/RISE) tools correspondingly.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hydrosphere.io/release-2.4.1/about/hydrosphere-features/root-cause.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
