warprec 2.2.7__tar.gz → 2.2.8__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.
- {warprec-2.2.7 → warprec-2.2.8}/PKG-INFO +1 -1
- {warprec-2.2.7 → warprec-2.2.8}/pyproject.toml +1 -1
- {warprec-2.2.7 → warprec-2.2.8}/warprec/data/entities/sessions.py +30 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/pipelines/common.py +19 -1
- {warprec-2.2.7 → warprec-2.2.8}/LICENSE +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/README.md +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/common/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/common/initialize.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/common/run_state.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/common/std_logs.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/data/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/data/dataset.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/data/entities/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/data/entities/common.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/data/entities/context.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/data/entities/interactions.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/data/entities/knowledge.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/data/entities/multimodal.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/data/entities/train_structures/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/data/entities/train_structures/custom_collate_fn.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/data/entities/train_structures/interaction_structures.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/data/entities/train_structures/session_structures.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/data/entities/transactions.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/data/eval_loaders.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/data/filtering.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/data/ranking.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/data/reader/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/data/reader/azureblob_reader.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/data/reader/base_reader.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/data/reader/local_reader.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/data/schema.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/data/splitting/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/data/splitting/splitter.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/data/splitting/strategies.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/data/stash.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/data/timing.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/data/writer/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/data/writer/azureblob_writer.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/data/writer/base_writer.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/data/writer/local_writer.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/errors.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/evaluator.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/factory.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/accuracy/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/accuracy/auc.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/accuracy/f1.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/accuracy/gauc.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/accuracy/hit_rate.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/accuracy/lauc.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/accuracy/logloss.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/accuracy/map.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/accuracy/mar.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/accuracy/mrr.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/accuracy/ndcg.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/accuracy/precision.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/accuracy/recall.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/base_metric.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/bias/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/bias/aclt.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/bias/aplt.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/bias/arp.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/bias/long_tail.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/bias/pop_reo.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/bias/pop_rsp.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/coverage/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/coverage/item_coverage.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/coverage/numretrieved.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/coverage/user_coverage.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/coverage/user_coverage_at_n.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/debiased/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/debiased/base.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/debiased/dcg.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/debiased/recall.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/diversity/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/diversity/gini_index.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/diversity/shannon_entropy.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/diversity/srecall.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/fairness/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/fairness/biasdisparitybd.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/fairness/biasdisparitybr.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/fairness/biasdisparitybs.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/fairness/itemmadranking.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/fairness/itemmadrating.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/fairness/reo.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/fairness/rsp.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/fairness/usermadranking.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/fairness/usermadrating.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/multiobjective/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/multiobjective/euclideandistance.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/multiobjective/hypervolume.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/novelty/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/novelty/efd.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/novelty/epc.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/novelty/novelty_profile.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/rating/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/rating/mae.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/rating/mse.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/rating/rmse.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/propensity.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/statistical_significance.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/pipelines/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/pipelines/design.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/pipelines/estimate.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/pipelines/eval.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/pipelines/remotes/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/pipelines/remotes/data.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/pipelines/remotes/ml.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/pipelines/swarm.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/pipelines/train.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/base_recommender.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/callbacks.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/autoencoder/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/autoencoder/cdae.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/autoencoder/diffrec.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/autoencoder/ease.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/autoencoder/elsa.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/autoencoder/macridvae.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/autoencoder/multidae.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/autoencoder/multivae.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/autoencoder/sansa.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/graph_based/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/graph_based/dgcf.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/graph_based/egcf.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/graph_based/esigcf.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/graph_based/gcmc.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/graph_based/graph_utils.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/graph_based/lightccf.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/graph_based/lightgcl.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/graph_based/lightgcn.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/graph_based/lightgcnpp.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/graph_based/lightgode.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/graph_based/macrgcn.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/graph_based/mixrec.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/graph_based/ngcf.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/graph_based/paac.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/graph_based/popdcl.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/graph_based/recdcl.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/graph_based/rp3beta.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/graph_based/sgcl.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/graph_based/sgl.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/graph_based/simgcl.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/graph_based/simrec.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/graph_based/ultragcn.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/graph_based/xsimgcl.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/knn/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/knn/itemknn.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/knn/itemknntd.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/knn/userknn.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/knn/userknntd.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/latent_factor/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/latent_factor/admmslim.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/latent_factor/bpr.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/latent_factor/fism.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/latent_factor/ials.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/latent_factor/ials2008.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/latent_factor/macrmf.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/latent_factor/slim.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/neural/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/neural/convncf.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/neural/neumf.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/neural/twotower.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/content_based_recommender/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/content_based_recommender/vsm.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/context_aware_recommender/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/context_aware_recommender/afm.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/context_aware_recommender/dcn.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/context_aware_recommender/dcnv2.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/context_aware_recommender/deepfm.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/context_aware_recommender/fm.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/context_aware_recommender/nfm.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/context_aware_recommender/wideanddeep.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/context_aware_recommender/xdeepfm.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/hybrid_recommender/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/hybrid_recommender/addease.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/hybrid_recommender/attributeitemknn.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/hybrid_recommender/attributeuserknn.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/hybrid_recommender/cease.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/knowledge_aware_recommender/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/knowledge_aware_recommender/cke.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/knowledge_aware_recommender/kahfm.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/knowledge_aware_recommender/kgat.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/knowledge_aware_recommender/kgcn.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/knowledge_aware_recommender/kgflex.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/knowledge_aware_recommender/kgin.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/knowledge_aware_recommender/knowledge_utils.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/knowledge_aware_recommender/ripplenet.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/layers.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/losses.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/lr_scheduler_wrapper.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/multimodal_recommender/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/multimodal_recommender/bm3.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/multimodal_recommender/freedom.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/multimodal_recommender/lattice.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/multimodal_recommender/mgcn.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/multimodal_recommender/mmgcn.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/multimodal_recommender/multimodal_utils.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/multimodal_recommender/vbpr.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/optimizer_wrapper.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/proxy.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/reranking/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/reranking/base.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/reranking/calibration.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/reranking/factory.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/reranking/mmr.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/sequential_recommender/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/sequential_recommender/bert4rec.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/sequential_recommender/bsarec.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/sequential_recommender/caser.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/sequential_recommender/cl4srec.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/sequential_recommender/core.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/sequential_recommender/duorec.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/sequential_recommender/esasrec.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/sequential_recommender/fossil.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/sequential_recommender/gru4rec.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/sequential_recommender/gsasrec.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/sequential_recommender/lightsans.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/sequential_recommender/linrec.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/sequential_recommender/narm.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/sequential_recommender/sasrec.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/sequential_recommender/stan.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/similarities.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/trainer/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/trainer/dashboard_callbacks.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/trainer/emissions.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/trainer/logger_callbacks.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/trainer/objectives.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/trainer/runtime.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/trainer/scheduler_wrapper.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/trainer/search_algorithm_wrapper.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/trainer/timing.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/trainer/trainer.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/unpersonalized_recommender/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/unpersonalized_recommender/pop.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/unpersonalized_recommender/random.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/run.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/serve.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/serving/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/serving/api.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/serving/app.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/serving/catalogue.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/serving/context.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/serving/deployments.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/serving/errors.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/serving/mcp.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/serving/payload.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/serving/schemas.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/serving/servable.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/callback.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/config/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/config/common.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/config/config.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/config/dashboard_configuration.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/config/estimate_configuration.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/config/evaluation_configuration.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/config/general_configuration.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/config/model_configuration.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/config/reader_configuration.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/config/recommender_model_config/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/config/recommender_model_config/collaborative_filtering_config/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/config/recommender_model_config/collaborative_filtering_config/autoencoder_config.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/config/recommender_model_config/collaborative_filtering_config/graph_based_config.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/config/recommender_model_config/collaborative_filtering_config/knn_config.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/config/recommender_model_config/collaborative_filtering_config/latent_factor_config.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/config/recommender_model_config/collaborative_filtering_config/neural_config.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/config/recommender_model_config/content_based_config.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/config/recommender_model_config/context_aware_config.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/config/recommender_model_config/hybrid_config.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/config/recommender_model_config/knowledge_aware_config.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/config/recommender_model_config/multimodal_config.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/config/recommender_model_config/sequential_model_config.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/config/recommender_model_config/unpersonalized_config.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/config/rerank_configuration.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/config/run_configuration.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/config/search_space_wrapper.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/config/serving_configuration.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/config/splitter_configuration.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/config/training_configuration.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/config/writer_configuration.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/determinism.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/enums.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/helpers.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/logger/__init__.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/logger/logger.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/pause.py +0 -0
- {warprec-2.2.7 → warprec-2.2.8}/warprec/utils/registry.py +0 -0
|
@@ -206,6 +206,32 @@ class Sessions:
|
|
|
206
206
|
"No valid sequences found (min 2 interactions per user needed)."
|
|
207
207
|
)
|
|
208
208
|
|
|
209
|
+
def _keep_in_memory(self) -> None:
|
|
210
|
+
"""Copy the arrays the loaders read at random out of Ray's object store.
|
|
211
|
+
|
|
212
|
+
Fetched from the store they are read-only views, which Ray keeps on disk
|
|
213
|
+
when the store is full, so every sample would read the disk.
|
|
214
|
+
"""
|
|
215
|
+
|
|
216
|
+
def resident(array: Optional[np.ndarray]) -> Optional[np.ndarray]:
|
|
217
|
+
# Arrays the process can write are already its own
|
|
218
|
+
if array is None or array.flags.writeable:
|
|
219
|
+
return array
|
|
220
|
+
return array.copy()
|
|
221
|
+
|
|
222
|
+
self._flat_items = resident(self._flat_items)
|
|
223
|
+
self._flat_users = resident(self._flat_users)
|
|
224
|
+
self._user_offsets = resident(self._user_offsets)
|
|
225
|
+
self._valid_sample_indices = resident(self._valid_sample_indices)
|
|
226
|
+
|
|
227
|
+
# Negative sampling reads only the structure of the matrix
|
|
228
|
+
sparse = self._inter_sparse
|
|
229
|
+
if sparse is not None and not sparse.indices.flags.writeable:
|
|
230
|
+
self._inter_sparse = csr_matrix(
|
|
231
|
+
(sparse.data, sparse.indices.copy(), sparse.indptr.copy()),
|
|
232
|
+
shape=sparse.shape,
|
|
233
|
+
)
|
|
234
|
+
|
|
209
235
|
def get_sequential_dataloader(
|
|
210
236
|
self,
|
|
211
237
|
max_seq_len: int,
|
|
@@ -217,6 +243,7 @@ class Sessions:
|
|
|
217
243
|
**kwargs: Any,
|
|
218
244
|
) -> DataLoader:
|
|
219
245
|
"""Standard SASRec/RNN style dataloader (History -> Next Item)."""
|
|
246
|
+
self._keep_in_memory()
|
|
220
247
|
|
|
221
248
|
self._require_valid_targets()
|
|
222
249
|
|
|
@@ -251,6 +278,7 @@ class Sessions:
|
|
|
251
278
|
**kwargs: Any,
|
|
252
279
|
) -> DataLoader:
|
|
253
280
|
"""Sequential dataloader that also samples a same-target positive sequence."""
|
|
281
|
+
self._keep_in_memory()
|
|
254
282
|
|
|
255
283
|
self._require_valid_targets()
|
|
256
284
|
|
|
@@ -283,6 +311,7 @@ class Sessions:
|
|
|
283
311
|
**kwargs: Any,
|
|
284
312
|
) -> DataLoader:
|
|
285
313
|
"""Sequence-to-Sequence dataloader (Sliding Windows)."""
|
|
314
|
+
self._keep_in_memory()
|
|
286
315
|
|
|
287
316
|
# 1. Calculate Windows
|
|
288
317
|
user_lens = np.diff(self._user_offsets)
|
|
@@ -355,6 +384,7 @@ class Sessions:
|
|
|
355
384
|
**kwargs: Any,
|
|
356
385
|
) -> DataLoader:
|
|
357
386
|
"""BERT4Rec style dataloader (Masked Language Modeling)."""
|
|
387
|
+
self._keep_in_memory()
|
|
358
388
|
|
|
359
389
|
user_lens = np.diff(self._user_offsets)
|
|
360
390
|
valid_users = np.where(user_lens >= 2)[0]
|
|
@@ -352,6 +352,9 @@ def prepare_datasets(context: PipelineContext) -> PreparedDatasets:
|
|
|
352
352
|
PreparedDatasets: References to the main dataset, the validation dataset
|
|
353
353
|
and the cross-validation folds, and how the task preparing them
|
|
354
354
|
split the data and spent its time.
|
|
355
|
+
|
|
356
|
+
Raises:
|
|
357
|
+
ClusterError: If Ray's memory monitor stops the data preparation.
|
|
355
358
|
"""
|
|
356
359
|
config = context.config
|
|
357
360
|
cpu_data_prep = config.general.cpu_data_prep
|
|
@@ -362,6 +365,10 @@ def prepare_datasets(context: PipelineContext) -> PreparedDatasets:
|
|
|
362
365
|
refs: List[ray.ObjectRef] = remote_data_preparation.options( # type: ignore[assignment]
|
|
363
366
|
num_cpus=cpu_data_prep,
|
|
364
367
|
num_returns=4,
|
|
368
|
+
# Ray retries a task its memory monitor kills without limit unless
|
|
369
|
+
# the task is not retried at all: the preparation would be killed
|
|
370
|
+
# and started again until the job's time ran out, without an error
|
|
371
|
+
max_retries=0,
|
|
365
372
|
resources=custom_res_data_prep if custom_res_data_prep else None,
|
|
366
373
|
label_selector=label_selector_data_prep if label_selector_data_prep else None,
|
|
367
374
|
).remote(
|
|
@@ -374,8 +381,19 @@ def prepare_datasets(context: PipelineContext) -> PreparedDatasets:
|
|
|
374
381
|
main_ref, val_ref, folds_ref, layout_ref = refs
|
|
375
382
|
|
|
376
383
|
# Only the layout comes to the driver; the datasets stay where they are
|
|
384
|
+
try:
|
|
385
|
+
layout = ray.get(layout_ref)
|
|
386
|
+
except ray.exceptions.OutOfMemoryError as error:
|
|
387
|
+
raise ClusterError(
|
|
388
|
+
"Ray's memory monitor stopped the data preparation, which needed "
|
|
389
|
+
"more memory than its node had left. The datasets are built in "
|
|
390
|
+
"the task's memory and then stored in Ray's object store, so on "
|
|
391
|
+
"the node both count: leave the object store at its default size "
|
|
392
|
+
"(it spills to disk), or prepare the data on a node with more "
|
|
393
|
+
f"memory (general.label_selector_data_prep). Ray's message: {error}"
|
|
394
|
+
) from error
|
|
377
395
|
return PreparedDatasets(
|
|
378
|
-
main=main_ref, validation=val_ref, folds=folds_ref, layout=
|
|
396
|
+
main=main_ref, validation=val_ref, folds=folds_ref, layout=layout
|
|
379
397
|
)
|
|
380
398
|
|
|
381
399
|
|
|
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
|
{warprec-2.2.7 → warprec-2.2.8}/warprec/data/entities/train_structures/interaction_structures.py
RENAMED
|
File without changes
|
{warprec-2.2.7 → warprec-2.2.8}/warprec/data/entities/train_structures/session_structures.py
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
|
|
File without changes
|
|
File without changes
|
{warprec-2.2.7 → warprec-2.2.8}/warprec/evaluation/metrics/multiobjective/euclideandistance.py
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
|
{warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/collaborative_filtering_recommender/__init__.py
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
|
{warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/context_aware_recommender/wideanddeep.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{warprec-2.2.7 → warprec-2.2.8}/warprec/recommenders/knowledge_aware_recommender/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|