Skip to content

Commit 0c0a718

Browse files
author
浅梦
authored
add feature hashing and py2.7 support
- Support feature hashing on the fly in training and inference process example - Add python2.7 support - Refactor methods in input_embedding.py - Refactor layers and models
1 parent ab7cdd8 commit 0c0a718

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+1917
-1790
lines changed

.travis.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
language: python
44

55
python:
6+
- "2.7"
67
- "3.4"
78
- "3.5"
89
- "3.6"
9-
# - "3.7"
10+
#- "3.7"
1011

1112
env:
1213
# - TF_VERSION=1.13.1
@@ -15,14 +16,16 @@ env:
1516
#Not Support- TF_VERSION=1.7.0
1617
#Not Support- TF_VERSION=1.7.1
1718
#Not Support- TF_VERSION=1.8.0
18-
- TF_VERSION=1.9.0
19+
#- TF_VERSION=1.8.0
1920
- TF_VERSION=1.10.0 #- TF_VERSION=1.10.1
2021
# - TF_VERSION=1.11.0
21-
- TF_VERSION=1.5.1 #- TF_VERSION=1.5.0
22+
#- TF_VERSION=1.5.1 #- TF_VERSION=1.5.0
2223
- TF_VERSION=1.6.0
2324

2425
matrix:
2526
allow_failures:
27+
- python: "2.7"
28+
env: TF_VERSION=1.6.0 # to speed up
2629
- python: "3.4"
2730
- python: "3.5"
2831
- python: "3.7"

deepctr/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from . import layers
22
from . import models
3-
from .utils import check_version, SingleFeat, VarLenFeat
3+
from .utils import check_version
44

5-
__version__ = '0.3.4'
5+
__version__ = '0.4.0'
66
check_version(__version__)

0 commit comments

Comments
 (0)