class_docstr: Class for building prediction intervals based on Fedot functionality.
  
  Args:
      model: a fitted Fedot class object for times series forecasting task
      horizon: horizon for ts forecasting
      nominal_error: nominal error for prediction intervals task
      method: general method for creating forecasts. Possible options:
  
           - 'last_generation_ql' -> a number of pipelines from the last generation is fitted using
              quantile loss/pinball loss metric.
           - 'best_pipelines_quantiles' -> prediction intervals are computed based on predictions of all
              pipelines in last generation
           - 'mutation_of_best_pipeline' -> prediction intervals are built relying on mutations of the final
              pipeline
  
      params: params for building prediction intervals.
class_docstr_tok: ["Class","for","building","prediction","intervals","based","on","Fedot","functionality",".","Args",":","model",":","a","fitted","Fedot","class","object","for","times","series","forecasting","task","horizon",":","horizon","for","ts","forecasting","nominal_error",":","nominal","error","for","prediction","intervals","task","method",":","general","method","for","creating","forecasts",".","Possible","options",":","-","'last_generation_ql","'","-",">","a","number","of","pipelines","from","the","last","generation","is","fitted","using","quantile","loss\/pinball","loss","metric",".","-","'best_pipelines_quantiles","'","-",">","prediction","intervals","are","computed","based","on","predictions","of","all","pipelines","in","last","generation","-","'mutation_of_best_pipeline","'","-",">","prediction","intervals","are","built","relying","on","mutations","of","the","final","pipeline","params",":","params","for","building","prediction","intervals","."]
docstr: Old method for plotting prediction intervals, train and test data. Used for developing, will be removed.
docstr_tok: ["Old","method","for","plotting","prediction","intervals",",","train","and","test","data",".","Used","for","developing",",","will","be","removed","."]
code: def _plot(
      self,
      show_up_int=True,
      show_low_int=True,
      show_forecast=True,
      show_history=True,
      show_up_train=True,
      show_low_train=True,
      show_train=True,
      ts_test: np.array = None,
  ):
      """Old method for plotting prediction intervals, train and test data. Used for developing, will be removed."""
  
      _plot_prediction_intervals(
          horizon=len(self.model_forecast),
          up_predictions=self.up_predictions,
          low_predictions=self.low_predictions,
          predictions=self.all_predictions,
          model_forecast=self.model_forecast,
          up_int=self.up_int,
          low_int=self.low_int,
          ts=self.ts,
          show_up_int=show_up_int,
          show_low_int=show_low_int,
          show_forecast=show_forecast,
          show_history=show_history,
          show_up_train=show_up_train,
          show_low_train=show_low_train,
          show_train=show_train,
          ts_test=ts_test,
      )
  
file_path: FEDOT/fedot/core/pipelines/prediction_intervals/main.py
imports: from functools import partial
  from typing import Optional
  import numpy
  from golem.core.log import default_log, Log
  from fedot import Fedot
  from fedot.core.data.data import InputData
  from fedot.core.pipelines.prediction_intervals.params import PredictionIntervalsParams
  from fedot.core.pipelines.prediction_intervals.solvers.best_pipelines_quantiles import solver_best_pipelines_quantiles
  from fedot.core.pipelines.prediction_intervals.solvers.last_generation_quantile_loss import solver_last_generation_ql
  from fedot.core.pipelines.prediction_intervals.solvers.mutation_of_best_pipeline import solver_mutation_of_best_pipeline
  from fedot.core.pipelines.prediction_intervals.utils import compute_prediction_intervals, get_base_quantiles, check_init_params, get_last_generations
  from fedot.core.pipelines.prediction_intervals.visualization import plot_prediction_intervals, _plot_prediction_intervals
label_desc: Use image node_id 7 for calling the PredictionIntervals obj's underlying member method code with example usage: obj._plot(show_up_int, show_low_int, show_forecast, show_history, show_up_train, show_low_train, show_train, ts_test) without return types