v0.7.1
Change Log 中文版本更新说明
Major Features and Improvements
- Simplify VarLenSparseFeat,support setting weight_normalization. #163
Bug Fixes and Other Changes
- Fix problem of embedding size of
SparseFeatinlinear_feature_columns. #178
API changes
deepctr.layers.sequence.WeightedSequenceLayer
default value of weight_normalization in WeightedSequenceLayer is set to True。
-
previous:
deepctr.layers.sequence.WeightedSequenceLayer(weight_normalization=False, supports_masking=False) -
now:
deepctr.layers.sequence.WeightedSequenceLayer(weight_normalization=True, supports_masking=False)
deepctr.inputs.VarLenSparseFeat
Parameter list of VarLenSparseFeat consists of a instance of SparseFeat and parameters related to sequence.
-
previous:
VarLenSparseFeat(name, maxlen, vocabulary_size, embedding_dim=4, combiner="mean", use_hash=False, dtype="float32", length_name=None, weight_name=None, embedding_name=None, group_name=DEFAULT_GROUP_NAME) -
now:
VarLenSparseFeat(sparsefeat, maxlen, combiner="mean", length_name=None, weight_name=None, weight_norm=True)