(self, stopping_criteria=None, value=None)
return StoppingCriteria(stopping_criteria=stopping_criteria, value=value)
Return example stopping criterion.

        Parameters
        ----------
        stopping_criteria: str, optional (default=None)
            stopping criteria, must be one of: [None, 'num_of_queries', 'cost_limit', 'percent_of_unlabel', 'time_limit']

            None: stop when no unlabeled samples available
            'num_of_queries': stop when preset number of quiries is reached
            'cost_limit': stop when cost reaches the limit.
            'percent_of_unlabel': stop when specific percentage of unlabeled data pool is labeled.
            'time_limit': stop when CPU time reaches the limit.

        value: {int, float}, optional (default=None)
            The value of the corresponding stopping criterion.

        Returns
        -------
        stop: StoppingCriteria
            The StoppingCriteria object
Return example stopping criterion.
Return example stopping criterion .
def get_stopping_criterion(self, stopping_criteria=None, value=None):
        """Return example stopping criterion.

        Parameters
        ----------
        stopping_criteria: str, optional (default=None)
            stopping criteria, must be one of: [None, 'num_of_queries', 'cost_limit', 'percent_of_unlabel', 'time_limit']

            None: stop when no unlabeled samples available
            'num_of_queries': stop when preset number of quiries is reached
            'cost_limit': stop when cost reaches the limit.
            'percent_of_unlabel': stop when specific percentage of unlabeled data pool is labeled.
            'time_limit': stop when CPU time reaches the limit.

        value: {int, float}, optional (default=None)
            The value of the corresponding stopping criterion.

        Returns
        -------
        stop: StoppingCriteria
            The StoppingCriteria object
        """
        return StoppingCriteria(stopping_criteria=stopping_criteria, value=value)
def get_stopping_criterion ( self , stopping_criteria = None , value = None ) : return StoppingCriteria ( stopping_criteria = stopping_criteria , value = value )