Class: AggregatePrediction
URI: linkml_common:AggregatePrediction
classDiagram
class AggregatePrediction
click AggregatePrediction href "../AggregatePrediction"
OutcomeStatistics <|-- AggregatePrediction
click OutcomeStatistics href "../OutcomeStatistics"
Prediction <|-- AggregatePrediction
click Prediction href "../Prediction"
AggregatePrediction : accuracy
AggregatePrediction : expected_value
AggregatePrediction --> "0..1" Any : expected_value
click Any href "../Any"
AggregatePrediction : f1_score
AggregatePrediction : false_negative_count
AggregatePrediction : false_positive_count
AggregatePrediction : precision
AggregatePrediction : predicted_value
AggregatePrediction --> "0..1" Any : predicted_value
click Any href "../Any"
AggregatePrediction : recall
AggregatePrediction : true_negative_count
AggregatePrediction : true_positive_count
AggregatePrediction : type
AggregatePrediction : variable_predicted
AggregatePrediction --> "0..1" Variable : variable_predicted
click Variable href "../Variable"
Inheritance
- Entity [ Typed]
- Intangible
- Prediction
- AggregatePrediction [ OutcomeStatistics]
- Prediction
- Intangible
Slots
Name | Cardinality and Range | Description | Inheritance |
---|---|---|---|
true_positive_count | 0..1 CountScalar |
Total number of true positives (TP) | OutcomeStatistics |
false_positive_count | 0..1 CountScalar |
Total number of false positives (FP) | OutcomeStatistics |
true_negative_count | 0..1 CountScalar |
Total number of true negatives (TN) | OutcomeStatistics |
false_negative_count | 0..1 CountScalar |
Total number of false negatives (FN) | OutcomeStatistics |
recall | 0..1 Float |
Recall is calculated as TP / (TP + FN) | OutcomeStatistics |
precision | 0..1 Float |
Precision is calculated as TP / (TP + FP) | OutcomeStatistics |
f1_score | 0..1 Float |
F1 Score is the harmonic mean of precision and recall | OutcomeStatistics |
accuracy | 0..1 Float |
Accuracy is calculated as (TP + TN) / (TP + FP + TN + FN) | OutcomeStatistics |
variable_predicted | 0..1 Variable |
Prediction | |
predicted_value | 0..1 Any |
Prediction | |
expected_value | 0..1 Any |
Prediction | |
type | 0..1 String |
A type for a thing | Typed |
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/linkml/linkml-common
Mappings
Mapping Type | Mapped Value |
---|---|
self | linkml_common:AggregatePrediction |
native | linkml_common:AggregatePrediction |
LinkML Source
Direct
name: AggregatePrediction
from_schema: https://w3id.org/linkml/linkml-common
is_a: Prediction
mixins:
- OutcomeStatistics
Induced
name: AggregatePrediction
from_schema: https://w3id.org/linkml/linkml-common
is_a: Prediction
mixins:
- OutcomeStatistics
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: AggregatePrediction
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: AggregatePrediction
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: AggregatePrediction
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: AggregatePrediction
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: AggregatePrediction
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: AggregatePrediction
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: AggregatePrediction
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: AggregatePrediction
domain_of:
- OutcomeStatistics
range: float
equals_expression: (true_positives + true_negatives) / (true_positives + false_positives
+ true_negatives + false_negatives)
variable_predicted:
name: variable_predicted
from_schema: https://w3id.org/linkml-common/statistics
rank: 1000
alias: variable_predicted
owner: AggregatePrediction
domain_of:
- Prediction
range: Variable
predicted_value:
name: predicted_value
from_schema: https://w3id.org/linkml-common/statistics
rank: 1000
alias: predicted_value
owner: AggregatePrediction
domain_of:
- Prediction
range: Any
expected_value:
name: expected_value
from_schema: https://w3id.org/linkml-common/statistics
rank: 1000
alias: expected_value
owner: AggregatePrediction
domain_of:
- Prediction
- SimplePrediction
range: Any
type:
name: type
description: A type for a thing. The range of this should be a class within the
schema. It is intended for schema-based classification. Anything beneath the
shoreline of the schema should use `classification`.
from_schema: https://w3id.org/linkml/linkml-common
rank: 1000
designates_type: true
alias: type
owner: AggregatePrediction
domain_of:
- Typed
range: string