INNER CODE UNIT · Python
rounding_order
aimclub/FEDOT · fedot/api/main.py:433
rounding_order: int = 3) -> dict:
"""Gets quality metrics for a fitted graph
Args:
target: an array with target values of test data. If ``None``, target specified for fit is used.
metric_names: names of required metrics.
in_sample: used for time series forecasting.
If True prediction will be obtained as ``.predict(..., in_sample=True)``.
validation_blocks: number of validation blocks for time series in-sample forecast.
rounding_order: number of decimal places for metrics
Returns:
Values of quality metrics.
"""
if self.current_pipeline is None:
raise ValueError(NOT_FITTED_ERR_MSG)
if target is not None: