GoogleCloudPlatform / marketing-analytics-jumpstart

Marketing Analytics Jumpstart consists of an easy, extensible and automated implementation of an end-to-end solution that enables Marketing Technology teams to store, transform, enrich with 1PD and analyze marketing data, and programmatically send predictive events to Google Analytics 4 to support conversion optimization and remarketing campaigns.
Apache License 2.0
102 stars 35 forks source link

Auto Audience Segmentation Training Fails #170

Open chmstimoteo opened 1 month ago

chmstimoteo commented 1 month ago

The Auto Audience Segmentation Training fails and raises: ValueError: Number of labels is 1. Valid values are 2 to n_samples - 1 (inclusive)

image

Cause: This is due to the lack of variety of user navigation in your website. More precisely, run this query a check the number of rows returned.

SELECT DISTINCT
  * EXCEPT(user_pseudo_id, user_id, feature_timestamp)
FROM
  `auto_audience_segmentation.v_auto_audience_segmentation_training_15` ;