original_docstring:  Check whether the given data could become a support vector
  
              This is when the data is within, on or on the other side of the
              margin.
  
              :param data:  A new sample for the training set.
              :type  data:  list of float
              :param class_label:    The label of the new sample.
              :type  class_label:    str
          
docstring: Check whether the given data could become a support vector
  This is when the data is within, on or on the other side of the
  margin.
docstring_tokens: Check whether the given data could become a support vector This is when the data is within on or on the other side of the margin .
code: def is_potential_support_vector(self, data, class_label=None):
          """ Check whether the given data could become a support vector
  
              This is when the data is within, on or on the other side of the
              margin.
  
              :param data:  A new sample for the training set.
              :type  data:  list of float
              :param class_label:    The label of the new sample.
              :type  class_label:    str
          """
          predictionVec = self._execute(data)
  
          if class_label is not None:
              if self.classes.index(class_label) == 1:
                  return predictionVec.prediction <= 1.0
              else:
                  return predictionVec.prediction >= -1.0
          else:
              return True
code_tokens: def is_potential_support_vector ( self , data , class_label = None ) : predictionVec = self . _execute ( data ) if class_label is not None : if self . classes . index ( class_label ) == 1 : return predictionVec . prediction <= 1.0 else : return predictionVec . prediction >= - 1.0 else : return True
short_docstring: Check whether the given data could become a support vector
  This is when the data is within, on or on the other side of the
  margin.
short_docstring_tokens: Check whether the given data could become a support vector This is when the data is within on or on the other side of the margin .
comment: """ Check whether the given data could become a support vector
  
              This is when the data is within, on or on the other side of the
              margin.
  
              :param data:  A new sample for the training set.
              :type  data:  list of float
              :param class_label:    The label of the new sample.
              :type  class_label:    str
          """