outbrain / fwumious_wabbit

Fwumious Wabbit, fast on-line machine learning toolkit written in Rust
Other
133 stars 19 forks source link

Field interactions #54

Open andraztori opened 2 years ago

andraztori commented 2 years ago

implement ability to specify specific field interaction parameters the feature gets turned on with --ffm_interaction_matrix then field weights can be expressed by --ffm_interaction field_id_1:field_id_2:weight

weight 0 means the interaction is fully masked out. default is weight 1.0 everywhere field ids are sequential ids of fields as passed by field declaration parameters

WARNING: since fields are not named, this means that any change to order of field declarations requires careful adjustment of interactions too...

ping @adischw