# 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](https://docs.shimoku.com/dev/artificial-intelligence/classification/train-classification/train-classification-outputs), 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="https://3782181538-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUlHTfmIZY46Z1EDfyGMz%2Fuploads%2FWIAn5tGU5vw7fjZ1YfAh%2Fdf_insights_pd.png?alt=media&#x26;token=ec14adb8-bca9-4c37-ab0d-6e8fb475c733" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3782181538-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUlHTfmIZY46Z1EDfyGMz%2Fuploads%2FRc8OUtnmJ0uDQpPgUOXC%2Fimage.png?alt=media&#x26;token=68f6eda0-f9c9-43b6-8655-97b967f66765" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3782181538-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUlHTfmIZY46Z1EDfyGMz%2Fuploads%2F7dYxi8kVIgs5XsfNaWer%2Fimage.png?alt=media&#x26;token=a8d87d4c-0d58-4b56-b2b8-ac1ed38f38ee" 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="https://3782181538-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUlHTfmIZY46Z1EDfyGMz%2Fuploads%2FrxuEz4Yv61ymLtAwisG6%2Fimage.png?alt=media&#x26;token=456a8cc3-9340-49c6-aac6-03d803a2ebaf" 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="https://3782181538-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUlHTfmIZY46Z1EDfyGMz%2Fuploads%2FnpHGFVrKBu8jkOqrYLmI%2Fimage.png?alt=media&#x26;token=5d6cf94a-23ae-4be3-b846-38daaf0ba847" alt=""><figcaption></figcaption></figure>
