Generate Customer Segmentation Profile (Business Analyst)

获得 Business Analyst 许可后可用。

摘要

Creates a segmentation profile with an existing customer layer.

使用情况

  • The Customer Layer parameter value must be a point feature class.

  • A customer profile is a summary of segments that have been assigned to a point.

  • Each point is assigned to a standard geography that contain households or population counts for each segment, depending on the segmentation system you are using.

  • Each geography can contain households or population belonging to one or more segments. As a result, each point can be assigned to more than one segment.

  • The segment count for each point is based on the number of segments and count for each point. If there is a single segment, the count will be one for each point. However, if there are multiple segments, the count for each segment will be proportionally calculated.

参数

标注说明数据类型
Customer Layer

The input point feature class that represents existing customers.

Feature Layer
Segmentation Base

The segmentation base for the profile being created. Available options are provided by the segmentation dataset in use.

String
Output Profile

The name of the segmentation profile file to be created.

File
Volume Info Field
(可选)

The field containing volume information from which the profile can optionally be created. For example, you can create a profile using the sales for each customer.

Field

arcpy.ba.GenerateCustomerProfile(in_customers_layer, in_segmentation_base, out_profile, {in_volume_field})
名称说明数据类型
in_customers_layer

The input point feature class that represents existing customers.

Feature Layer
in_segmentation_base

The segmentation base for the profile being created. Available options are provided by the segmentation dataset in use.

String
out_profile

The name of the segmentation profile file to be created.

File
in_volume_field
(可选)

The field containing volume information from which the profile can optionally be created. For example, you can create a profile using the sales for each customer.

Field

代码示例

GenerateCustomerProfile example (Python window)

The following Python window script demonstrates how to use the GenerateCustomerProfile tool.

import arcpy
arcpy.ba.GenerateCustomerProfile(r"C:\Project1.gdb\Customers", "Total Adult Population", "\Documents\ArcGIS\Projects\Project1.gdb\CustomerSegmentation")

许可信息

  • Basic: 需要 Business Analyst
  • Standard: 需要 Business Analyst
  • Advanced: 需要 Business Analyst

相关主题