सामग्री पर जाएं
For the complete documentation index, see llms.txt. This page is also available as Markdown.

प्रशिक्षित मॉडलों का मूल्यांकन करें

यह जानने के लिए Model Evaluation का उपयोग करें कि आपका मॉडल आपके टेस्ट डेटासेट पर कैसा प्रदर्शन करता है।

के बारे में

मॉडल मूल्यांकन दिखाते हैं:

  1. एक प्रोडक्शन मेट्रिक्स एक्सप्लोरर, जो आपको वह सर्वोत्तम कॉन्फिडेंस थ्रेशोल्ड खोजने में मदद करता है जिस पर आप अपना मॉडल चला सकें;

  2. मॉडल सुधार अनुशंसाएँ, जो आपके मॉडल की सटीकता बढ़ाने के लिए सुझाव देती हैं;

  3. क्लास के अनुसार प्रदर्शन, जो दिखाता है कि आपका मॉडल विभिन्न क्लासों की पहचान कितनी अच्छी तरह करता है;

  4. एक कन्फ्यूजन मैट्रिक्स, जिसका उपयोग आप उन विशिष्ट क्लासों को खोजने के लिए कर सकते हैं जिनमें आपका मॉडल अच्छा करता है और जिनमें उसे कठिनाई होती है, और;

  5. एक इंटरैक्टिव वेक्टर एक्सप्लोरर, जो आपको उन इमेजों के क्लस्टर पहचानने देता है जहाँ आपका मॉडल अच्छा या खराब प्रदर्शन करता है;

आप अपने मॉडल के सुधार के क्षेत्रों की पहचान करने के लिए मॉडल मूल्यांकन का उपयोग कर सकते हैं।

पेड उपयोगकर्ताओं द्वारा Roboflow पर प्रशिक्षित किए गए या अपलोड किए गए सभी वर्ज़नयुक्त मॉडलों के लिए मॉडल मूल्यांकन स्वचालित रूप से चलाए जाते हैं। कुछ सौ इमेजों वाले डेटासेट के लिए मूल्यांकन चलने में कई मिनट लग सकते हैं, और हज़ारों या उससे अधिक इमेजों वाले बड़े डेटासेट के लिए कई घंटे लग सकते हैं।

कन्फ्यूजन मैट्रिक्स आपके प्रशिक्षित मॉडल को आपके टेस्ट और वैलिडेशन सेट की इमेजों पर चलाता है और उसकी भविष्यवाणियों की आपके एनोटेशनों (ग्राउंड ट्रुथ) से तुलना करता है। यह सही भविष्यवाणियाँ, फॉल्स पॉज़िटिव (गलत क्लास, या ऐसा ऑब्जेक्ट जो मौजूद नहीं है), और फॉल्स नेगेटिव दिखाता है। अनुशंसाएँ इसी पर आधारित होती हैं। इनमें वे मॉडल शामिल हैं जिनमें बहुत अधिक फॉल्स नेगेटिव या फॉल्स पॉज़िटिव होते हैं, वे क्लासें जो अक्सर भ्रमित होती हैं, वे क्लासें जिन्हें अधिक डेटा की आवश्यकता होती है, और ऐसे टेस्ट या वैलिडेशन सेट जो बहुत छोटे हो सकते हैं।

उत्तम कॉन्फिडेंस

प्रोडक्शन मेट्रिक्स एक्सप्लोरर हर कॉन्फिडेंस थ्रेशोल्ड पर प्रिसिजन, रिकॉल, और F1 की गणना करता है और एक सर्वोत्तम कॉन्फिडेंस की अनुशंसा करता है: वह थ्रेशोल्ड जिसमें सबसे अच्छा संतुलन हो। मूल्यांकन पूरा होने के बाद, वही थ्रेशोल्ड आपके मॉडल के इन्फ़रेंस अनुरोधों के लिए डिफ़ॉल्ट बन जाता है। यदि प्रति-क्लास थ्रेशोल्ड उपलब्ध हों, तो वे भी लागू होते हैं, और किसी भी ऐसी क्लास के लिए जिसका अपना मान नहीं है, वैश्विक थ्रेशोल्ड फ़ॉलबैक के रूप में उपयोग होता है। किसी अनुरोध पर इसे ओवरराइड करने के लिए, confidence पैरामीटर पास करें।

मध्यिका विलंबता

मूल्यांकन उस औसत समय को दिखाता है जो Serverless Cloud API को एक अनुरोध का उत्तर देने में लगता है, जिसे आपकी टेस्ट इमेजों पर मापा गया है। इस मान में प्रीप्रोसेसिंग और पोस्टप्रोसेसिंग समय शामिल है। इसमें नेटवर्क समय शामिल नहीं है। आपकी मॉडल सूचियाँ और मॉडल कार्ड्स वही मान "Latency (Cloud API)" के रूप में दिखाते हैं। एक से प्राप्त विलंबता न्यूरल आर्किटेक्चर सर्च बेंचमार्क को अलग तरीके से मापा जाता है, इसलिए दोनों की तुलना न करें।

