Skip to main content

Tools for the Monks advertising platform

Project description

monkstools

monkstools for team

begin to work. by Xiaowen kang. 2023.8.24. check . well done. by xiaowen kang. 2023.8.24 prepare for pypi package. by xiaowen kang. 2023.8.24.

README.md


monkstools: Advertising Delivery ROI Analysis Framework

monkstools is a Python module designed to analyze and visualize the Return on Investment (ROI) of product advertising across different platforms. It provides insights into which platform might yield the highest returns for advertising a particular product. While this framework is provided for demonstration purposes, the actual results in a production setting would be based on in-depth model training and real-world data.

Overview

The primary goal of monkstools is to serve as a platform for programmers and data analysts to discuss, share, and collaborate on analyzing the ROI of advertising delivery. It's a template to kick-start discussions and exchange ideas on the intricacies of advertising dynamics across different platforms for various products.

Key Components

1. ProductPreference Class

  • Purpose: Retrieve product preference values for specified products and customer types.
  • Primary Method: get_preference(product_name, customer_type, verbose=False)

2. TransmissionCost Class

  • Purpose: Fetch transmission cost values for designated platforms and customer types.
  • Primary Method: get_cost(platform_name, customer_type, verbose=False)

3. ROICalculator Class

  • Purpose: Compute and visualize ROIs.
  • Primary Methods:
    • calculate(product_name, platform_name, verbose=False): Computes the ROI for a given product and platform.
    • display_roi_matrix(roi_calculator, products, platforms): Visualizes the ROI matrix.

Usage Guide

1. Initialization

First, you need to initialize the ROICalculator object, which, in turn, initializes the ProductPreference and TransmissionCost objects.

preference_file = 'path_to_preference_file.csv'
cost_file = 'path_to_cost_file.csv'
roi_calculator = ROICalculator(preference_file, cost_file)

2. Setting Up Products and Platforms

Define the list of products and platforms you're interested in analyzing.

products = ['Example Product 1', ...]  
platforms = ['Example Platform 1', ...] 

3. Displaying the ROI Matrix

Use the display_roi_matrix method of the ROICalculator class to compute and showcase the ROI matrix.

ROICalculator.display_roi_matrix(roi_calculator, products, platforms)

4. Debugging and Logging

Set verbose=True when calling methods to print additional debugging and logging information.

Note

This framework is intended for team discussions and sharing. The specific functions and data here are examples, and in a real-world scenario, deeper model training would be necessary. The final outcome is contingent on actual data and post-deep-training results. This is merely a conceptual framework and thought process to facilitate programmers' exchange of ideas.

--

To leverage this library, ensure monkstools is installed and data provided matches expected formats.


xiaowen kang. 2023.8.23

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

monkstools-0.10.tar.gz (591.1 kB view details)

Uploaded Source

Built Distribution

monkstools-0.10-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file monkstools-0.10.tar.gz.

File metadata

  • Download URL: monkstools-0.10.tar.gz
  • Upload date:
  • Size: 591.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.0

File hashes

Hashes for monkstools-0.10.tar.gz
Algorithm Hash digest
SHA256 43a6a4bcf69074bb137c7176a08939bf66a0edca2a4cfc303549635520027fc5
MD5 1a03f5028c9bee3b57d6b9909b632940
BLAKE2b-256 34fbb2b9a530ddc2cdba7c190b3cff6e1b323ceea8e17994fa3db8ab5273d36d

See more details on using hashes here.

Provenance

File details

Details for the file monkstools-0.10-py3-none-any.whl.

File metadata

  • Download URL: monkstools-0.10-py3-none-any.whl
  • Upload date:
  • Size: 17.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.0

File hashes

Hashes for monkstools-0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 b857fa6bbea126bbe5705923a5e464fa97fc25d01a5fdc3841e8feff19cd6fec
MD5 46166295b4b4580dfddb71db3583a6ed
BLAKE2b-256 1aa14f62f6fa7b83a0502c2d86c33231334d72ba231af2745469213598819cde

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page