(self, src)
Add one fold of active learning experiment.

        Parameters
        ----------
        src: object or str
            StateIO object or path to the intermediate results file.
Add one fold of active learning experiment.
Add one fold of active learning experiment .
def add_fold(self, src):
        """
        Add one fold of active learning experiment.

        Parameters
        ----------
        src: object or str
            StateIO object or path to the intermediate results file.
        """
        if isinstance(src, StateIO):
            self.__add_fold_by_object(src)
        elif isinstance(src, str):
            self.__add_fold_from_file(src)
        else:
            raise TypeError('StateIO object or str is expected, but received:%s' % str(type(src)),
                            category=UnexpectedParameterWarning)
def add_fold ( self , src ) : if isinstance ( src , StateIO ) : self . __add_fold_by_object ( src ) elif isinstance ( src , str ) : self . __add_fold_from_file ( src ) else : raise TypeError ( 'StateIO object or str is expected, but received:%s' % str ( type ( src ) ) , category = UnexpectedParameterWarning )