lenskit.flexmf.FlexMFNCFConfig#
- class lenskit.flexmf.FlexMFNCFConfig(/, **data)#
Bases:
lenskit.flexmf._implicit.FlexMFImplicitConfigConfiguration for NCF (Neural Collaborative Filtering) Scorer. It inherits common training options and implicit-feedback settings from
FlexMFImplicitConfig. The inheritedembedding_sizefield is used as the GMF embedding size.- Stability:
Experimental
- Parameters:
data (Any)
- mlp_embedding_size: pydantic.PositiveInt = 8#
The size of the MLP embedding space.
- negative_count: pydantic.PositiveInt = 4#
The number of negative items to sample for each positive item. NCF defaults to 4, following the original NCF paper.