यदि आपकी टेस्ट इमेजों में मॉडल इनपुट से कम से कम दोगुने पिक्सल हैं, तो मूल्यांकन कैप्चर रिज़ॉल्यूशन के बारे में एक अनुशंसा जोड़ता है। सर्वर मॉडल चलाने से पहले हर इमेज को डिकोड और रिसाइज़ करता है, इसलिए जिन फ्रेम्स की लंबी साइड मॉडल इनपुट के करीब होती है वे तेज़ी से उत्तर देते हैं।

का उपयोग करें मॉडल तुलना एक ही Dataset Version पर मॉडलों के लिए टेस्ट-सेट सटीकता और विलंबता की तुलना करने के लिए।

इन्फ़रेंस के लिए ऑप्टिमाइज़ करना

प्रशिक्षण के बाद, Roboflow आपके मॉडल को उस पैकेज में कंपाइल करता है जिसे Serverless Cloud API सर्व करता है। यह चलने के दौरान मॉडल "इन्फ़रेंस के लिए ऑप्टिमाइज़ हो रहा है" दिखाता है, और मूल्यांकन इसके समाप्त होने का इंतज़ार करता है। इस तरह मूल्यांकन उसी पैकेज को मापता है जो आपके इन्फ़रेंस अनुरोधों को सर्व करता है। कंपाइल करने में आमतौर पर कुछ मिनट अतिरिक्त लगते हैं। यदि यह विफल हो जाता है, या 24 घंटे से अधिक समय लेता है, तो मूल्यांकन फिर भी शुरू हो जाता है।

समर्थित प्रोजेक्ट प्रकार

मॉडल मूल्यांकन Object Detection, Instance Segmentation, Keypoint Detection, Classification, और Semantic Segmentation प्रोजेक्ट्स का समर्थन करता है।

Keypoint Detection के लिए, mAP पूर्वानुमानित keypoints को लेबल किए गए keypoints से मिलाने के लिए Object Keypoint Similarity (OKS) का उपयोग करता है। मूल्यांकन इमेज व्यूअर अनुमानित keypoints दिखाता है, लेकिन लेबल किए गए keypoints नहीं।

Semantic Segmentation के लिए, मुख्य मेट्रिक mAP के बजाय mIoU (mean Intersection-over-Union) है। सभी मेट्रिक्स (precision, recall, F1) प्रति-इंस्टेंस के बजाय पिक्सेल स्तर पर गणना किए जाते हैं। प्रति-क्लास विवरण प्रत्येक क्लास के लिए IoU, precision, recall, F1, और एक सर्वोत्तम कॉन्फिडेंस थ्रेशोल्ड दिखाता है। कन्फ्यूजन मैट्रिक्स मान ऑब्जेक्ट गिनती के बजाय पिक्सेल गिनती दर्शाते हैं।

सेगमेंटेशन मॉडलों के नए मूल्यांकन boundary metrics भी रिपोर्ट करते हैं। Boundary IoU हर मास्क किनारे के साथ संकरी पट्टियों की तुलना करता है, इसलिए यह किनारे की त्रुटियाँ दिखाता है जिन्हें mask IoU छिपा सकता है। Instance Segmentation "Show Detailed Metrics" के अंतर्गत "Mean Boundary Average Precision" चार्ट दिखाता है। Semantic Segmentation mIoU के साथ mBIoU दिखाता है, और प्रति-क्लास तालिका में "Boundary IoU" कॉलम होता है।

वेब ऐप

अपने प्रोजेक्ट में "Models" खोलें, एक प्रशिक्षित मॉडल चुनें, और "View Full Model Evaluation" पर क्लिक करें।

प्रोडक्शन मेट्रिक्स एक्सप्लोरर में, किसी भी कॉन्फिडेंस थ्रेशोल्ड पर precision, recall, और F1 देखने के लिए स्लाइडर खींचें।

मॉडल सुधार अनुशंसाएँ बताती हैं कि सटीकता बढ़ाने के लिए क्या बदलना है।

प्रदर्शन बाय क्लास चार्ट हर क्लास के लिए सही भविष्यवाणियाँ, गलत वर्गीकरण, फॉल्स नेगेटिव, और फॉल्स पॉज़िटिव गिनता है। विशिष्ट क्लासों पर ध्यान केंद्रित करने के लिए "All Classes" ड्रॉपडाउन का उपयोग करें।

