return a copy of the RandomSampler object
return a copy of the RandomSampler object
      
    
      Return a sampler that is the complement of the range specified of the current sampler.
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      Whether to sample the next item or not.
Whether to sample the next item or not. Return how many times the next item will be sampled. Return 0 if it is not sampled.
      
    
      take a random sample
take a random sample
      
    
      Set random seed.
Set random seed.
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
:: DeveloperApi :: A sampler based on Bernoulli trials for partitioning a data sequence.
item type