Skip to main content

TCC DMS Recommender System

Introduction

The project is structured as a GitLab repository for the DMS Recommender service. We're providing all types of recommender including, collaborative filtering, content-based, market basket analysis. Developers can choose any type of the recommender based on the use cases and user onboarding time period. For example, new user can apply, such as, content-based and market basket analysis. In later phase, collaborative filtering can be used.

Installation

pip install ...

Example Usage

Content-based recommendation

It is recommended to use when new users are onboarding in the platform.

# set up  the recommender (connect DB and choose tables)

# see all available categories or sub-categories

# prepare user preference for categories and sub-categories with top K (using category or sub-category IDs)
# without K, default is ...

# create top products list for this customers with relevant scores

# Now, apply these list with your app

Market Basket Analysis

It is recommended to use when new users are onboarding in the platform.

# set up recommender (connect DB and choose tables)

# run analysis

# see analysis result

# export analysis result as .csv

# inference the recommendations

Collaborative filtering

Recommended to use when users have purchasing history more than ... months or ... transactions. Also, routine updating model is mandatory.

# set up recommender (connect DB and choose tables)

Ensure your database contains the following tables with appropriate data:

  • SKUMASTER
  • ICCAT
  • ICDEPT
  • TRANSTKD
  • GOODSMASTER

# run model training

# see evaluation result

# save model to path

# inference the recommendations

Release files for contentbased-recommend 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for contentbased-recommend 0.1.0
File Size Uploaded
Contentbased_recommend-0.1.0.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for contentbased-recommend 0.1.0
File Interpreter ABI Platform
contentbased_recommend-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.8 kB

Release files / Contentbased_recommend-0.1.0.tar.gz

Download URL Contentbased_recommend-0.1.0.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
12a9e8da85b2dec425f16cafc73ac190c66ec9ce422e3692e04ed276a0d04d90
BLAKE2b-256 checksum
How to use checksums
fc2e2e5ac0d795e8274c06e1cface60ab67312f79cc7eab2ad6d0db2edd5d977
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0 CPython/3.12.0 Windows/11

Release files / contentbased_recommend-0.1.0-py3-none-any.whl

Download URL contentbased_recommend-0.1.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
38e3882997e775caf031e8f79eb2c758eb1c2305e56d51aad4c868bedb22dfdd
BLAKE2b-256 checksum
How to use checksums
88ea28fc03de680e0ff4432b6b9ee1cd4267944864fd1f3a71793aed84011b1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0 CPython/3.12.0 Windows/11

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page