कन्फ्यूजन मैट्रिक्स में, किसी सेल पर क्लिक करके उसमें मौजूद इमेजें देखें (उदा.: "False Positive" कॉलम में एक सेल उन इमेजों को दिखाता है जहाँ मॉडल ने ऐसा ऑब्जेक्ट पाया जो आपके एनोटेशनों में नहीं है)। किसी इमेज पर क्लिक करें, फिर अपने एनोटेशनों की तुलना मॉडल के आउटपुट से करने के लिए "Ground Truth" और "Model Predictions" के बीच स्विच करें।

"Vector Analysis" आपकी टेस्ट इमेजों को दृश्य समानता के आधार पर प्लॉट करता है और प्रत्येक को उसके F1 स्कोर के अनुसार रंग देता है। किसी बिंदु, किसी क्षेत्र, या "Identified Clusters" में से किसी एक पर क्लिक करें ताकि आप वे इमेजें देख सकें, और समान इमेजों के उन समूहों को खोज सकें जहाँ मॉडल संघर्ष करता है।

स्कैटर प्लॉट पर हाइलाइट किए गए दो इमेजों के चुने गए क्लस्टर के साथ Vector Analysis, जिन्हें सबसे खराब F1 के अनुसार सूचीबद्ध किया गया है

क्लास चार्ट और कन्फ्यूजन मैट्रिक्स सर्वोत्तम कॉन्फिडेंस से शुरू होते हैं। परिणाम, precision, और recall कैसे बदलते हैं यह देखने के लिए उनके "Confidence Threshold" स्लाइडर को हिलाएँ।

"Improve My Model" पर क्लिक करके एक खोलें Roboflow Agent इस मूल्यांकन के बारे में चैट करें। Agent मॉडल के विफल होने वाली इमेजें उनके लेबल्स के साथ दिखाता है और आपके डेटा या प्रशिक्षण में बदलाव सुझाता है। यह संभावित लेबल त्रुटियों वाली इमेजों को एक समीक्षा जॉब में रखता है, ताकि आप लेबलों की जाँच और सुधार कर सकें। वह आपकी टीममेट की जॉब से इमेजें हटाने से पहले आपसे पूछता है।

HTTP API

Model Evaluations API वह सब कुछ लौटाती है जो ऐप में evaluation पेज दिखाता है। हर पैनल का अपना endpoint होता है। Roboflow प्रशिक्षण समाप्त होने पर एक evaluation चलाता है, और आप ऐप से उसे फिर से चला सकते हैं। हर endpoint को एक API key की आवश्यकता होती है जिसमें model-eval:read स्कोप हो।

से शुरू करें List Model Evaluations ताकि एक खोज सकें evalIdफिर पोल करें Get a Model Evaluation जब तक status है done. तब तक पैनल endpoints लौटाते हैं 409 । हर पैनल प्रतिक्रिया दोहराती है evalId, project, versionIdऔर modelIdताकि आप ऐप में evaluation का लिंक यहाँ दे सकें https://app.roboflow.com/{workspace}/{project}/evaluation/{versionId}.

एक वर्ज़न पर कई मॉडलों की तुलना करने के लिए, देखें Compare Trained Models.

List Model Evaluations

हर evaluation के लिए metrics के बिना एक संक्षिप्त रिकॉर्ड लौटाता है। इनमें से किसी एक के आधार पर फ़िल्टर करें project, versionया model; एक से अधिक भेजने पर लौटता है 400. किसी evaluation को उसके मॉडल से मिलाने के लिए, तुलना करें modelId उस model ID के साथ जिसका उपयोग आप इन्फ़रेंस के लिए करते हैं।

List model evaluations

get

Lists the model evaluations in a workspace, newest first. Filter by one of project, version, or model per request. Requires model-eval:read.

Authorizations
AuthorizationstringRequired

Roboflow API key or OAuth access token.

Path parameters
workspacestringRequired

Workspace URL slug.

Query parameters
projectstringOptional

Project URL slug. An unknown slug returns an empty list.

Example: chess-pieces-fmhpz
versionstringOptional

Dataset version number. Alias: versionId.

Example: 4
modelstringOptional

Model ID, with or without the workspace prefix. Alias: modelId. An unknown ID returns an empty list.

Example: my-workspace/chess-pieces-fmhpz-4-rfdetr-small-t1
statusstring · enumOptional

Return only evaluations with this status.

Example: donePossible values:
limitinteger · min: 1 · max: 200Optional

Page size. Values above 200 are lowered to 200.

Default: 50
Responses
200

Successful response.

application/json
get/{workspace}/model-evals
GET /{workspace}/model-evals HTTP/1.1
Host: api.roboflow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "evals": [
    {
      "evalId": "huUF720inUcymARwqAGK",
      "project": "chess-pieces-fmhpz",
      "versionId": "4",
      "modelId": "my-workspace/chess-pieces-fmhpz-4-rfdetr-small-t1",
      "status": "done",
      "createdAt": "2026-04-27T20:04:10.904Z",
      "medianLatencyMs": 11.9
    }
  ]
}

