(self)
Performs batch prediction.
Performs batch prediction.
Performs batch prediction .
def predict_pp_batch(self):
        """
        Performs batch prediction.
        """
        pred_Y = self.forward(self._X)
        for rec in self.domain_records:
            values = rec['domain'].split('|||')
            start_idx, end_idx = self.vid_to_idxs[rec['_vid_']]
            yield zip(values, map(float, pred_Y[start_idx:end_idx]))
def predict_pp_batch ( self ) : pred_Y = self . forward ( self . _X ) for rec in self . domain_records : values = rec [ 'domain' ] . split ( '|||' ) start_idx , end_idx = self . vid_to_idxs [ rec [ '_vid_' ] ] yield zip ( values , map ( float , pred_Y [ start_idx : end_idx ] ) )