C# Class SoundFingerprinting.MinHash.MinHashService

Inheritance: IMinHashService
Mostrar archivo Open project: AddictedCS/soundfingerprinting Class Usage Examples

Public Methods

Method Description
Hash ( bool fingerprint ) : byte[]
MinHashService ( ) : SoundFingerprinting.Infrastructure

Private Methods

Method Description
ComputeMinHashSignature ( bool fingerprint ) : byte[]

Compute Min Hash signature of a fingerprint

The basic idea in the Min Hashing scheme is to randomly permute the rows and for each column c(i) compute its hash value h(c(i)) as the index of the first row under the permutation that has a 1 in that column.

MinHashService ( IPermutations permutations ) : SoundFingerprinting.Infrastructure

Method Details

Hash() public method

public Hash ( bool fingerprint ) : byte[]
fingerprint bool
return byte[]

MinHashService() public method

public MinHashService ( ) : SoundFingerprinting.Infrastructure
return SoundFingerprinting.Infrastructure