(self, path)
Add one fold of active learning experiment from file

        Parameters
        ----------
        path: str
            path of result file.
Add one fold of active learning experiment from file
Add one fold of active learning experiment from file
def __add_fold_from_file(self, path):
        """
        Add one fold of active learning experiment from file

        Parameters
        ----------
        path: str
            path of result file.
        """
        f = open(os.path.abspath(path), 'rb')
        result = pickle.load(f)
        f.close()
        assert (isinstance(result, StateIO))
        if not result.check_batch_size():
            warnings.warn('Checking validity fails, different batch size is found.',
                          category=ValidityWarning)
        self.__results.append(copy.deepcopy(result))
def __add_fold_from_file ( self , path ) : f = open ( os . path . abspath ( path ) , 'rb' ) result = pickle . load ( f ) f . close ( ) assert ( isinstance ( result , StateIO ) ) if not result . check_batch_size ( ) : warnings . warn ( 'Checking validity fails, different batch size is found.' , category = ValidityWarning ) self . __results . append ( copy . deepcopy ( result ) )