NTM-Antwortformate
Alle in Amazon SageMaker AI integrierten Algorithmen entsprechen dem unter Gängige Datenformate – Inferenz beschriebenen gängigen Eingabeformat für Inferenz. Dieses Thema enthält eine Liste der verfügbaren Ausgabeformate für den NTM-Algorithmus von SageMaker AI.
JSON-Antwortformat
{ "predictions": [ {"topic_weights": [0.02, 0.1, 0,...]}, {"topic_weights": [0.25, 0.067, 0,...]} ] }
JSONLINES-Antwortformat
{"topic_weights": [0.02, 0.1, 0,...]} {"topic_weights": [0.25, 0.067, 0,...]}
RECORDIO-Antwortformat
[ Record = { features = {}, label = { 'topic_weights': { keys: [], values: [0.25, 0.067, 0, ...] # float32 } } }, Record = { features = {}, label = { 'topic_weights': { keys: [], values: [0.25, 0.067, 0, ...] # float32 } } } ]