Description Usage Arguments Details
Note: this function is not guaranteed to produce the specified number of features (it might produce less).
1 | MPgetRandomSubspaces(f, n, d = 4, oversample = 4)
|
f |
character or integer vector, feature set |
n |
integer, number of required feature sets |
d |
integer, dimension of the required subspaces |
oversample |
numeric, used in randomization process (only becomes relevant when function starts to return fewer subspaces than requested, see description above) |
For example, if a feature set is of length 3 and user requets 5 sets of size 3, the output will contain only 1 (because there are not others).
If a feature set is of length 6 and user requests 20 sets of length 3, the output might contain fewer than 20. Although in this case there are exactly 20 sets of length 3, the randomization might not find them all. In such cases, try increasing the setting oversample.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.