SparseKernelExpander.this

Instantiate a new SparseKernelExpander layer.

  1. this()
  2. this(ulong dim_out, string cross_feats_str, uint max_group_id, uint buff_single_feats_sz)
    class SparseKernelExpander
    this
    (
    ulong dim_out
    ,,
    uint max_group_id = 100u
    ,
    uint buff_single_feats_sz = 50_000
    )

Parameters

dim_out ulong

total dimensionality of the input data

cross_feats_str string

a string of the form 1^3,2^4^1 specifying which groups need to be crossed. The commas delimit the groups, the carets delimit the group ids present in the monomial

max_group_id uint

maximum group id present in the data, 1-indexed

buff_single_feats_sz uint

upper bound of the maximum number of features per row post expansion

Meta