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
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/question.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@ labels: question
6
6
assignees: ''
7
7
8
8
---
9
+
Please refer to the [FAQ](https://deepctr-doc.readthedocs.io/en/latest/FAQ.html) in doc and search for the [related issues](https://github.com/shenweichen/DeepCTR/issues) before you ask the question.
9
10
10
11
**Describe the question(问题描述)**
11
12
A clear and concise description of what the question is.
@@ -16,4 +17,4 @@ Add any other context about the problem here.
Copy file name to clipboardExpand all lines: docs/source/Examples.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -218,8 +218,6 @@ There are 2 additional steps to use DeepCTR with sequence feature input.
218
218
- embedding : default `True`.If `False`, the feature will not be embeded to a dense vector.
219
219
220
220
221
-
Now multi-value input is avaliable for `AFM,AutoInt,DCN,DeepFM,FNN,NFM,PNN,xDeepFM,CCPM,FGCNN`,for `DIN,DIEN,DSIN` please read the example in [run_din.py](https://github.com/shenweichen/DeepCTR/blob/master/examples/run_din.py),[run_dien.py](https://github.com/shenweichen/DeepCTR/blob/master/examples/run_dien.py) and [run_dsin.py](https://github.com/shenweichen/DeepCTR/blob/master/examples/run_dsin.py)
222
-
223
221
This example shows how to use ``DeepFM`` with sequence(multi-value) feature. You can get the demo data
224
222
[movielens_sample.txt](https://github.com/shenweichen/DeepCTR/tree/master/examples/movielens_sample.txt) and run the following codes.
Now multi-value input is avaliable for `AFM,AutoInt,DCN,DeepFM,FNN,NFM,PNN,xDeepFM`,you can read the example [here](./Examples.html#multi-value-input-movielens).
87
+
## 5. How to add a long dense feature vector as a input to the model?
88
+
```python
89
+
from deepctr.models import DeepFM
90
+
from deepctr.inputs import DenseFeat,SparseFeat,get_fixlen_feature_names
91
+
import numpy as np
66
92
67
-
For `DIN` please read the code example in [run_din.py](https://github.com/shenweichen/DeepCTR/blob/master/examples/run_din.py
0 commit comments