Description Usage Arguments Value
Given a binary fingerprint matrix a mask is calculated to exclude fingerprints:
with the same value across the dataset
with low variance, e.g. fp_i = 1 in 90% of the data
which are redunant, e.g. fp_i = 1 <=> fp_j = 1
where fp_i is the i'th fingerprint definition.
1 2 3 | get_fingerprint_mask(fps, remove_single_value = TRUE,
remove_redundant = TRUE, remove_low_variance = TRUE,
low_variance_tshd = 0.9)
|
fps |
binary matrix, shape (n_samples x n_fingerprints), e.g. the output
of |
remove_single_value |
binary, exclude fps with always the same value |
remove_redundant |
binary, exclude redundant fps |
remove_low_variance |
binary, exlcude fps with low variance |
low_variance_tshd |
scalar, threshold for low variance (default = 0.9, i.e. fps where >=90% of the examples have the same value are removed) |
binary vector (1 x n_fingerpints):
TRUE
: keep fingerprint
FALSE
: exclude fingerprint
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.