shenweichen / DeepCTR-Torch

【PyTorch】Easy-to-use,Modular and Extendible package of deep-learning based CTR models.
https://deepctr-torch.readthedocs.io/en/latest/index.html
Apache License 2.0
2.95k stars 696 forks source link

fix bug #246

Closed zanshuxun closed 2 years ago

zanshuxun commented 2 years ago
  1. fix the bug #192 which is introduced in ac9ea22
  2. 完善测试用例,补充无linear part、无dense feature、无sparse feature的用例
  3. update doc examples
codecov[bot] commented 2 years ago

Codecov Report

Merging #246 (ac1630b) into release (b4d8181) will increase coverage by 0.46%. The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           release     #246      +/-   ##
===========================================
+ Coverage    92.22%   92.68%   +0.46%     
===========================================
  Files           30       30              
  Lines         2057     2173     +116     
===========================================
+ Hits          1897     2014     +117     
+ Misses         160      159       -1     
Flag Coverage Δ
pytest 92.68% <100.00%> (+0.46%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
deepctr_torch/models/basemodel.py 89.13% <100.00%> (+4.56%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b4d8181...ac1630b. Read the comment docs.