.. Adapted from https://stackoverflow.com/a/62613202 flexmeasures.utils.calculations =============================== .. automodule:: flexmeasures.utils.calculations .. rubric:: Functions .. autofunction:: apply_stock_changes_and_losses .. autofunction:: drop_nan_rows .. autofunction:: integrate_time_series .. autofunction:: mean_absolute_error .. autofunction:: mean_absolute_percentage_error .. autofunction:: weighted_absolute_percentage_error