You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""The Attentional sequence pooling operation used in DIN.
187
187
@@ -463,7 +463,8 @@ def build(self, input_shape):
463
463
embedding_size=int(input_shape[0][-1])
464
464
ifself.num_units!=embedding_size:
465
465
raiseValueError(
466
-
"att_embedding_size * head_num must equal the last dimension size of inputs,got %d * %d != %d"% (self.att_embedding_size,self.head_num,embedding_size))
466
+
"att_embedding_size * head_num must equal the last dimension size of inputs,got %d * %d != %d"% (
Copy file name to clipboardexpand all lines: deepctr/utils.py
+2-3
Original file line number
Diff line number
Diff line change
@@ -32,16 +32,15 @@ def check(version):
32
32
releases=j.get('releases', [])
33
33
forreleaseinreleases:
34
34
ver=parse(release)
35
-
ifver.is_prereleaseorver.is_postrelease:
35
+
ifver.is_prereleaseorver.is_postrelease:
36
36
continue
37
37
latest_version=max(latest_version, ver)
38
38
iflatest_version>version:
39
39
logging.warning(
40
40
'\nDeepCTR version {0} detected. Your version is {1}.\nUse `pip install -U deepctr` to upgrade.Changelog: https://github.com/shenweichen/DeepCTR/releases/tag/v{0}'.format(
41
41
latest_version, version))
42
-
exceptExceptionase:
42
+
except:
43
43
print("Please check the latest version manually on https://pypi.org/project/deepctr/#history")
Copy file name to clipboardexpand all lines: docs/source/Features.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -222,13 +222,13 @@ By stacking multiple interacting layers,AutoInt is able to model different order
222
222
223
223
[Song W, Shi C, Xiao Z, et al. AutoInt: Automatic Feature Interaction Learning via Self-Attentive Neural Networks[J]. arXiv preprint arXiv:1810.11921, 2018.](https://arxiv.org/abs/1810.11921)
224
224
225
-
### NFFM(Operation-aware Neural Networks for User Response Prediction)
225
+
### ONN(Operation-aware Neural Networks for User Response Prediction)
226
226
227
-
NFFM models second order feature interactions like like FFM and preserves second-order interaction information as much as possible.Further more,deep neural network is used to learn higher-ordered feature interactions.
227
+
ONN models second order feature interactions like like FFM and preserves second-order interaction information as much as possible.Further more,deep neural network is used to learn higher-ordered feature interactions.
228
228
229
-
[**NFFM Model API**](./deepctr.models.nffm.html)
229
+
[**ONN Model API**](./deepctr.models.onn.html)
230
230
231
-

231
+

232
232
233
233
[Yang Y, Xu B, Shen F, et al. Operation-aware Neural Networks for User Response Prediction[J]. arXiv preprint arXiv:1904.12579, 2019.](https://arxiv.org/pdf/1904.12579.pdf)
Copy file name to clipboardexpand all lines: docs/source/History.md
+1
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,5 @@
1
1
# History
2
+
- 02/08/2020 : [v0.7.2](https://github.com/shenweichen/DeepCTR/releases/tag/v0.7.2) released.Fix some bugs.
2
3
- 01/28/2020 : [v0.7.1](https://github.com/shenweichen/DeepCTR/releases/tag/v0.7.1) released.Simplify [VarLenSparseFeat](./Features.html#varlensparsefeat),support setting weight_normalization.Fix problem of embedding size of `SparseFeat` in `linear_feature_columns`.
3
4
- 11/24/2019 : [v0.7.0](https://github.com/shenweichen/DeepCTR/releases/tag/v0.7.0) released.Refactor [feature columns](./Features.html#feature-columns).Different features can use different `embedding_dim` and group-wise interaction is available by setting `group_name`.
4
5
- 11/06/2019 : [v0.6.3](https://github.com/shenweichen/DeepCTR/releases/tag/v0.6.3) released.Add `WeightedSequenceLayer` and support [weighted sequence feature input](./Examples.html#multi-value-input-movielens).
Copy file name to clipboardexpand all lines: docs/source/index.rst
+2-2
Original file line number
Diff line number
Diff line change
@@ -34,12 +34,12 @@ You can read the latest code at https://github.com/shenweichen/DeepCTR
34
34
35
35
News
36
36
-----
37
+
02/08/2020 : Fix some bugs. `Changelog <https://github.com/shenweichen/DeepCTR/releases/tag/v0.7.2>`_
38
+
37
39
01/28/2020 : Simplify `VarLenSparseFeat <./Features.html#varlensparsefeat>`_ ,support setting weight_normalization.Fix problem of embedding size of ``SparseFeat`` in ``linear_feature_columns``. `Changelog <https://github.com/shenweichen/DeepCTR/releases/tag/v0.7.1>`_
38
40
39
41
11/24/2019 : Refactor `feature columns <./Features.html#feature-columns>`_ . Different features can use different ``embedding_dim`` and group-wise interaction is available by setting ``group_name``. `Changelog <https://github.com/shenweichen/DeepCTR/releases/tag/v0.7.0>`_
40
42
41
-
11/06/2019 : Add ``WeightedSequenceLayer`` and support `weighted sequence feature input <./Examples.html#multi-value-input-movielens>`_. `Changelog <https://github.com/shenweichen/DeepCTR/releases/tag/v0.6.3>`_
0 commit comments