Get a Model Evaluation

एक evaluation लौटाता है। एक बार status है doneके बाद, प्रतिक्रिया जोड़ती है summary मुख्य मेट्रिक्स के साथ: mAP डिटेक्शन कार्यों के लिए, mIoU सेमांटिक सेगमेंटेशन के लिए।

Get a model evaluation

get

Returns one evaluation. When status is done, the response adds summary with the headline test-split metrics. Poll this endpoint until status is done before you call the other evaluation endpoints. Requires model-eval:read.

Authorizations
AuthorizationstringRequired

Roboflow API key or OAuth access token.

Path parameters
workspacestringRequired

Workspace URL slug.

evaluationIdstringRequired

Model evaluation ID.

Example: huUF720inUcymARwqAGK
Responses
200

Successful response.

application/json
evalIdstringOptional

Model evaluation ID.

projectstring · nullableOptional

Project URL slug. null if the project was deleted.

versionIdstring · nullableOptional

Dataset version number.

modelIdstring · nullableOptional

Model ID ({workspace}/{model-slug}), the same ID the models and inference endpoints use. {project}/{version} for an evaluation that ran on a version instead of one model. null if the model can no longer be found.

statusstring · enumOptional

pending while the model compiles for inference, running once the evaluation job starts, then done or failed.

Possible values:
createdAtstring · nullableOptional
get/{workspace}/model-evals/{evaluationId}
GET /{workspace}/model-evals/{evaluationId} HTTP/1.1
Host: api.roboflow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "evalId": "huUF720inUcymARwqAGK",
  "project": "chess-pieces-fmhpz",
  "versionId": "4",
  "modelId": "my-workspace/chess-pieces-fmhpz-4-rfdetr-small-t1",
  "status": "done",
  "createdAt": "2026-04-27T20:04:10.904Z",
  "summary": {
    "mAP": 0.924,
    "mIoU": null,
    "precision": 0.85,
    "recall": 0.85,
    "medianLatencyMs": 11.9
  }
}

mAP परिणाम प्राप्त करें

हर split के लिए मुख्य मेट्रिक्स लौटाता है, जैसा कि metrics per split पैनल में दिखाया गया है। पहले taskType पढ़ें: यह आपको बताता है कि splits में mAP फ़ील्ड हैं या mIoU और pixel-level फ़ील्ड।

Get mAP results

get

Returns the main accuracy metrics for each split. Check taskType before you read the splits: detection splits have mAP by object size and class, semantic segmentation splits have mIoU and pixel-level metrics by class. Requires model-eval:read.

Authorizations
AuthorizationstringRequired

Roboflow API key or OAuth access token.

Path parameters
workspacestringRequired

Workspace URL slug.

evaluationIdstringRequired

Model evaluation ID.

Example: huUF720inUcymARwqAGK
Responses
200

Successful response.

application/json
evalIdstringOptional

Model evaluation ID.

projectstring · nullableOptional

Project URL slug. null if the project was deleted.

versionIdstring · nullableOptional

Dataset version number.

modelIdstring · nullableOptional

Model ID ({workspace}/{model-slug}), the same ID the models and inference endpoints use. {project}/{version} for an evaluation that ran on a version instead of one model. null if the model can no longer be found.

taskTypestring · enumOptional

Which shape each split has. object-detection-like splits carry mAP fields. semantic-segmentation and action-recognition splits carry mIoU and pixel (or timeline) metrics. anomaly-detection splits carry auroc, averagePrecision, precision, recall, f1, falsePositiveRate, and threshold.

Possible values:
get/{workspace}/model-evals/{evaluationId}/map-results
GET /{workspace}/model-evals/{evaluationId}/map-results HTTP/1.1
Host: api.roboflow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "evalId": "huUF720inUcymARwqAGK",
  "project": "chess-pieces-fmhpz",
  "versionId": "4",
  "modelId": "my-workspace/chess-pieces-fmhpz-4-rfdetr-small-t1",
  "taskType": "object-detection-like",
  "splits": {
    "test": {
      "map50": 0.924,
      "map50_95": 0.756,
      "map75": 0.924,
      "byObjectSize": {
        "small": {
          "map50": 0.904,
          "map50_95": 0.648,
          "map75": 0.904
        },
        "medium": {
          "map50": 0.991,
          "map50_95": 0.857,
          "map75": 0.991
        },
        "large": null
      },
      "perClass": {
        "Car-rims": {
          "map50": 0.924,
          "map50_95": 0.756,
          "map75": 0.924,
          "byObjectSize": {
            "small": {
              "map50": 0.9,
              "map50_95": 0.65,
              "map75": 0.85
            },
            "medium": {
              "map50": 0.99,
              "map50_95": 0.85,
              "map75": 0.99
            },
            "large": null
          }
        }
      }
    }
  }
}

