gbiz-torch

A comprehensive toolkit package designed to help you accurately predict key metrics in commercial area

https://github.com/whw199833/gbiz_torch

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 8 DOI reference(s) in README
  • Academic publication links
    Links to: arxiv.org, acm.org, zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.4%) to scientific vocabulary

Keywords

advertisement bert4rec dcn deep-learning deepfm dnn embedding-models esmm fbas mmoe recommendation recommendation-system transformers-models wide-and-deep
Last synced: 6 months ago · JSON representation ·

Repository

A comprehensive toolkit package designed to help you accurately predict key metrics in commercial area

Basic Info
Statistics
  • Stars: 4
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
advertisement bert4rec dcn deep-learning deepfm dnn embedding-models esmm fbas mmoe recommendation recommendation-system transformers-models wide-and-deep
Created about 2 years ago · Last pushed about 2 years ago
Metadata Files
Readme License Citation

README.md

Python Versions TensorFlow Versions Downloads PyPI Version GitHub Issues DOI License Activity

Introduction to gbiz_torch

A comprehensive toolkit package designed to help you accurately predict key metrics such as Click-Through Rates (CTR), Conversion Rates (CVR), uplift, and pricing strategies. Built with state-of-the-art algorithms and user-friendly interfaces, our package streamlines the process of forecasting and decision-making, allowing you to make data-driven choices with confidence. Whether you're looking to optimize your marketing campaigns, boost sales conversions, or fine-tune your pricing model, our package provides the insights you need to succeed in today's competitive market.

Tutorial

You can learn to use the package by referring to the examples in the directory ./example

More solution examples will be released soon~

Useful Eval Matrix

The following eval matrix has been implemented:

| # | Eval Matrix | Explanation | Note | |----|------------------|---------------------|----------------| | 1 | AUC | Area Under the ROC Curve | For Classification | | 2 | ConfusionMatrix | Confusion Matrix is a performance measurement for classification | For Classification | | 3 | ACCF1score | Accuracy, Macro-F1 and Weighted-F1 | For Classification | | 4 | TopKAcc | topkaccuracyscore | For Classification | | 5 | MultiClassRP | Multi Class precision, recall and F-beta | For Classification | | 6 | r2score | R2score | For Classification | | 7 | MAE | Mean Absolute Error | For Regression | | 8 | MSE | Mean Square Error | For Regression | | 9 | MAPE | Mean Absolute Percentage Error | For Regression | | 10 | tsne | t-distributed stochastic neighbor embedding | For Manifold | | 11 | sp_emb | spectral decomposition to the corresponding graph laplacian | For Manifold |

Universal Layers in Commercial Algorithms

The models currently implemented in recommendation algorithms:

| # | Model Name | model | Note | |----|------------------|---------------------|----------------| | 1 | Wide and Deep | WndModel | Traditional recommendations | | 2 | DNN | DNNModel | Traditional recommendations | | 3 | DeepFM | DeepFMModel | Traditional recommendations | | 4 | Deep and Cross | DCNModel | Traditional recommendations | | 5 | NFM | NFMModel | Traditional recommendations | | 6 | Tower | TowerModel | Traditional recommendations | | 7 | FLEN | FLENModel | Traditional recommendations | | 8 | Fibinet | FiBiNetModel | Traditional recommendations | | 9 | InterHAt | InterHAtModel | Traditional recommendations | | 10 | CAN | CANModel | Traditional recommendations | | 11 | MaskNet | MaskNetModel | Traditional recommendations | | 12 | ContextNet | ContextNetModel | Traditional recommendations | | 13 | EDCN | EDCNModel | Traditional recommendations | | 14 | BertSeq | Bert4RecModel | Sequence recommendation | | 15 | GRU4Rec | GRU4RecModel | Sequence recommendation | | 16 | DIN | DINModel | Sequence recommendation | | 17 | DCAP | DCAPModel | Sequence recommendation | | 18 | FBAS | FBASModel | Sequence recommendation | | 19 | ESMM | ESMMModel | Multi objective recommendation | | 20 | MMoE | GeneralMMoEModel | Multi objective recommendation | | 21 | Hard Sharing | HardSharingModel | Multi objective recommendation | | 22 | Cross Sharing | CrossSharingModel | Multi objective recommendation | | 23 | Cross Stitch | CrossStitchModel | Multi objective recommendation | | 24 | PLE | PLEModel | Multi objective recommendation |

