Compute the LZJD hash for a file

min_hash_for_file(path)

# S3 method for lzjd_hash
print(x, ...)

Arguments

path

path to file (it will be path.expand()ed).

x,

an lzhd_hash object

...

ignored

Value

a lzjd_hash object which corresponds to a jsat.classifiers.DataPoint (https://github.com/EdwardRaff/JSAT/blob/master/JSAT/src/jsat/classifiers/DataPoint.java) object which, in this case, is an integer vector.

Examples

h1 <- min_hash_for_file(system.file("extdat", "index.html", package = "lizzard"))