darch/searchers.py
def tell_observed_scores(self, epoch_i, sample_inds, scores):
        """Update the state of the searcher based on the actual scores of the 
        models proposed.

        """
        if len(sample_inds) != len(scores):
            raise ValueError
        if epoch_i not in self.sample_hist:
            raise KeyError

        epoch_samples = self.sample_hist[epoch_i]
        epoch_hists = self.histories[epoch_i]

        for i, sc in zip(sample_inds, scores):
            mdl = epoch_samples[i]
            hist = epoch_hists[i]

            self.known_models.append(mdl)
            self.known_hists.append(hist)
            self.known_scores.append(sc)
Update the state of the searcher based on the actual scores of the 
        models proposed.

        
Update the state of the searcher based on the actual scores of the
models proposed.
Update the state of the searcher based on the actual scores of the models proposed .
def tell_observed_scores(self, epoch_i, sample_inds, scores):
        if len(sample_inds) != len(scores):
            raise ValueError
        if epoch_i not in self.sample_hist:
            raise KeyError
        epoch_samples = self.sample_hist[epoch_i]
        epoch_hists = self.histories[epoch_i]
        for i, sc in zip(sample_inds, scores):
            mdl = epoch_samples[i]
            hist = epoch_hists[i]
            self.known_models.append(mdl)
            self.known_hists.append(hist)
            self.known_scores.append(sc)
def tell_observed_scores ( self , epoch_i , sample_inds , scores ) : if len ( sample_inds ) != len ( scores ) : raise ValueError if epoch_i not in self . sample_hist : raise KeyError epoch_samples = self . sample_hist [ epoch_i ] epoch_hists = self . histories [ epoch_i ] for i , sc in zip ( sample_inds , scores ) : mdl = epoch_samples [ i ] hist = epoch_hists [ i ] self . known_models . append ( mdl ) self . known_hists . append ( hist ) self . known_scores . append ( sc )
Update the state of the searcher based on the actual scores of the
models proposed.
Update the state of the searcher based on the actual scores of the models proposed .
"""Update the state of the searcher based on the actual scores of the 
        models proposed.

        """
self
epoch_i
sample_inds
scores