Universal Layers in Commercial Algorithms

In the consolidated algorithms, the following Layer networks have been implemented, which can be conveniently called by higher-level models, or users can directly call the Layer layers to assemble their own models.

| # | Graph-based Layer | Note | |----|------------------------------|-----------------------------------------------------------------------------------------| | 1 | HOMOGNNLayer | General GNN layers for Homogeneity Graph (GCNConv, GATConv, SAGEConv, TransformerConv, ARMAConv) | | 2 | HETEGNNLayer | General GNN layers for heterogeneous Graph (HGTConv,HANConv) |

| # | Layer | Note | |----|------------------------------|-----------------------------------------------------------------------------------------| | 1 | DNNLayer | DNN Net | | 2 | FMLayer | FM Net in DeepFM, NFM | | 3 | CrossLayer | Cross Net in Deep and Cross | | 4 | CINLayer | CIN Net in XDeepFM | | 5 | MultiHeadAttentionLayer | multi head attention in Bert| | 6 | SelfAttentionLayer | scaled dot self attention in Bert| | 7 | LayerNorm | Layer Normalization in Bert| | 8 | PositionWiseFeedForwardLayer | Position wise feed forward in Bert| | 9 | TransformerLayer | Transformer(including multi head attention and LayerNorm) in Bert| | 10 | TransformerEncoder | Multi-Transformer in Bert | | 11 | AutoIntLayer | Similar with TransformerLayer| | 12 | FuseLayer | Local Activation Unit in DIN | | 13 | SENETLayer | Squeeze and Excitation Layer | | 14 | FieldWiseBiInteractionLayer | FM and MF layer in FLEN| | 15 | CrossStitchLayer | Cross-stitch Networks for Multi-task Learning| | 16 | GeneralMMoELayer | Modeling Task Relationships in Multi-task Learning with Multi-gate Mixture-of-Experts | | 17 | Dice | Dice activation function| | 18 | PositionEncodingLayer | Positional Encoding Layer in Transformer| | 19 | CGCGatingNetworkLayer | task and expert Net in PLE| | 20 | BiLinearInteractionLayer | Last feature net in Fibinet| | 21 | CoActionLayer | co-action unit layer in CAN| | 22 | MaskBlockLayer | MaskBlockLayer in MaskNet|

Citation

If you find this code useful in your research, please cite it using the following BibTeX:

bibtex @software{ Wang_gbiz_torch_A_comprehensive_2023, author = {Wang, Haowen}, doi = {10.5281/zenodo.10222799}, month = nov, title = {{gbiz_torch: A comprehensive toolkit for predicting key metrics in e-commercial fields}}, url = {https://github.com/whw199833/gbiz_torch}, version = {2.0.4}, year = {2023} } or following APA: APA Wang, H. (2023). gbiz_torch: A comprehensive toolkit for predicting key metrics in e-commercial fields (Version 2.0.4) [Computer software]. https://doi.org/10.5281/zenodo.10222799

Contact

If you have some questions or some advice, or want to contribute to this repo, do not hesitate to contact me:

mail: wanghw@zju.edu.cn

wechat: whw199833

Owner

  • Name: Haowen Wang
  • Login: whw199833
  • Kind: user

Applied Computing & Data Science

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Wang"
  given-names: "Haowen"
  orcid: "https://orcid.org/0000-0003-4323-7166"
title: "gbiz_torch: A comprehensive toolkit for predicting key metrics in e-commercial fields"
version: 2.0.4
doi: 10.5281/zenodo.10222799
date-released: 2023-11-30
url: "https://github.com/whw199833/gbiz_torch"

GitHub Events

Total
Last Year

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 14 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 8
  • Total maintainers: 1
pypi.org: gbiz-torch

general deep algorithm for business, marketing and advertisement

  • Versions: 8
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 14 Last month
Rankings
Dependent packages count: 10.0%
Average: 38.7%
Dependent repos count: 67.4%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/jekyll-gh-pages.yml actions
  • actions/checkout v3 composite
  • actions/configure-pages v3 composite
  • actions/deploy-pages v2 composite
  • actions/jekyll-build-pages v1 composite
  • actions/upload-pages-artifact v2 composite
requirements.txt pypi
  • torch >=1.7.0
setup.py pypi
  • scikit-learn >=1.2.2
  • torch >=1.12.0