Class: OutcomeStatistics
A class for collecting totals of various outcomes.
URI: linkml_common:OutcomeStatistics
classDiagram
class OutcomeStatistics
click OutcomeStatistics href "../OutcomeStatistics"
OutcomeStatistics <|-- AggregatePrediction
click AggregatePrediction href "../AggregatePrediction"
OutcomeStatistics <|-- PredictionSummaryStatistics
click PredictionSummaryStatistics href "../PredictionSummaryStatistics"
OutcomeStatistics : accuracy
OutcomeStatistics : f1_score
OutcomeStatistics : false_negative_count
OutcomeStatistics : false_positive_count
OutcomeStatistics : precision
OutcomeStatistics : recall
OutcomeStatistics : true_negative_count
OutcomeStatistics : true_positive_count
Slots
Name | Cardinality and Range | Description | Inheritance |
---|---|---|---|
true_positive_count | 0..1 CountScalar |
Total number of true positives (TP) | direct |
false_positive_count | 0..1 CountScalar |
Total number of false positives (FP) | direct |
true_negative_count | 0..1 CountScalar |
Total number of true negatives (TN) | direct |
false_negative_count | 0..1 CountScalar |
Total number of false negatives (FN) | direct |
recall | 0..1 Float |
Recall is calculated as TP / (TP + FN) | direct |
precision | 0..1 Float |
Precision is calculated as TP / (TP + FP) | direct |
f1_score | 0..1 Float |
F1 Score is the harmonic mean of precision and recall | direct |
accuracy | 0..1 Float |
Accuracy is calculated as (TP + TN) / (TP + FP + TN + FN) | direct |
Mixin Usage
mixed into | description |
---|---|
AggregatePrediction | |
PredictionSummaryStatistics | A class for collecting totals of various outcomes |
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/linkml/linkml-common
Mappings
Mapping Type | Mapped Value |
---|---|
self | linkml_common:OutcomeStatistics |
native | linkml_common:OutcomeStatistics |
LinkML Source
Direct
name: OutcomeStatistics
description: A class for collecting totals of various outcomes.
from_schema: https://w3id.org/linkml/linkml-common
mixin: true
attributes:
true_positive_count:
name: true_positive_count
description: Total number of true positives (TP)
from_schema: https://w3id.org/linkml-common/statistics
rank: 1000
domain_of:
- OutcomeStatistics
range: CountScalar
false_positive_count:
name: false_positive_count
description: Total number of false positives (FP)
from_schema: https://w3id.org/linkml-common/statistics
rank: 1000
domain_of:
- OutcomeStatistics
range: CountScalar
true_negative_count:
name: true_negative_count
description: Total number of true negatives (TN)
from_schema: https://w3id.org/linkml-common/statistics
rank: 1000
domain_of:
- OutcomeStatistics
range: CountScalar
false_negative_count:
name: false_negative_count
description: Total number of false negatives (FN)
from_schema: https://w3id.org/linkml-common/statistics
rank: 1000
domain_of:
- OutcomeStatistics
range: CountScalar
recall:
name: recall
description: Recall is calculated as TP / (TP + FN)
from_schema: https://w3id.org/linkml-common/statistics
rank: 1000
domain_of:
- OutcomeStatistics
range: float
equals_expression: (true_positives) / (true_positives + false_negatives)
precision:
name: precision
description: Precision is calculated as TP / (TP + FP)
from_schema: https://w3id.org/linkml-common/statistics
rank: 1000
domain_of:
- OutcomeStatistics
range: float
equals_expression: (true_positives) / (true_positives + false_positives)
f1_score:
name: f1_score
description: F1 Score is the harmonic mean of precision and recall
from_schema: https://w3id.org/linkml-common/statistics
rank: 1000
domain_of:
- OutcomeStatistics
range: float
equals_expression: 2 * (precision * recall) / (precision + recall)
accuracy:
name: accuracy
description: Accuracy is calculated as (TP + TN) / (TP + FP + TN + FN)
from_schema: https://w3id.org/linkml-common/statistics
rank: 1000
domain_of:
- OutcomeStatistics
range: float
equals_expression: (true_positives + true_negatives) / (true_positives + false_positives
+ true_negatives + false_negatives)
Induced
name: OutcomeStatistics
description: A class for collecting totals of various outcomes.
from_schema: https://w3id.org/linkml/linkml-common
mixin: true
attributes:
true_positive_count:
name: true_positive_count
description: Total number of true positives (TP)
from_schema: https://w3id.org/linkml-common/statistics
rank: 1000
alias: true_positive_count
owner: OutcomeStatistics
domain_of:
- OutcomeStatistics
range: CountScalar
false_positive_count:
name: false_positive_count
description: Total number of false positives (FP)
from_schema: https://w3id.org/linkml-common/statistics
rank: 1000
alias: false_positive_count
owner: OutcomeStatistics
domain_of:
- OutcomeStatistics
range: CountScalar
true_negative_count:
name: true_negative_count
description: Total number of true negatives (TN)
from_schema: https://w3id.org/linkml-common/statistics
rank: 1000
alias: true_negative_count
owner: OutcomeStatistics
domain_of:
- OutcomeStatistics
range: CountScalar
false_negative_count:
name: false_negative_count
description: Total number of false negatives (FN)
from_schema: https://w3id.org/linkml-common/statistics
rank: 1000
alias: false_negative_count
owner: OutcomeStatistics
domain_of:
- OutcomeStatistics
range: CountScalar
recall:
name: recall
description: Recall is calculated as TP / (TP + FN)
from_schema: https://w3id.org/linkml-common/statistics
rank: 1000
alias: recall
owner: OutcomeStatistics
domain_of:
- OutcomeStatistics
range: float
equals_expression: (true_positives) / (true_positives + false_negatives)
precision:
name: precision
description: Precision is calculated as TP / (TP + FP)
from_schema: https://w3id.org/linkml-common/statistics
rank: 1000
alias: precision
owner: OutcomeStatistics
domain_of:
- OutcomeStatistics
range: float
equals_expression: (true_positives) / (true_positives + false_positives)
f1_score:
name: f1_score
description: F1 Score is the harmonic mean of precision and recall
from_schema: https://w3id.org/linkml-common/statistics
rank: 1000
alias: f1_score
owner: OutcomeStatistics
domain_of:
- OutcomeStatistics
range: float
equals_expression: 2 * (precision * recall) / (precision + recall)
accuracy:
name: accuracy
description: Accuracy is calculated as (TP + TN) / (TP + FP + TN + FN)
from_schema: https://w3id.org/linkml-common/statistics
rank: 1000
alias: accuracy
owner: OutcomeStatistics
domain_of:
- OutcomeStatistics
range: float
equals_expression: (true_positives + true_negatives) / (true_positives + false_positives
+ true_negatives + false_negatives)