# blended_avg¶

• Available in Data Preparation for Target Encoding

## Description¶

The blended_avg parameter defines whether the target average should be weighted based on the count of the group. It is often the case, that some groups may have a small number of records and the target average will be unreliable. To prevent this, the blended average takes a weighted average of the group’s target value and the global target value.

## Example¶

Refer to the Target Encoding data munging topic to view a detailed example.