classificationprediction型
分類器からの予測。
データ表現
外部
内部
詳細
# マルチクラス分類の場合
{
"image": {"height": 128, "width": 256},
"predictions": [{"class_name": "A", "class_id": 0, "confidence": 0.3}],
"top": "A",
"confidence": 0.3,
"parent_id": "some",
"prediction_type": "分類",
"inference_id": "some",
"root_parent_id": "some",
}
# マルチラベル分類の場合
{
"image": {"height": 128, "width": 256},
"predictions": {
"a": {"confidence": 0.3, "class_id": 0},
"b": {"confidence": 0.3, "class_id": 1},
}
"predicted_classes": ["a", "b"],
"parent_id": "some",
"prediction_type": "分類",
"inference_id": "some",
"root_parent_id": "some",
}最終更新
役に立ちましたか?