(self, table=None)
return remaining, sample
Bootstrap indices

        Args:
            table: Not used (but part of the signature)
        Returns:
            tuple (out_of_sample, sample) indices
Bootstrap indices
Bootstrap indices
def __call__(self, table=None):
        """Bootstrap indices

        Args:
            table: Not used (but part of the signature)
        Returns:
            tuple (out_of_sample, sample) indices
        """
        # pylint: disable=no-member
        rgen = np.random.RandomState(self.random_state)
        sample = rgen.randint(0, self.size, self.size)
        sample.sort()  # not needed for the code below, just for the user
        insample = np.ones((self.size,), dtype=bool)
        insample[sample] = False
        remaining = np.flatnonzero(insample)
        return remaining, sample
def __call__ ( self , table = None ) : # pylint: disable=no-member rgen = np . random . RandomState ( self . random_state ) sample = rgen . randint ( 0 , self . size , self . size ) sample . sort ( ) # not needed for the code below, just for the user insample = np . ones ( ( self . size , ) , dtype = bool ) insample [ sample ] = False remaining = np . flatnonzero ( insample ) return remaining , sample