nextrec 0.2.5__tar.gz → 0.2.6__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. {nextrec-0.2.5 → nextrec-0.2.6}/.gitignore +1 -5
  2. {nextrec-0.2.5 → nextrec-0.2.6}/PKG-INFO +2 -2
  3. {nextrec-0.2.5 → nextrec-0.2.6}/README.md +1 -1
  4. {nextrec-0.2.5 → nextrec-0.2.6}/README_zh.md +1 -1
  5. {nextrec-0.2.5 → nextrec-0.2.6}/docs/rtd/conf.py +1 -1
  6. nextrec-0.2.6/nextrec/__version__.py +1 -0
  7. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/data/preprocessor.py +3 -2
  8. {nextrec-0.2.5 → nextrec-0.2.6}/pyproject.toml +1 -1
  9. nextrec-0.2.5/nextrec/__version__.py +0 -1
  10. {nextrec-0.2.5 → nextrec-0.2.6}/.github/workflows/publish.yml +0 -0
  11. {nextrec-0.2.5 → nextrec-0.2.6}/.github/workflows/tests.yml +0 -0
  12. {nextrec-0.2.5 → nextrec-0.2.6}/.readthedocs.yaml +0 -0
  13. {nextrec-0.2.5 → nextrec-0.2.6}/CODE_OF_CONDUCT.md +0 -0
  14. {nextrec-0.2.5 → nextrec-0.2.6}/CONTRIBUTING.md +0 -0
  15. {nextrec-0.2.5 → nextrec-0.2.6}/LICENSE +0 -0
  16. {nextrec-0.2.5 → nextrec-0.2.6}/MANIFEST.in +0 -0
  17. {nextrec-0.2.5 → nextrec-0.2.6}/dataset/match_task.csv +0 -0
  18. {nextrec-0.2.5 → nextrec-0.2.6}/dataset/movielens_100k.csv +0 -0
  19. {nextrec-0.2.5 → nextrec-0.2.6}/dataset/multitask_task.csv +0 -0
  20. {nextrec-0.2.5 → nextrec-0.2.6}/dataset/ranking_task.csv +0 -0
  21. {nextrec-0.2.5 → nextrec-0.2.6}/docs/rtd/Makefile +0 -0
  22. {nextrec-0.2.5 → nextrec-0.2.6}/docs/rtd/index.md +0 -0
  23. {nextrec-0.2.5 → nextrec-0.2.6}/docs/rtd/make.bat +0 -0
  24. {nextrec-0.2.5 → nextrec-0.2.6}/docs/rtd/modules.rst +0 -0
  25. {nextrec-0.2.5 → nextrec-0.2.6}/docs/rtd/nextrec.basic.rst +0 -0
  26. {nextrec-0.2.5 → nextrec-0.2.6}/docs/rtd/nextrec.data.rst +0 -0
  27. {nextrec-0.2.5 → nextrec-0.2.6}/docs/rtd/nextrec.loss.rst +0 -0
  28. {nextrec-0.2.5 → nextrec-0.2.6}/docs/rtd/nextrec.rst +0 -0
  29. {nextrec-0.2.5 → nextrec-0.2.6}/docs/rtd/nextrec.utils.rst +0 -0
  30. {nextrec-0.2.5 → nextrec-0.2.6}/docs/rtd/requirements.txt +0 -0
  31. {nextrec-0.2.5 → nextrec-0.2.6}/docs/zh//345/277/253/351/200/237/344/270/212/346/211/213.md" +0 -0
  32. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/__init__.py +0 -0
  33. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/basic/__init__.py +0 -0
  34. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/basic/activation.py +0 -0
  35. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/basic/callback.py +0 -0
  36. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/basic/features.py +0 -0
  37. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/basic/layers.py +0 -0
  38. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/basic/loggers.py +0 -0
  39. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/basic/metrics.py +0 -0
  40. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/basic/model.py +0 -0
  41. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/basic/session.py +0 -0
  42. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/data/__init__.py +0 -0
  43. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/data/data_utils.py +0 -0
  44. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/data/dataloader.py +0 -0
  45. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/loss/__init__.py +0 -0
  46. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/loss/listwise.py +0 -0
  47. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/loss/loss_utils.py +0 -0
  48. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/loss/pairwise.py +0 -0
  49. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/loss/pointwise.py +0 -0
  50. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/generative/hstu.py +0 -0
  51. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/generative/tiger.py +0 -0
  52. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/match/__init__.py +0 -0
  53. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/match/dssm.py +0 -0
  54. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/match/dssm_v2.py +0 -0
  55. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/match/mind.py +0 -0
  56. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/match/sdm.py +0 -0
  57. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/match/youtube_dnn.py +0 -0
  58. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/multi_task/esmm.py +0 -0
  59. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/multi_task/mmoe.py +0 -0
  60. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/multi_task/ple.py +0 -0
  61. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/multi_task/share_bottom.py +0 -0
  62. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/ranking/__init__.py +0 -0
  63. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/ranking/afm.py +0 -0
  64. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/ranking/autoint.py +0 -0
  65. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/ranking/dcn.py +0 -0
  66. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/ranking/deepfm.py +0 -0
  67. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/ranking/dien.py +0 -0
  68. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/ranking/din.py +0 -0
  69. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/ranking/fibinet.py +0 -0
  70. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/ranking/fm.py +0 -0
  71. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/ranking/masknet.py +0 -0
  72. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/ranking/pnn.py +0 -0
  73. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/ranking/widedeep.py +0 -0
  74. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/ranking/xdeepfm.py +0 -0
  75. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/utils/__init__.py +0 -0
  76. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/utils/common.py +0 -0
  77. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/utils/embedding.py +0 -0
  78. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/utils/initializer.py +0 -0
  79. {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/utils/optimizer.py +0 -0
  80. {nextrec-0.2.5 → nextrec-0.2.6}/pytest.ini +0 -0
  81. {nextrec-0.2.5 → nextrec-0.2.6}/requirements.txt +0 -0
  82. {nextrec-0.2.5 → nextrec-0.2.6}/test/__init__.py +0 -0
  83. {nextrec-0.2.5 → nextrec-0.2.6}/test/conftest.py +0 -0
  84. {nextrec-0.2.5 → nextrec-0.2.6}/test/run_tests.py +0 -0
  85. {nextrec-0.2.5 → nextrec-0.2.6}/test/test_layers.py +0 -0
  86. {nextrec-0.2.5 → nextrec-0.2.6}/test/test_losses.py +0 -0
  87. {nextrec-0.2.5 → nextrec-0.2.6}/test/test_match_models.py +0 -0
  88. {nextrec-0.2.5 → nextrec-0.2.6}/test/test_multitask_models.py +0 -0
  89. {nextrec-0.2.5 → nextrec-0.2.6}/test/test_preprocessor.py +0 -0
  90. {nextrec-0.2.5 → nextrec-0.2.6}/test/test_ranking_models.py +0 -0
  91. {nextrec-0.2.5 → nextrec-0.2.6}/test/test_utils.py +0 -0
  92. {nextrec-0.2.5 → nextrec-0.2.6}/test_requirements.txt +0 -0
  93. {nextrec-0.2.5 → nextrec-0.2.6}/tutorials/example_match_dssm.py +0 -0
  94. {nextrec-0.2.5 → nextrec-0.2.6}/tutorials/example_multitask.py +0 -0
  95. {nextrec-0.2.5 → nextrec-0.2.6}/tutorials/example_ranking_din.py +0 -0
  96. {nextrec-0.2.5 → nextrec-0.2.6}/tutorials/movielen_match_dssm.py +0 -0
  97. {nextrec-0.2.5 → nextrec-0.2.6}/tutorials/movielen_ranking_deepfm.py +0 -0
@@ -115,11 +115,7 @@ dmypy.json
115
115
  .temp/
116
116
 
117
117
  # test files
118
- local_deepfm.py
119
- local_mmoe.py
120
- online_test.py
121
- linux_train_tutorial.py
122
- linux_predict_tutorial.py
118
+ *iflytek*
123
119
 
124
120
  # DataProcessor saved files
125
121
  processor/
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nextrec
3
- Version: 0.2.5
3
+ Version: 0.2.6
4
4
  Summary: A comprehensive recommendation library with match, ranking, and multi-task learning models
5
5
  Project-URL: Homepage, https://github.com/zerolovesea/NextRec
6
6
  Project-URL: Repository, https://github.com/zerolovesea/NextRec
@@ -61,7 +61,7 @@ Description-Content-Type: text/markdown
61
61
  ![Python](https://img.shields.io/badge/Python-3.10+-blue.svg)
62
62
  ![PyTorch](https://img.shields.io/badge/PyTorch-1.10+-ee4c2c.svg)
63
63
  ![License](https://img.shields.io/badge/License-Apache%202.0-green.svg)
64
- ![Version](https://img.shields.io/badge/Version-0.2.5-orange.svg)
64
+ ![Version](https://img.shields.io/badge/Version-0.2.6-orange.svg)
65
65
 
66
66
  English | [中文版](README_zh.md)
67
67
 
@@ -5,7 +5,7 @@
5
5
  ![Python](https://img.shields.io/badge/Python-3.10+-blue.svg)
6
6
  ![PyTorch](https://img.shields.io/badge/PyTorch-1.10+-ee4c2c.svg)
7
7
  ![License](https://img.shields.io/badge/License-Apache%202.0-green.svg)
8
- ![Version](https://img.shields.io/badge/Version-0.2.5-orange.svg)
8
+ ![Version](https://img.shields.io/badge/Version-0.2.6-orange.svg)
9
9
 
10
10
  English | [中文版](README_zh.md)
11
11
 
@@ -5,7 +5,7 @@
5
5
  ![Python](https://img.shields.io/badge/Python-3.10+-blue.svg)
6
6
  ![PyTorch](https://img.shields.io/badge/PyTorch-1.10+-ee4c2c.svg)
7
7
  ![License](https://img.shields.io/badge/License-Apache%202.0-green.svg)
8
- ![Version](https://img.shields.io/badge/Version-0.2.5-orange.svg)
8
+ ![Version](https://img.shields.io/badge/Version-0.2.6-orange.svg)
9
9
 
10
10
  [English Version](README.md) | 中文版
11
11
 
@@ -11,7 +11,7 @@ sys.path.insert(0, str(PROJECT_ROOT / "nextrec"))
11
11
  project = "NextRec"
12
12
  copyright = "2025, Yang Zhou"
13
13
  author = "Yang Zhou"
14
- release = "0.2.5"
14
+ release = "0.2.6"
15
15
 
16
16
  extensions = [
17
17
  "myst_parser",
@@ -0,0 +1 @@
1
+ __version__ = "0.2.6"
@@ -614,7 +614,8 @@ class DataProcessor(FeatureSpecMixin):
614
614
  columns_dict = {}
615
615
  for key, value in result.items():
616
616
  if key in self.sequence_features:
617
- columns_dict[key] = [list(seq) for seq in value]
617
+ # Use tolist to coerce numpy scalars to native Python ints for stable CSV rendering
618
+ columns_dict[key] = [np.asarray(seq).tolist() for seq in value]
618
619
  else:
619
620
  columns_dict[key] = value
620
621
  return pd.DataFrame(columns_dict)
@@ -769,7 +770,7 @@ class DataProcessor(FeatureSpecMixin):
769
770
  default_dir=Path(os.getcwd()),
770
771
  default_name="fitted_processor",
771
772
  suffix=".pkl",
772
- add_timestamp=True
773
+ add_timestamp=False
773
774
  )
774
775
  state = {
775
776
  "numeric_features": self.numeric_features,
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "nextrec"
3
- version = "0.2.5"
3
+ version = "0.2.6"
4
4
  description = "A comprehensive recommendation library with match, ranking, and multi-task learning models"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -1 +0,0 @@
1
- __version__ = "0.2.5"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes