Amazon SageMaker
Developer Guide

PCA Response Formats

JSON

Accept—application/json

{ "projections": [ { "projection": [1.0, 2.0, 3.0, 4.0, 5.0] }, { "projection": [6.0, 7.0, 8.0, 9.0, 0.0] }, .... ] }

JSONLINES

Accept—application/jsonlines

{ "projection": [1.0, 2.0, 3.0, 4.0, 5.0] } { "projection": [6.0, 7.0, 8.0, 9.0, 0.0] }

RECORDIO

Accept—application/x-recordio-protobuf

[ Record = { features = {}, label = { 'projection': { keys: [], values: [1.0, 2.0, 3.0, 4.0, 5.0] } } }, Record = { features = {}, label = { 'projection': { keys: [], values: [1.0, 2.0, 3.0, 4.0, 5.0] } } } ]

On this page: