# Generate Insights Outputs

Depending on the requested task, you will have access to the corresponding output file.

## 1. generic\_insight

**insights:** String that contains a series of bullet points indicating descriptive or statistical information about the introduced table.

```
- Customer Lifetime Value ranges considerably with a maximum of over \$83,000, pointing to high variability in customer value for the company.
- Most customers are located in California, as it is the top state with 3,150 references within the dataset.
- There's a prevalence of the basic coverage option chosen by customers, suggested by its highest frequency.
- Income's median is approximately \$34,000 which indicates that the average customer earns at this level; however, incomes range up to nearly \$100,000.
- Monthly Premium Auto has a median value of \$83, signifying that the typical customer's monthly insurance premium is at this level.
- The dataset shows that the majority of customers are employed which could imply stability in the customer base.
- Data about marital status reveal that the counts are not uniform, suggesting varying insurance needs or preferences by marital status.
- A significant portion of customers have not filed any complaints (the most common number of complaints is zero), hinting at customer satisfaction or non-use of complaint services.
- Only a few customers have more than one policy, as indicated by a median of two policies per customer.
- Total Claim Amount distribution is skewed with a mean higher than the median value, reflecting the presence of much larger claims skewing the average.
- Churn column exists indicating whether a customer has left or not with a binary value but a detailed proportion analysis wasn't provided.
```

## 2. partial\_dependence

**df\_pdp\_insights:** Dataframe with a format analogous to **df\_pdp.csv** in [Train Classification Outputs](/dev/artificial-intelligence/classification/train-classification/train-classification-outputs.md), where an insights column has been added explaining how the average probability of conversion to the given class behaves as each input feature varies.

<figure><img src="/files/j0yJnBDeQt9shpBZon06" alt=""><figcaption></figcaption></figure>

Note that the first line in df\_pdp\_insights above, explains the data below from df\_pdp:

<figure><img src="/files/B9s7cynosE3cilXVjrUK" alt=""><figcaption></figcaption></figure>

The second row in df\_pdp\_insights, explains the following block of data from df\_pdp:

<figure><img src="/files/QB01d34ndLbzkM3WXIj8" alt=""><figcaption></figcaption></figure>

And so on. Each row from df\_pdp\_insights corresponds to a block of data from df\_pdp, for a specific column\_target, class and name\_feature.

## 3. drivers\_barriers

**df\_db\_insights:** Dataframe with a format similar to **df\_db.csv**, where the level of contribution of the input features to the target column taking a certain value is described in text format.

<figure><img src="/files/ipqbjcYiVhogbHBymLuD" alt=""><figcaption></figcaption></figure>

Each row from df\_db\_inisghts above corresponds to a row in df\_db.csv, and explains the top drivers and barriers in text format.

<figure><img src="/files/LERkW8pO3jkwxbz3wOrF" alt=""><figcaption></figcaption></figure>


---

# 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.shimoku.com/dev/artificial-intelligence/generate-insights/generate-insights-outputs.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.
