nextrec 0.1.7__tar.gz → 0.1.10__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 (94) hide show
  1. {nextrec-0.1.7 → nextrec-0.1.10}/.gitignore +1 -0
  2. {nextrec-0.1.7 → nextrec-0.1.10}/PKG-INFO +11 -6
  3. {nextrec-0.1.7 → nextrec-0.1.10}/docs/conf.py +1 -1
  4. nextrec-0.1.10/nextrec/__version__.py +1 -0
  5. {nextrec-0.1.7 → nextrec-0.1.10}/pyproject.toml +14 -7
  6. nextrec-0.1.10/requirements.txt +32 -0
  7. nextrec-0.1.7/nextrec/__version__.py +0 -1
  8. nextrec-0.1.7/requirements.txt +0 -25
  9. {nextrec-0.1.7 → nextrec-0.1.10}/.github/workflows/publish.yml +0 -0
  10. {nextrec-0.1.7 → nextrec-0.1.10}/.github/workflows/tests.yml +0 -0
  11. {nextrec-0.1.7 → nextrec-0.1.10}/.readthedocs.yaml +0 -0
  12. {nextrec-0.1.7 → nextrec-0.1.10}/CODE_OF_CONDUCT.md +0 -0
  13. {nextrec-0.1.7 → nextrec-0.1.10}/CONTRIBUTING.md +0 -0
  14. {nextrec-0.1.7 → nextrec-0.1.10}/LICENSE +0 -0
  15. {nextrec-0.1.7 → nextrec-0.1.10}/MANIFEST.in +0 -0
  16. {nextrec-0.1.7 → nextrec-0.1.10}/README.md +0 -0
  17. {nextrec-0.1.7 → nextrec-0.1.10}/README_zh.md +0 -0
  18. {nextrec-0.1.7 → nextrec-0.1.10}/dataset/match_task.csv +0 -0
  19. {nextrec-0.1.7 → nextrec-0.1.10}/dataset/movielens_100k.csv +0 -0
  20. {nextrec-0.1.7 → nextrec-0.1.10}/dataset/multitask_task.csv +0 -0
  21. {nextrec-0.1.7 → nextrec-0.1.10}/dataset/ranking_task.csv +0 -0
  22. {nextrec-0.1.7 → nextrec-0.1.10}/docs/Makefile +0 -0
  23. {nextrec-0.1.7 → nextrec-0.1.10}/docs/index.rst +0 -0
  24. {nextrec-0.1.7 → nextrec-0.1.10}/docs/make.bat +0 -0
  25. {nextrec-0.1.7 → nextrec-0.1.10}/docs/modules.rst +0 -0
  26. {nextrec-0.1.7 → nextrec-0.1.10}/docs/nextrec.basic.rst +0 -0
  27. {nextrec-0.1.7 → nextrec-0.1.10}/docs/nextrec.data.rst +0 -0
  28. {nextrec-0.1.7 → nextrec-0.1.10}/docs/nextrec.loss.rst +0 -0
  29. {nextrec-0.1.7 → nextrec-0.1.10}/docs/nextrec.rst +0 -0
  30. {nextrec-0.1.7 → nextrec-0.1.10}/docs/nextrec.utils.rst +0 -0
  31. {nextrec-0.1.7 → nextrec-0.1.10}/docs/requirements.txt +0 -0
  32. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/__init__.py +0 -0
  33. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/basic/__init__.py +0 -0
  34. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/basic/activation.py +0 -0
  35. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/basic/callback.py +0 -0
  36. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/basic/dataloader.py +0 -0
  37. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/basic/features.py +0 -0
  38. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/basic/layers.py +0 -0
  39. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/basic/loggers.py +0 -0
  40. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/basic/metrics.py +0 -0
  41. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/basic/model.py +0 -0
  42. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/data/__init__.py +0 -0
  43. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/data/data_utils.py +0 -0
  44. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/data/preprocessor.py +0 -0
  45. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/loss/__init__.py +0 -0
  46. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/loss/loss_utils.py +0 -0
  47. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/loss/match_losses.py +0 -0
  48. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/models/generative/hstu.py +0 -0
  49. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/models/generative/tiger.py +0 -0
  50. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/models/match/__init__.py +0 -0
  51. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/models/match/dssm.py +0 -0
  52. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/models/match/dssm_v2.py +0 -0
  53. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/models/match/mind.py +0 -0
  54. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/models/match/sdm.py +0 -0
  55. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/models/match/youtube_dnn.py +0 -0
  56. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/models/multi_task/esmm.py +0 -0
  57. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/models/multi_task/mmoe.py +0 -0
  58. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/models/multi_task/ple.py +0 -0
  59. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/models/multi_task/share_bottom.py +0 -0
  60. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/models/ranking/__init__.py +0 -0
  61. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/models/ranking/afm.py +0 -0
  62. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/models/ranking/autoint.py +0 -0
  63. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/models/ranking/dcn.py +0 -0
  64. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/models/ranking/deepfm.py +0 -0
  65. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/models/ranking/dien.py +0 -0
  66. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/models/ranking/din.py +0 -0
  67. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/models/ranking/fibinet.py +0 -0
  68. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/models/ranking/fm.py +0 -0
  69. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/models/ranking/masknet.py +0 -0
  70. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/models/ranking/pnn.py +0 -0
  71. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/models/ranking/widedeep.py +0 -0
  72. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/models/ranking/xdeepfm.py +0 -0
  73. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/utils/__init__.py +0 -0
  74. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/utils/common.py +0 -0
  75. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/utils/embedding.py +0 -0
  76. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/utils/initializer.py +0 -0
  77. {nextrec-0.1.7 → nextrec-0.1.10}/nextrec/utils/optimizer.py +0 -0
  78. {nextrec-0.1.7 → nextrec-0.1.10}/pytest.ini +0 -0
  79. {nextrec-0.1.7 → nextrec-0.1.10}/test/__init__.py +0 -0
  80. {nextrec-0.1.7 → nextrec-0.1.10}/test/conftest.py +0 -0
  81. {nextrec-0.1.7 → nextrec-0.1.10}/test/run_tests.py +0 -0
  82. {nextrec-0.1.7 → nextrec-0.1.10}/test/test_data_preprocessor.py +0 -0
  83. {nextrec-0.1.7 → nextrec-0.1.10}/test/test_dataloader.py +0 -0
  84. {nextrec-0.1.7 → nextrec-0.1.10}/test/test_layers.py +0 -0
  85. {nextrec-0.1.7 → nextrec-0.1.10}/test/test_match_models.py +0 -0
  86. {nextrec-0.1.7 → nextrec-0.1.10}/test/test_multitask_models.py +0 -0
  87. {nextrec-0.1.7 → nextrec-0.1.10}/test/test_ranking_models.py +0 -0
  88. {nextrec-0.1.7 → nextrec-0.1.10}/test/test_utils.py +0 -0
  89. {nextrec-0.1.7 → nextrec-0.1.10}/test_requirements.txt +0 -0
  90. {nextrec-0.1.7 → nextrec-0.1.10}/tutorials/example_match_dssm.py +0 -0
  91. {nextrec-0.1.7 → nextrec-0.1.10}/tutorials/example_multitask.py +0 -0
  92. {nextrec-0.1.7 → nextrec-0.1.10}/tutorials/example_ranking_din.py +0 -0
  93. {nextrec-0.1.7 → nextrec-0.1.10}/tutorials/movielen_match_dssm.py +0 -0
  94. {nextrec-0.1.7 → nextrec-0.1.10}/tutorials/movielen_ranking_deepfm.py +0 -0