कॉन्फिडेंस स्वीप प्राप्त करें

प्रोडक्शन मेट्रिक्स एक्सप्लोरर के पीछे की curves लौटाता है: हर confidence threshold पर precision, recall, और F1, तथा सबसे अच्छे F1 वाला threshold। इसका उपयोग उस confidence threshold को चुनने के लिए करें जिसके साथ deploy करना है।

Get a confidence sweep

get

Returns precision, recall, and F1 at each confidence threshold, with the F1-optimal threshold, for each split and class. Use it to pick a confidence threshold for deployment. Requires model-eval:read.

Authorizations
AuthorizationstringRequired

Roboflow API key or OAuth access token.

Path parameters
workspacestringRequired

Workspace URL slug.

evaluationIdstringRequired

Model evaluation ID.

Example: huUF720inUcymARwqAGK
Responses
200

Successful response.

application/json
evalIdstringOptional

Model evaluation ID.

projectstring · nullableOptional

Project URL slug. null if the project was deleted.

versionIdstring · nullableOptional

Dataset version number.

modelIdstring · nullableOptional

Model ID ({workspace}/{model-slug}), the same ID the models and inference endpoints use. {project}/{version} for an evaluation that ran on a version instead of one model. null if the model can no longer be found.

get/{workspace}/model-evals/{evaluationId}/confidence-sweep
GET /{workspace}/model-evals/{evaluationId}/confidence-sweep HTTP/1.1
Host: api.roboflow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "evalId": "huUF720inUcymARwqAGK",
  "project": "chess-pieces-fmhpz",
  "versionId": "4",
  "modelId": "my-workspace/chess-pieces-fmhpz-4-rfdetr-small-t1",
  "splits": {
    "test": {
      "perThreshold": {
        "0.20": {
          "precision": 0.45,
          "recall": 0.92,
          "f1": 0.605
        },
        "0.37": {
          "precision": 0.85,
          "recall": 0.85,
          "f1": 0.85
        },
        "0.50": {
          "precision": 0.91,
          "recall": 0.78,
          "f1": 0.84
        }
      },
      "optimalThreshold": 0.37,
      "optimalMetrics": {
        "precision": 0.85,
        "recall": 0.85,
        "f1": 0.85
      },
      "perClass": {
        "Car-rims": {
          "perThreshold": {
            "0.37": {
              "precision": 0.85,
              "recall": 0.85,
              "f1": 0.85
            }
          },
          "optimalThreshold": 0.37,
          "optimalMetrics": {
            "precision": 0.85,
            "recall": 0.85,
            "f1": 0.85
          }
        }
      }
    }
  }
}

क्लास के अनुसार प्रदर्शन प्राप्त करें

एक split के लिए performance by class पैनल लौटाता है। हर class अपने स्वयं के सर्वोत्तम threshold पर precision, recall, और F1 रिपोर्ट करती है।

Get performance by class

get

Returns metrics for each class on one split. Requires model-eval:read.

Authorizations
AuthorizationstringRequired

Roboflow API key or OAuth access token.

Path parameters
workspacestringRequired

Workspace URL slug.

evaluationIdstringRequired

Model evaluation ID.

Example: huUF720inUcymARwqAGK
Query parameters
splitstring · enumOptional

Split to report. all is not accepted, because per-class metrics use a per-split threshold.

Default: testPossible values:
Responses
200

Successful response.

application/json
evalIdstringOptional

Model evaluation ID.

projectstring · nullableOptional

Project URL slug. null if the project was deleted.

versionIdstring · nullableOptional

Dataset version number.

modelIdstring · nullableOptional

Model ID ({workspace}/{model-slug}), the same ID the models and inference endpoints use. {project}/{version} for an evaluation that ran on a version instead of one model. null if the model can no longer be found.

taskTypestringOptional

object-detection-like, semantic-segmentation, or action-recognition. Says which fields each class has.

splitstringOptional
iouThresholdnumber · nullableOptional

IoU threshold used, when the evaluation reports one.

get/{workspace}/model-evals/{evaluationId}/performance-by-class
GET /{workspace}/model-evals/{evaluationId}/performance-by-class HTTP/1.1
Host: api.roboflow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "evalId": "huUF720inUcymARwqAGK",
  "project": "chess-pieces-fmhpz",
  "versionId": "4",
  "modelId": "my-workspace/chess-pieces-fmhpz-4-rfdetr-small-t1",
  "taskType": "object-detection-like",
  "split": "test",
  "iouThreshold": null,
  "classes": [
    {
      "className": "Car-rims",
      "map50": 0.924,
      "map50_95": 0.756,
      "map75": 0.924,
      "precision": 0.85,
      "recall": 0.85,
      "f1": 0.85,
      "optimalThreshold": 0.37
    },
    {
      "className": "music-note",
      "map50": null,
      "map50_95": null,
      "map75": null,
      "precision": 0,
      "recall": 0,
      "f1": 0,
      "optimalThreshold": 0.5
    }
  ]
}

