Format Respons PCA - Amazon SageMaker

Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.

Format Respons PCA

Semua algoritme SageMaker bawaan Amazon mematuhi format inferensi input umum yang dijelaskan dalam Format Data Umum - Inferensi. Topik ini berisi daftar format output yang tersedia untuk algoritma SageMaker PCA.

Format Respons JSON

Terima — aplikasi/JSON

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

Format Respons JSONLINES

Terima — aplikasi/JSONLINES

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

Format Respons RECORDIO

Terima-aplikasi/ 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] } } } ]