code: def scores(self, periods):
          
          return dict([(filt, model.score(periods))
                       for (filt, model) in self.models_.items()])
docs: Compute the scores under the various models
  
          Parameters
          ----------
          periods : array_like
              array of periods at which to compute scores
  
          Returns
          -------
          scores : dict
              Dictionary of scores. Dictionary keys are the unique filter names
              passed to fit()