Back to FabImage Library website
You are here: Start » Function Reference » Data Classification » Statistics » TableOfConfusion_BoolArray
TableOfConfusion_BoolArray
| Header: | FIL.h |
|---|---|
| Namespace: | fil |
| Module: | FoundationPro |
Computes statistics from a confusion matrix for an array of groundTruth and results.
Syntax
C++
C#
void fil::TableOfConfusion_BoolArray ( const ftl::Array<bool>& inGroundTruth, const ftl::Array<bool>& inResults, ftl::int64& outTruePositive, ftl::int64& outFalsePositive, ftl::int64& outTrueNegative, ftl::int64& outFalseNegative, fil::ConfusionTable& outConfusionTable )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inGroundTruth | const Array<bool>& | ||
![]() |
inResults | const Array<bool>& | ||
![]() |
outTruePositive | int64& | ||
![]() |
outFalsePositive | int64& | ||
![]() |
outTrueNegative | int64& | ||
![]() |
outFalseNegative | int64& | ||
![]() |
outConfusionTable | ConfusionTable& |
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Array inGroundTruth is empty in TableOfConfusion_BoolArray. |


