fit {FiRE}R Documentation

Hash samples in bins

Description

Hashing samples into bins, using Sketching as hash function. This function repeats hashing process L times by sampling M dimensions at a time and hashes samples into one of H bins.

Arguments

data

On which rarity score needs to be computed. Required to be a matrix. (can be converted to matrix with as.matrix)

Details

For usage see example.

Note

This function does not do any preprocessing, so preprocessed data must be passed if required.

Examples

  ## Not run: 

     ## Creating class object with required arguments
     model <- new(FiRE::FiRE, L, M)
     model$fit(data)

  
## End(Not run)

[Package FiRE version 1.0.1 Index]