

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

# 배치 세그먼트 작업 출력 형식 예제
<a name="batch-segment-job-output-examples"></a>

배치 세그먼트 작업은 S3 버킷에서 배치 입력 데이터를 가져오고, USER\$1SEGMENTATION 레시피로 학습된 솔루션 버전을 사용하여 사용자 세그먼트를 생성하고, 세그먼트를 S3 버킷으로 내보냅니다.**

다음 섹션에는 배치 세그먼트 작업에 대한 JSON 출력 예제가 레시피별로 나열되어 있습니다.

**Topics**
+ [항목-친화도](#batch-segment-output-item-affinity)
+ [항목-속성-친화도](#batch-segment-output-item-attribute-affinity)

## 항목-친화도
<a name="batch-segment-output-item-affinity"></a>

 다음 예제는 항목-친화도 레시피의 출력 JSON 파일 형식을 보여줍니다.

```
{"input": {"itemId": "105"}, "output": {"recommendedUsers": ["106", "107", "49"]}}
{"input": {"itemId": "106"}, "output": {"recommendedUsers": ["105", "107", "49"]}}
{"input": {"itemId": "441"}, "output": {"recommendedUsers": ["2", "442", "435"]}}
...
```

## 항목-속성-친화도
<a name="batch-segment-output-item-attribute-affinity"></a>

 다음 예제는 항목-속성-친화도 레시피의 출력 JSON 파일 형식을 보여줍니다.

```
{"itemAttributes": "ITEMS.genres = \"Comedy\" AND ITEMS.genres = \"Action\"", "output": {"recommendedUsers": ["25", "78", "108"]}}
{"itemAttributes": "ITEMS.genres = \"Adventure\"", "output": {"recommendedUsers": ["87", "31", "129"]}}
{"itemAttributes": "ITEMS.genres = \"Horror\" AND ITEMS.genres = \"Action\"", "output": {"recommendedUsers": ["8", "442", "435"]}}
...
```