Robyn  by facebookexperimental

MMM package from Meta for marketing mix modeling

Created 5 years ago
1,339 stars

Top 30.0% on SourcePulse

GitHubView on GitHub
Project Summary

Robyn is an open-source Marketing Mix Modeling (MMM) package from Meta Marketing Science, designed to democratize advanced modeling techniques for advertisers. It leverages machine learning for media channel efficiency analysis, adstock, and saturation curves, making sophisticated MMM accessible to businesses of all sizes, particularly those with granular digital data.

How It Works

Robyn employs a suite of ML techniques including Ridge regression, evolutionary algorithms for hyperparameter tuning, time-series decomposition, and gradient-based optimization for budget allocation. This approach aims to reduce human bias and automate complex modeling steps, providing insights into media effectiveness and optimizing marketing spend.

Quick Start & Requirements

  • R: install.packages("Robyn") or remotes::install_github("facebookexperimental/Robyn/R"). Requires Python library Nevergrad.
  • Python (Beta): Requires R and glmnet R package. Setup involves creating and activating a Python virtual environment. Install via pip3 install robynpy or from source.
  • Python Wrapper (Beta): Requires the Robyn R package to be installed first.
  • Resources: Official R demo script and Python tutorials are available.

Highlighted Details

  • Experimental, semi-automated MMM package from Meta Marketing Science.
  • Utilizes various ML techniques for media channel analysis.
  • Available in both R and Python (Python version is a beta LLM translation).
  • Aims to make MMM accessible and reduce bias in modeling.

Maintenance & Community

  • Created by Gufeng Zhou and Igor Skokan from Meta Marketing Science.
  • Community exchange is encouraged via a public group.
  • Official online course available.

Licensing & Compatibility

  • MIT Licensed.
  • Compatible with commercial use and closed-source linking.

Limitations & Caveats

The Python version is a beta LLM translation and may contain bugs. The Python wrapper is dependent on the R package.

Health Check
Last Commit

2 months ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
10
Star History
6 stars in the last 30 days

Explore Similar Projects

Starred by Junyang Lin Junyang Lin(Core Maintainer at Alibaba Qwen), Hanlin Tang Hanlin Tang(CTO Neural Networks at Databricks; Cofounder of MosaicML), and
5 more.

dbrx by databricks

0%
3k
Large language model for research/commercial use
Created 1 year ago
Updated 1 year ago
Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Didier Lopes Didier Lopes(Founder of OpenBB), and
5 more.

qlib by microsoft

1.4%
31k
AI platform for quantitative investment research and production
Created 5 years ago
Updated 3 days ago
Feedback? Help us improve.