CO2MPAS
v4.1
Table of Contents
What is CO
2
MPAS?
Installation
Quick Start
Tutorials
CO
2
MPAS Model
Data naming conventions
FAQ
Glossary
Contributing to co2mpas
API Reference
core
load
model
physical
selector
select_prediction_data
dsp
report
write
check_only_summary
default_vehicle_name
parse_cmd_flags
parse_solution
dsp
cli
utils
defaults
Changelog
CO2MPAS
Joint Research Center
EU Science Hub
Legal notice
|
Cookies
|
Contact
|
Search
European Commission
⟫
JRC
⟫
CO2MPAS
⟫
API Reference
⟫
core
⟫
model
⟫
selector
⟫
models
⟫
calculate_errors
Edit on GitHub
calculate_errors
¶
calculate_errors
(
references
,
predictions
,
metrics
,
metrics_kwargs
)
[source]
¶
Calculate error coefficients.
Parameters:
references
(
dict
) – Reference results.
predictions
(
dict
) – Prediction results.
metrics
(
dict
[
str
,
function
]
) – Metric functions.
metrics_kwargs
(
dict
) – Kwargs to pass to metric functions.
Returns:
Error coefficients.
Return type:
dict
Read the Docs
v: v4.1
Versions
latest
stable
v4.1
Downloads
html
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.