@@ -117,6 +117,7 @@ dmypy.json
117
117
  local_deepfm.py
118
118
  local_mmoe.py
119
119
  online_test.py
120
+ linux_train_tutorial.py
120
121
 
121
122
  # DataProcessor saved files
122
123
  processor/
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nextrec
3
- Version: 0.1.7
3
+ Version: 0.1.10
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
@@ -19,21 +19,26 @@ Classifier: Programming Language :: Python :: 3.11
19
19
  Classifier: Programming Language :: Python :: 3.12
20
20
  Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
21
21
  Requires-Python: >=3.10
22
- Requires-Dist: numpy<2.0,>=1.21; sys_platform == 'linux'
22
+ Requires-Dist: numpy<2.0,>=1.21; sys_platform == 'linux' and python_version < '3.12'
23
+ Requires-Dist: numpy<3.0,>=1.26; sys_platform == 'linux' and python_version >= '3.12'
23
24
  Requires-Dist: numpy>=1.23.0; sys_platform == 'win32'
24
25
  Requires-Dist: numpy>=1.24.0; sys_platform == 'darwin'
25
- Requires-Dist: pandas<2.0,>=1.5; sys_platform == 'linux'
26
+ Requires-Dist: pandas<2.0,>=1.5; sys_platform == 'linux' and python_version < '3.12'
26
27
  Requires-Dist: pandas<2.3.0,>=2.1.0; sys_platform == 'win32'
