original_string: private function frequent(array $samples): array
      {
          return array_values(array_filter($samples, function ($entry) {
              return $this->support($entry) >= $this->support;
          }));
      }
code: private function frequent(array $samples): array
      {
          return array_values(array_filter($samples, function ($entry) {
              return $this->support($entry) >= $this->support;
          }));
      }
code_tokens: private function frequent ( array $ samples ) : array { return array_values ( array_filter ( $ samples , function ( $ entry ) { return $ this -> support ( $ entry ) >= $ this -> support ; } ) ) ; }
docstring: Returns frequent item sets only.
  
  @param mixed[][] $samples
  
  @return mixed[][]
docstring_tokens: Returns frequent item sets only .