Skip to content

v0.7.1

Choose a tag to compare

@shenweichen shenweichen released this 28 Jan 06:55
· 53 commits to master since this release
dcf583f

Change Log 中文版本更新说明

Major Features and Improvements

Bug Fixes and Other Changes

  • Fix problem of embedding size of SparseFeat in linear_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)