27
28
  Requires-Dist: pandas>=2.0.0; sys_platform == 'darwin'
28
- Requires-Dist: pyarrow<13.0.0,>=10.0.0; sys_platform == 'linux'
29
+ Requires-Dist: pandas>=2.1.0; sys_platform == 'linux' and python_version >= '3.12'
30
+ Requires-Dist: pyarrow<13.0.0,>=10.0.0; sys_platform == 'linux' and python_version < '3.12'
29
31
  Requires-Dist: pyarrow<15.0.0,>=12.0.0; sys_platform == 'win32'
30
32
  Requires-Dist: pyarrow>=12.0.0; sys_platform == 'darwin'
31
- Requires-Dist: scikit-learn<2.0,>=1.2; sys_platform == 'linux'
33
+ Requires-Dist: pyarrow>=16.0.0; sys_platform == 'linux' and python_version >= '3.12'
34
+ Requires-Dist: scikit-learn<2.0,>=1.2; sys_platform == 'linux' and python_version < '3.12'
32
35
  Requires-Dist: scikit-learn>=1.3.0; sys_platform == 'darwin'
36
+ Requires-Dist: scikit-learn>=1.3.0; sys_platform == 'linux' and python_version >= '3.12'
33
37
  Requires-Dist: scikit-learn>=1.3.0; sys_platform == 'win32'
34
- Requires-Dist: scipy<1.12,>=1.8; sys_platform == 'linux'
38
+ Requires-Dist: scipy<1.12,>=1.8; sys_platform == 'linux' and python_version < '3.12'
35
39
  Requires-Dist: scipy>=1.10.0; sys_platform == 'darwin'
36
40
  Requires-Dist: scipy>=1.10.0; sys_platform == 'win32'
41
+ Requires-Dist: scipy>=1.11.0; sys_platform == 'linux' and python_version >= '3.12'
37
42
  Requires-Dist: torch>=2.0.0
38
43
  Requires-Dist: torchvision>=0.15.0
39
44
  Requires-Dist: tqdm>=4.65.0
@@ -12,7 +12,7 @@ sys.path.insert(0, os.path.abspath('../nextrec'))
12
12
  project = "NextRec"
13
13
  copyright = "2025, Yang Zhou"
14
14
  author = "Yang Zhou"
15
- release = "0.1.7"
15
+ release = "0.1.10"
16
16
 
17
17
  # -- General configuration ---------------------------------------------------
18
18
  # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
@@ -0,0 +1 @@
1
+ __version__ = "0.1.10"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "nextrec"
3
- version = "0.1.7"
3
+ version = "0.1.10"
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"
@@ -38,12 +38,19 @@ dependencies = [
38
38
  "scikit-learn>=1.3.0; sys_platform == 'win32'",
39
39
  "pyarrow>=12.0.0,<15.0.0; sys_platform == 'win32'",
40
40
 
41
- #linux
42
- "numpy>=1.21,<2.0; sys_platform == 'linux'",
43
- "pandas>=1.5,<2.0; sys_platform == 'linux'",
44
- "scipy>=1.8,<1.12; sys_platform == 'linux'",
45
- "scikit-learn>=1.2,<2.0; sys_platform == 'linux'",
46
- "pyarrow>=10.0.0,<13.0.0; sys_platform == 'linux'",
41
+ # Linux, Python < 3.12
42
+ "numpy>=1.21,<2.0; sys_platform == 'linux' and python_version < '3.12'",
43
+ "pandas>=1.5,<2.0; sys_platform == 'linux' and python_version < '3.12'",
44
+ "scipy>=1.8,<1.12; sys_platform == 'linux' and python_version < '3.12'",
45
+ "scikit-learn>=1.2,<2.0; sys_platform == 'linux' and python_version < '3.12'",
46
+ "pyarrow>=10.0.0,<13.0.0; sys_platform == 'linux' and python_version < '3.12'",
47
+
48
+ # Linux, Python >= 3.12
49
+ "numpy>=1.26,<3.0; sys_platform == 'linux' and python_version >= '3.12'",
50
+ "pandas>=2.1.0; sys_platform == 'linux' and python_version >= '3.12'",
51
+ "scipy>=1.11.0; sys_platform == 'linux' and python_version >= '3.12'",
52
+ "scikit-learn>=1.3.0; sys_platform == 'linux' and python_version >= '3.12'",
53
+ "pyarrow>=16.0.0; sys_platform == 'linux' and python_version >= '3.12'",
47
54
  ]
