Get Confusion Matrix For All Splits
curl --request GET \
--url https://api.landing.ai/v1/projects/{project_id}/train/{training_id}/results/confusion-matriximport requests
url = "https://api.landing.ai/v1/projects/{project_id}/train/{training_id}/results/confusion-matrix"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.landing.ai/v1/projects/{project_id}/train/{training_id}/results/confusion-matrix', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"name": "<string>",
"correctPredictions": [
{
"count": 123,
"groundTruthClassId": 123,
"predictedClassId": 123
}
],
"falseNegativePredictions": [
{
"count": 123,
"groundTruthClassId": 123,
"predictedClassId": 123
}
],
"falsePositivePredictions": [
{
"count": 123,
"groundTruthClassId": 123,
"predictedClassId": 123
}
],
"misclassifications": [
{
"count": 123,
"groundTruthClassId": 123,
"predictedClassId": 123
}
]
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Training
Get Confusion Matrix For All Splits
GET
/
v1
/
projects
/
{project_id}
/
train
/
{training_id}
/
results
/
confusion-matrix
Get Confusion Matrix For All Splits
curl --request GET \
--url https://api.landing.ai/v1/projects/{project_id}/train/{training_id}/results/confusion-matriximport requests
url = "https://api.landing.ai/v1/projects/{project_id}/train/{training_id}/results/confusion-matrix"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.landing.ai/v1/projects/{project_id}/train/{training_id}/results/confusion-matrix', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"name": "<string>",
"correctPredictions": [
{
"count": 123,
"groundTruthClassId": 123,
"predictedClassId": 123
}
],
"falseNegativePredictions": [
{
"count": 123,
"groundTruthClassId": 123,
"predictedClassId": 123
}
],
"falsePositivePredictions": [
{
"count": 123,
"groundTruthClassId": 123,
"predictedClassId": 123
}
],
"misclassifications": [
{
"count": 123,
"groundTruthClassId": 123,
"predictedClassId": 123
}
]
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}⌘I