एक कन्फ्यूजन मैट्रिक्स प्राप्त करें

कन्फ्यूजन मैट्रिक्स पैनल लौटाता है। हर confidence threshold एक अलग matrix देता है, इसलिए पास करें confidence ताकि उस threshold से मेल खाए जिसके साथ आप deploy करते हैं।

Get a confusion matrix

get

Returns the confusion matrix, built from the per-image results at one confidence threshold. Requires model-eval:read.

Authorizations
AuthorizationstringRequired

Roboflow API key or OAuth access token.

Path parameters
workspacestringRequired

Workspace URL slug.

evaluationIdstringRequired

Model evaluation ID.

Example: huUF720inUcymARwqAGK
Query parameters
splitstring · enumOptional

Split to count. all adds up every split.

Default: allPossible values:
confidenceinteger · max: 100Optional

Confidence threshold as an integer percentage from 0 to 100. Selects which saved report to read. Leave it out for the default report (usually 20). A threshold the evaluation did not save returns 400 invalid_confidence with the saved thresholds in available.

Example: 37
Responses
200

Successful response.

application/json
evalIdstringOptional

Model evaluation ID.

projectstring · nullableOptional

Project URL slug. null if the project was deleted.

versionIdstring · nullableOptional

Dataset version number.

modelIdstring · nullableOptional

Model ID ({workspace}/{model-slug}), the same ID the models and inference endpoints use. {project}/{version} for an evaluation that ran on a version instead of one model. null if the model can no longer be found.

splitstringOptional

Split the matrix covers. all adds up train, valid, and test.

confidenceThresholdnumber · nullableOptional

Confidence threshold of the report, from 0 to 1.

classesstring[]Optional

Class names, in matrix order. The last entry is usually background.

get/{workspace}/model-evals/{evaluationId}/confusion-matrix
GET /{workspace}/model-evals/{evaluationId}/confusion-matrix HTTP/1.1
Host: api.roboflow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "evalId": "huUF720inUcymARwqAGK",
  "project": "chess-pieces-fmhpz",
  "versionId": "4",
  "modelId": "my-workspace/chess-pieces-fmhpz-4-rfdetr-small-t1",
  "split": "test",
  "confidenceThreshold": 0.2,
  "classes": [
    "Car-rims",
    "music-note",
    "background"
  ],
  "matrix": [
    [
      20,
      0,
      0
    ],
    [
      0,
      0,
      0
    ],
    [
      80,
      0,
      0
    ]
  ]
}

वेक्टर विश्लेषण प्राप्त करें

वेक्टर विश्लेषण पैनल लौटाता है: दृश्य समानता के आधार पर समूहित इमेजें, प्रत्येक समूह पर मॉडल का औसत F1, precision, और recall के साथ। कम f1Mean वाले clusters खोजें ताकि उन प्रकार की इमेजें मिल सकें जहाँ मॉडल संघर्ष करता है। किसी cluster में कौन-सी इमेजें हैं यह देखने के लिए, उपयोग करें इमेज प्रेडिक्शंस प्राप्त करें.

Get vector analysis

get

Returns the clusters of visually similar images and the model's average metrics on each, so you can find groups of images where the model struggles. Each image's cluster and coordinate come from Get Image Predictions. Requires model-eval:read.

Authorizations
AuthorizationstringRequired

Roboflow API key or OAuth access token.

Path parameters
workspacestringRequired

Workspace URL slug.

evaluationIdstringRequired

Model evaluation ID.

Example: huUF720inUcymARwqAGK
Query parameters
confidenceinteger · max: 100Optional

Confidence threshold as an integer percentage from 0 to 100. Selects which saved report to read. Leave it out for the default report (usually 20). A threshold the evaluation did not save returns 400 invalid_confidence with the saved thresholds in available.

Example: 37
Responses
200

Successful response.

application/json
evalIdstringOptional

Model evaluation ID.

projectstring · nullableOptional

Project URL slug. null if the project was deleted.

versionIdstring · nullableOptional

Dataset version number.

modelIdstring · nullableOptional

Model ID ({workspace}/{model-slug}), the same ID the models and inference endpoints use. {project}/{version} for an evaluation that ran on a version instead of one model. null if the model can no longer be found.

confidenceThresholdnumber · nullableOptional