48
55
 
49
56
  [project.optional-dependencies]
@@ -0,0 +1,32 @@
1
+ torch>=2.0.0
2
+ torchvision>=0.15.0
3
+
4
+ tqdm>=4.65.0
5
+
6
+ # ---------------- macOS ----------------
7
+ numpy>=1.24,<2.0; sys_platform == "darwin"
8
+ pandas>=2.0.0; sys_platform == "darwin"
9
+ scipy>=1.10.0; sys_platform == "darwin"
10
+ scikit-learn>=1.3.0; sys_platform == "darwin"
11
+ pyarrow>=12.0.0,<18.0.0; sys_platform == "darwin"
12
+
13
+ # ---------------- Windows ----------------
14
+ numpy>=1.21,<2.0; sys_platform == "linux" and python_version < "3.12"
15
+ pandas>=1.5,<2.0; sys_platform == "linux" and python_version < "3.12"
16
+ scipy>=1.8,<1.12; sys_platform == "linux" and python_version < "3.12"
17
+ scikit-learn>=1.2,<2.0; sys_platform == "linux" and python_version < "3.12"
18
+ pyarrow>=10.0.0,<13.0.0; sys_platform == "linux" and python_version < "3.12"
19
+
20
+ # ---------------- Linux gcc 4.8.5 ----------------
21
+ numpy>=1.21,<2.0; sys_platform == "linux" and python_version < "3.12"
22
+ pandas>=1.5,<2.0; sys_platform == "linux" and python_version < "3.12"
23
+ scipy>=1.8,<1.12; sys_platform == "linux" and python_version < "3.12"
24
+ scikit-learn>=1.2,<2.0; sys_platform == "linux" and python_version < "3.12"
25
+ pyarrow>=10.0.0,<13.0.0; sys_platform == "linux" and python_version < "3.12"
26
+
27
+ # ---------------- Linux python 3.12+ ----------------
28
+ numpy>=1.26,<3.0; sys_platform == "linux" and python_version >= "3.12"
29
+ pandas>=2.1.0; sys_platform == "linux" and python_version >= "3.12"
30
+ scipy>=1.11.0; sys_platform == "linux" and python_version >= "3.12"
31
+ scikit-learn>=1.3.0; sys_platform == "linux" and python_version >= "3.12"
32
+ pyarrow>=16.0.0; sys_platform == "linux" and python_version >= "3.12"
@@ -1 +0,0 @@
1
- __version__ = "0.1.7"
@@ -1,25 +0,0 @@
1
- torch>=2.0.0
2
- torchvision>=0.15.0
3
-
4
- tqdm>=4.65.0
5
-
6
- # ---------------- macOS ----------------
7
- numpy>=1.24,<2.0; sys_platform == "darwin"
8
- pandas>=2.0.0; sys_platform == "darwin"
9
- scipy>=1.10.0; sys_platform == "darwin"
10
- scikit-learn>=1.3.0; sys_platform == "darwin"
11
- pyarrow>=12.0.0,<18.0.0; sys_platform == "darwin"
12
-
13
- # ---------------- Windows ----------------
14
- numpy>=1.23,<2.0; sys_platform == "win32"
15
- pandas>=2.1.0,<2.3.0; sys_platform == "win32"
16
- scipy>=1.10.0; sys_platform == "win32"
17
- scikit-learn>=1.3.0; sys_platform == "win32"
18
- pyarrow>=12.0.0,<18.0.0; sys_platform == "win32"
19
-
20
- # ---------------- Linux(兼容 gcc 4.8.5) ----------------
21
- numpy>=1.21,<2.0; sys_platform == "linux"
22
- pandas>=1.5,<2.0; sys_platform == "linux"
23
- scipy>=1.8,<1.12; sys_platform == "linux"
24
- scikit-learn>=1.2,<2.0; sys_platform == "linux"
25
- pyarrow>=10.0.0,<13.0.0; sys_platform == "linux"
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
File without changes
File without changes
File without changes