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.
- {nextrec-0.2.5 → nextrec-0.2.6}/.gitignore +1 -5
- {nextrec-0.2.5 → nextrec-0.2.6}/PKG-INFO +2 -2
- {nextrec-0.2.5 → nextrec-0.2.6}/README.md +1 -1
- {nextrec-0.2.5 → nextrec-0.2.6}/README_zh.md +1 -1
- {nextrec-0.2.5 → nextrec-0.2.6}/docs/rtd/conf.py +1 -1
- nextrec-0.2.6/nextrec/__version__.py +1 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/data/preprocessor.py +3 -2
- {nextrec-0.2.5 → nextrec-0.2.6}/pyproject.toml +1 -1
- nextrec-0.2.5/nextrec/__version__.py +0 -1
- {nextrec-0.2.5 → nextrec-0.2.6}/.github/workflows/publish.yml +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/.github/workflows/tests.yml +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/.readthedocs.yaml +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/CODE_OF_CONDUCT.md +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/CONTRIBUTING.md +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/LICENSE +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/MANIFEST.in +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/dataset/match_task.csv +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/dataset/movielens_100k.csv +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/dataset/multitask_task.csv +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/dataset/ranking_task.csv +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/docs/rtd/Makefile +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/docs/rtd/index.md +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/docs/rtd/make.bat +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/docs/rtd/modules.rst +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/docs/rtd/nextrec.basic.rst +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/docs/rtd/nextrec.data.rst +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/docs/rtd/nextrec.loss.rst +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/docs/rtd/nextrec.rst +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/docs/rtd/nextrec.utils.rst +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/docs/rtd/requirements.txt +0 -0
- {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
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/__init__.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/basic/__init__.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/basic/activation.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/basic/callback.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/basic/features.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/basic/layers.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/basic/loggers.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/basic/metrics.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/basic/model.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/basic/session.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/data/__init__.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/data/data_utils.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/data/dataloader.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/loss/__init__.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/loss/listwise.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/loss/loss_utils.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/loss/pairwise.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/loss/pointwise.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/generative/hstu.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/generative/tiger.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/match/__init__.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/match/dssm.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/match/dssm_v2.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/match/mind.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/match/sdm.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/match/youtube_dnn.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/multi_task/esmm.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/multi_task/mmoe.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/multi_task/ple.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/multi_task/share_bottom.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/ranking/__init__.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/ranking/afm.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/ranking/autoint.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/ranking/dcn.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/ranking/deepfm.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/ranking/dien.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/ranking/din.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/ranking/fibinet.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/ranking/fm.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/ranking/masknet.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/ranking/pnn.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/ranking/widedeep.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/models/ranking/xdeepfm.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/utils/__init__.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/utils/common.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/utils/embedding.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/utils/initializer.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/nextrec/utils/optimizer.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/pytest.ini +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/requirements.txt +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/test/__init__.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/test/conftest.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/test/run_tests.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/test/test_layers.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/test/test_losses.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/test/test_match_models.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/test/test_multitask_models.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/test/test_preprocessor.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/test/test_ranking_models.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/test/test_utils.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/test_requirements.txt +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/tutorials/example_match_dssm.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/tutorials/example_multitask.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/tutorials/example_ranking_din.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/tutorials/movielen_match_dssm.py +0 -0
- {nextrec-0.2.5 → nextrec-0.2.6}/tutorials/movielen_ranking_deepfm.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nextrec
|
|
3
|
-
Version: 0.2.
|
|
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
|

|
|
62
62
|

|
|
63
63
|

|
|
64
|
-

|
|
65
65
|
|
|
66
66
|
English | [中文版](README_zh.md)
|
|
67
67
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|

|
|
7
7
|

|
|
8
|
-

|
|
9
9
|
|
|
10
10
|
English | [中文版](README_zh.md)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|

|
|
7
7
|

|
|
8
|
-

|
|
9
9
|
|
|
10
10
|
[English Version](README.md) | 中文版
|
|
11
11
|
|
|
@@ -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
|
-
|
|
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=
|
|
773
|
+
add_timestamp=False
|
|
773
774
|
)
|
|
774
775
|
state = {
|
|
775
776
|
"numeric_features": self.numeric_features,
|
|
@@ -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
|
{nextrec-0.2.5 → nextrec-0.2.6}/docs/zh//345/277/253/351/200/237/344/270/212/346/211/213.md"
RENAMED
|
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
|
|
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
|
|
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
|