C# Class Kooboo.Commerce.Recommendations.Engine.BehaviorBasedFeatureBuilder

基于用户行为的特征生成器,它将用户产生了行为的物品当作用户的特征,例如将用户购买的商品当作用户特征。 在生成特征时,也会加进时间衰减因子,让用户近期产生行为的物品有更高权重。
Inheritance: IFeatureBuilder
Exibir arquivo Open project: Kooboo/Ecommerce Class Usage Examples

Public Properties

Property Type Description
UtcNow Func

Public Methods

Method Description
BehaviorBasedFeatureBuilder ( Func behaviorsAccessor ) : System
BuildFeatures ( string userId ) : IEnumerable

Method Details

BehaviorBasedFeatureBuilder() public method

public BehaviorBasedFeatureBuilder ( Func behaviorsAccessor ) : System
behaviorsAccessor Func
return System

BuildFeatures() public method

public BuildFeatures ( string userId ) : IEnumerable
userId string
return IEnumerable

Property Details

UtcNow public_oe property

public Func UtcNow
return Func