class_docstr: Class that stores the results of a regression evaluation.
  
  Args:
      samples: the :class:`fiftyone.core.collections.SampleCollection` used
      config: the :class:`RegressionEvaluationConfig` used
      eval_key: the evaluation key
      ytrue: a list of ground truth values
      ypred: a list of predicted values
      confs (None): an optional list of confidences for the predictions
      eval_key (None): the evaluation key of the evaluation
      gt_field (None): the name of the ground truth field
      pred_field (None): the name of the predictions field
      ids (None): a list of sample or frame IDs corresponding to the
          regressions
      missing (None): a missing value. Any None-valued regressions are
          given this value for results purposes
      backend (None): a :class:`RegressionEvaluation` backend
class_docstr_tok: ["Class","that","stores","the","results","of","a","regression","evaluation",".","Args",":","samples",":","the",":","class",":","`","fiftyone.core.collections.SampleCollection","`","used","config",":","the",":","class",":","`","RegressionEvaluationConfig","`","used","eval_key",":","the","evaluation","key","ytrue",":","a","list","of","ground","truth","values","ypred",":","a","list","of","predicted","values","confs","(","None",")",":","an","optional","list","of","confidences","for","the","predictions","eval_key","(","None",")",":","the","evaluation","key","of","the","evaluation","gt_field","(","None",")",":","the","name","of","the","ground","truth","field","pred_field","(","None",")",":","the","name","of","the","predictions","field","ids","(","None",")",":","a","list","of","sample","or","frame","IDs","corresponding","to","the","regressions","missing","(","None",")",":","a","missing","value",".","Any","None-valued","regressions","are","given","this","value","for","results","purposes","backend","(","None",")",":","a",":","class",":","`","RegressionEvaluation","`","backend"]
docstr: Plots the regression results.
  
  You can use the ``labels`` parameters to define a coloring for the
  points, and you can use the ``sizes`` parameter to scale the sizes of
  the points.
  
  You can attach plots generated by this method to an App session via its
  :attr:`fiftyone.core.session.Session.plots` attribute, which will
  automatically sync the session's view with the currently selected
  points in the plot.
  
  Args:
      labels (None): data to use to color the points. Can be any of the
          following:
  
          -   the name of a sample field or ``embedded.field.name`` of
              from which to extract numeric or string values
          -   a :class:`fiftyone.core.expressions.ViewExpression`
              defining numeric or string values to extract via
              :meth:`fiftyone.core.collections.SampleCollection.values`
          -   a list or array-like of numeric or string values (or lists
              of lists for frame-level regressions)
      sizes (None): data to use to scale the sizes of the points. Can be
          any of the following:
  
          -   the name of a sample field or ``embedded.field.name`` from
              which to extract numeric values
          -   a :class:`fiftyone.core.expressions.ViewExpression`
              defining numeric values to extract via
              :meth:`fiftyone.core.collections.SampleCollection.values`
          -   a list or array-like of numeric values (or lists of lists
              for frame-level regressions)
      backend ("plotly"): the plotting backend to use. Supported values
          are ``("plotly", "matplotlib")``
      **kwargs: keyword arguments for the backend plotting method:
  
          -   "plotly" backend: :meth:`fiftyone.core.plots.plotly.plot_regressions`
          -   "matplotlib" backend: :meth:`fiftyone.core.plots.matplotlib.plot_regressions`
  
  Returns:
      an :class:`fiftyone.core.plots.base.InteractivePlot`