Confidence threshold of the report, from 0 to 1.

get/{workspace}/model-evals/{evaluationId}/vector-analysis
GET /{workspace}/model-evals/{evaluationId}/vector-analysis HTTP/1.1
Host: api.roboflow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "evalId": "huUF720inUcymARwqAGK",
  "project": "chess-pieces-fmhpz",
  "versionId": "4",
  "modelId": "my-workspace/chess-pieces-fmhpz-4-rfdetr-small-t1",
  "confidenceThreshold": 0.2,
  "clustering": {
    "method": "hdbscan",
    "nClusters": 54,
    "metrics": {
      "noiseRatio": 0.078,
      "silhouetteScore": 0.489
    },
    "parameters": {
      "min_cluster_size": 2,
      "min_samples": 1,
      "cluster_selection_method": "eom",
      "metric": "euclidean"
    },
    "processingTimeSeconds": 8.36
  },
  "preprocessing": {
    "method": "umap",
    "originalDimensions": 768,
    "targetDimensions": 10,
    "nNeighbors": 30,
    "minDistance": 0.05
  },
  "clusters": [
    {
      "id": -1,
      "numImages": 15,
      "splitDistribution": {
        "train": 12,
        "valid": 2,
        "test": 1
      },
      "metrics": {
        "f1Mean": 0.462,
        "f1Std": 0.219,
        "f1Min": 0.129,
        "f1Max": 0.8,
        "precisionMean": 0.33,
        "recallMean": 0.952,
        "perplexityMean": null,
        "perplexityStd": null,
        "perplexityMin": null,
        "perplexityMax": null
      },
      "sampleImages": [
        "img1.jpg",
        "img2.jpg"
      ]
    }
  ]
}

इमेज प्रेडिक्शंस प्राप्त करें

मूल्यांकित हर इमेज के लिए एक रिकॉर्ड लौटाता है, जिसमें उसकी गिनती, मेट्रिक्स, क्लस्टर, और कन्फ्यूजन प्रविष्टियाँ शामिल होती हैं। परिणाम पेजिनेट किए जाते हैं limit और offset.

एक इमेज का निरीक्षण करने के लिए, पास करें imageName या evalInputId के साथ includeGeometry=true. तब रिकॉर्ड में सहेजी गई भविष्यवाणियाँ और ग्राउंड ट्रुथ शामिल होते हैं, ताकि आप बता सकें कि विफलता मॉडल त्रुटि है या लेबल त्रुटि।

Get image predictions

get

Returns per-image results: true and false positive counts, precision, recall, F1, cluster, and confusion entries. Each page reads the whole saved report, so prefer a few large pages over many small ones. Requires model-eval:read.

Authorizations
AuthorizationstringRequired

Roboflow API key or OAuth access token.

Path parameters
workspacestringRequired

Workspace URL slug.

evaluationIdstringRequired

Model evaluation ID.

Example: huUF720inUcymARwqAGK
Query parameters
splitstring · enumOptional

Split to return.

Default: allPossible values:
confidenceinteger · max: 100Optional

Confidence threshold as an integer percentage from 0 to 100. Selects which saved report to read. Leave it out for the default report (usually 20). A threshold the evaluation did not save returns 400 invalid_confidence with the saved thresholds in available.

Example: 37
imageNamestring · min: 1 · max: 1024Optional

Return only the records for this image name.

Example: abc.jpg
evalInputIdstring · min: 1 · max: 256Optional

Return only the record for this evaluated input. Use it when one image has several inputs (ex: tiles or crops).

includeGeometrybooleanOptional

Send true to add geometry to the record: the saved predictions, ground truth, class names, and a temporary image URL. Needs imageName or evalInputId, and the filters must match one record.

Default: false
limitinteger · min: 1 · max: 1000Optional

Page size. Values above 1000 are lowered to 1000.

Default: 200
offsetintegerOptional

Records to skip before the page starts.

Default: 0
Responses
200

Successful response.

application/json
evalIdstringOptional

Model evaluation ID.

projectstring · nullableOptional

Project URL slug. null if the project was deleted.

versionIdstring · nullableOptional

Dataset version number.

modelIdstring · nullableOptional

Model ID ({workspace}/{model-slug}), the same ID the models and inference endpoints use. {project}/{version} for an evaluation that ran on a version instead of one model. null if the model can no longer be found.

splitstringOptional
confidenceThresholdnumber · nullableOptional

Confidence threshold of the report, from 0 to 1.

totalImagesintegerOptional

Records that match the filters, before paging.