docstr_tok: ["Plots","the","regression","results",".","You","can","use","the","``","labels","``","parameters","to","define","a","coloring","for","the","points",",","and","you","can","use","the","``","sizes","``","parameter","to","scale","the","sizes","of","the","points",".","You","can","attach","plots","generated","by","this","method","to","an","App","session","via","its",":","attr",":","`","fiftyone.core.session.Session.plots","`","attribute",",","which","will","automatically","sync","the","session","'s","view","with","the","currently","selected","points","in","the","plot",".","Args",":","labels","(","None",")",":","data","to","use","to","color","the","points",".","Can","be","any","of","the","following",":","-","the","name","of","a","sample","field","or","``","embedded.field.name","``","of","from","which","to","extract","numeric","or","string","values","-","a",":","class",":","`","fiftyone.core.expressions.ViewExpression","`","defining","numeric","or","string","values","to","extract","via",":","meth",":","`","fiftyone.core.collections.SampleCollection.values","`","-","a","list","or","array-like","of","numeric","or","string","values","(","or","lists","of","lists","for","frame-level","regressions",")","sizes","(","None",")",":","data","to","use","to","scale","the","sizes","of","the","points",".","Can","be","any","of","the","following",":","-","the","name","of","a","sample","field","or","``","embedded.field.name","``","from","which","to","extract","numeric","values","-","a",":","class",":","`","fiftyone.core.expressions.ViewExpression","`","defining","numeric","values","to","extract","via",":","meth",":","`","fiftyone.core.collections.SampleCollection.values","`","-","a","list","or","array-like","of","numeric","values","(","or","lists","of","lists","for","frame-level","regressions",")","backend","(","``","plotly","''",")",":","the","plotting","backend","to","use",".","Supported","values","are","``","(","``","plotly","''",",","``","matplotlib","''",")","``","*","*","kwargs",":","keyword","arguments","for","the","backend","plotting","method",":","-","``","plotly","''","backend",":",":","meth",":","`","fiftyone.core.plots.plotly.plot_regressions","`","-","``","matplotlib","''","backend",":",":","meth",":","`","fiftyone.core.plots.matplotlib.plot_regressions","`","Returns",":","an",":","class",":","`","fiftyone.core.plots.base.InteractivePlot","`"]
code: def plot_results(
      self, labels=None, sizes=None, backend="plotly", **kwargs
  ):
      """Plots the regression results.
  
      You can use the ``labels`` parameters to define a coloring for the
      points, and you can use the ``sizes`` parameter to scale the sizes of
      the points.
  
      You can attach plots generated by this method to an App session via its
      :attr:`fiftyone.core.session.Session.plots` attribute, which will
      automatically sync the session's view with the currently selected
      points in the plot.
  
      Args:
          labels (None): data to use to color the points. Can be any of the
              following:
  
              -   the name of a sample field or ``embedded.field.name`` of
                  from which to extract numeric or string values
              -   a :class:`fiftyone.core.expressions.ViewExpression`
                  defining numeric or string values to extract via
                  :meth:`fiftyone.core.collections.SampleCollection.values`
              -   a list or array-like of numeric or string values (or lists
                  of lists for frame-level regressions)
          sizes (None): data to use to scale the sizes of the points. Can be
              any of the following:
  
              -   the name of a sample field or ``embedded.field.name`` from
                  which to extract numeric values
              -   a :class:`fiftyone.core.expressions.ViewExpression`
                  defining numeric values to extract via
                  :meth:`fiftyone.core.collections.SampleCollection.values`
              -   a list or array-like of numeric values (or lists of lists
                  for frame-level regressions)
          backend ("plotly"): the plotting backend to use. Supported values
              are ``("plotly", "matplotlib")``
          **kwargs: keyword arguments for the backend plotting method:
  
              -   "plotly" backend: :meth:`fiftyone.core.plots.plotly.plot_regressions`
              -   "matplotlib" backend: :meth:`fiftyone.core.plots.matplotlib.plot_regressions`
  
      Returns:
          an :class:`fiftyone.core.plots.base.InteractivePlot`
      """
      return fop.plot_regressions(
          self.ytrue,
          self.ypred,
          samples=self.samples,
          ids=self.ids,
          labels=labels,
          sizes=sizes,
          gt_field=self.config.gt_field,
          pred_field=self.config.pred_field,
          backend=backend,
          **kwargs,
      )
  
imports: from copy import deepcopy
  import inspect
  import itertools
  import logging
  import numbers
  import numpy
  import sklearn.metrics
  from tabulate import tabulate
  import eta.core.utils
  import fiftyone
  import fiftyone.core.evaluation
  import fiftyone.core.fields
  import fiftyone.core.labels
  import fiftyone.core.plots
  import fiftyone.core.utils
  import fiftyone.core.validation
label_desc: Use image node_id 4 for calling the RegressionResults obj's underlying member method code with example usage: obj.plot_results(labels, sizes, backend) and returns: fop