offsetintegerOptional
limitintegerOptional
get/{workspace}/model-evals/{evaluationId}/image-predictions
GET /{workspace}/model-evals/{evaluationId}/image-predictions HTTP/1.1
Host: api.roboflow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "evalId": "huUF720inUcymARwqAGK",
  "project": "chess-pieces-fmhpz",
  "versionId": "4",
  "modelId": "my-workspace/chess-pieces-fmhpz-4-rfdetr-small-t1",
  "split": "test",
  "confidenceThreshold": 0.2,
  "totalImages": 192,
  "offset": 0,
  "limit": 50,
  "images": [
    {
      "imageId": "1QKLCUsfAzFiCIb6YCJj",
      "imageName": "abc.jpg",
      "evalInputId": null,
      "split": "test",
      "augmentations": 2,
      "cluster": {
        "id": 4,
        "embedding2D": [
          7.49,
          -5.14
        ]
      },
      "stats": {
        "truePositives": 2,
        "falsePositives": 7,
        "falseNegatives": 0,
        "precision": 0.222,
        "recall": 1,
        "f1": 0.364
      },
      "confusion": [
        [
          0,
          0,
          2
        ],
        [
          2,
          0,
          7
        ]
      ]
    }
  ]
}

अनुशंसाएँ प्राप्त करें

मॉडल सुधार अनुशंसाएँ पैनल लौटाता है। Roboflow प्रशिक्षण समाप्त होने पर अनुशंसाएँ बनाता है, और यह endpoint केवल उन्हें पढ़ता है। अनुशंसाओं के बिना समाप्त हुआ evaluation लौटाता है 200 के साथ generated: falseलौटाता है, त्रुटि नहीं।

Get evaluation recommendations

get

Returns the model improvement recommendations for a finished evaluation. It does not generate them. When none exist yet, the response is 200 with generated set to false. Requires model-eval:read.

Authorizations
AuthorizationstringRequired

Roboflow API key or OAuth access token.

Path parameters
workspacestringRequired

Workspace URL slug.

evaluationIdstringRequired

Model evaluation ID.

Example: huUF720inUcymARwqAGK
Responses
200

Successful response.

application/json
evalIdstringOptional

Model evaluation ID.

projectstring · nullableOptional

Project URL slug. null if the project was deleted.

versionIdstring · nullableOptional

Dataset version number.

modelIdstring · nullableOptional

Model ID ({workspace}/{model-slug}), the same ID the models and inference endpoints use. {project}/{version} for an evaluation that ran on a version instead of one model. null if the model can no longer be found.

generatedbooleanOptional

False when the evaluation has no recommendations yet. The other fields are then left out.

generatedAtstring · nullableOptional

When the recommendations were generated.

get/{workspace}/model-evals/{evaluationId}/recommendations
GET /{workspace}/model-evals/{evaluationId}/recommendations HTTP/1.1
Host: api.roboflow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "evalId": "huUF720inUcymARwqAGK",
  "project": "chess-pieces-fmhpz",
  "versionId": "4",
  "modelId": "my-workspace/chess-pieces-fmhpz-4-rfdetr-small-t1",
  "generated": true,
  "generatedAt": "2026-04-27T20:05:37.512Z",
  "recommendations": {
    "summary": {
      "confidenceThreshold": 37,
      "split": "test",
      "generatedAt": "2026-04-27T20:05:37.512Z",
      "count": 2,
      "f1": 0.85,
      "precision": 0.85,
      "recall": 0.85
    },
    "items": [
      {
        "id": "56bcd423-38ff-45f9-b3e0-662a71ce44e6",
        "type": "missed_detection",
        "analysis": {
          "affected_class": "Car-rims",
          "count": 3
        }
      },
      {
        "id": "150e49a8-3a61-479a-9e18-3eb751494a70",
        "type": "class_imbalance",
        "analysis": {
          "affected_class": "Car-rims",
          "current_count": 20,
          "total_gt_instances": 20,
          "median_count": 10
        }
      }
    ]
  }
}

MCP सर्वर

अपने AI एजेंट को MCP सर्वर से जोड़ें और वह इन टूल्स के साथ मॉडल के प्रदर्शन की समीक्षा कर सकता है:

टूल
विवरण

model_evals_list

वर्कस्पेस में मॉडल मूल्यांकन सूचीबद्ध करें।

model_evals_get

एक मूल्यांकन का शीर्ष-स्तरीय सारांश प्राप्त करें।

model_evals_get_map_results

प्रति-split mAP परिणाम प्राप्त करें।

model_evals_get_confusion_matrix

कन्फ्यूजन मैट्रिक्स प्राप्त करें।

model_evals_get_performance_by_class

एक split के लिए प्रति-क्लास प्रदर्शन मेट्रिक्स प्राप्त करें।

model_evals_get_recommendations

यदि उपलब्ध हो, तो मूल्यांकन के लिए उत्पन्न अनुशंसाएँ प्राप्त करें।

अंतिम अपडेट

क्या यह उपयोगी था?