← 开源
facebookexperimental

Robyn

Robyn is an experimental, AI/ML-powered and open sourced Marketing Mix Modeling (MMM) package from Meta Marketing Science. Our mission is to democratise modeling knowledge, inspire the industry through innovation, reduce human bias in the modeling process & build a strong open source marketing science community.

Model DevelopmentClassical MLJupyter Notebook
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
1.52k
Star
437
Fork
+1
本周
33
贡献者
创建于 2020-04-30 · 更新于 2026-10-10 · 今日第 10100 名
主要开发者

facebookexperimental/Robyn 排名第 10,100,有 1,523 个星标。

同类别比较

facebookexperimental/Robyn 排名第 10,100,此处有 8 个同类条目;geomstats/geomstats 排名第 10,101。

同类别比较
名称排名指标
sail-sg/envpool10,082
语言:
C++
星标数:
1,530
分叉数:
145
简介:
C++-based high-performance parallel environment execution engine (vectorized env) for general RL environments.
interpretml/DiCE10,088
语言:
Python
星标数:
1,528
分叉数:
235
简介:
Generate Diverse Counterfactual Explanations for any machine learning model.
huggingface/pytorch-openai-transformer-lm10,095
语言:
Python
星标数:
1,525
分叉数:
284
简介:
🐥A PyTorch implementation of OpenAI's finetuned transformer language model with a script to import the weights pre-trained by OpenAI
Tencent/TFace10,097
语言:
Python
星标数:
1,524
分叉数:
253
简介:
A trusty face analysis research platform developed by Tencent Youtu Lab
geomstats/geomstats10,101
语言:
Python
星标数:
1,523
分叉数:
300
简介:
Computations and statistics on manifolds with geometric structures.
hkchengrex/Tracking-Anything-with-DEVA10,102
语言:
Python
星标数:
1,522
分叉数:
143
简介:
[ICCV 2023] Tracking Anything with Decoupled Video Segmentation
openai/generating-reviews-discovering-sentiment10,104
语言:
Python
星标数:
1,522
分叉数:
376
简介:
Code for "Learning to Generate Reviews and Discovering Sentiment"
junyanz/BicycleGAN10,112
语言:
Python
星标数:
1,516
分叉数:
252
简介:
Toward Multimodal Image-to-Image Translation
关键参数与规格
关键参数与规格
参数值
语言Jupyter Notebook
类别Model Development
子类别Classical ML
关键词Finance
星标数1,523
分叉数437
贡献者33
创建日期2020-04-30
更新日期2026-10-10
1 天星标数0
7 天星标数1
排名10,100
上次排名10,116
排名变化16
7 天星标排名9,774
上次 7 天星标排名8,067
7 天星标排名变化-1,707
总星标排名8,003
上次总星标排名7,990
总星标排名变化-13
国家USA
README 摘录

**: Robyn is an experimental, semi-automated and open-sourced Marketing Mix Modeling (MMM) package from Meta Marketing Science. It uses various machine learning techniques (Ridge regression, multi-objective evolutionary algorithm for hyperparameter optimization, time-series decomposition for trend & season, gradient-based optimization for budget allocation, clustering, etc. ) to define media channel efficiency and effectivity, explore adstock rates and saturation curves. It's built for granular datasets with many independent variables and therefore especially suitable for digital and direct response advertisers with

rich data sources. **: MMM used to be a resource-intensive technique that was only affordable for "big players". As the privacy needs of the measurement landscape evolve, there's a clear trend of increasing demand for modern MMM as a privacy-safe solution. At Meta Marketing Science, our mission is to help all businesses grow by transforming marketing practices grounded in data and science. It's highly aligned with our mission to democratizing MMM and making it accessible for advertisers of all

sizes. With Project Robyn, we want to contribute to the measurement landscape, inspire the industry and build a community for exchange and innovation around the future of MMM and Marketing Science in general. For installation and usage guide see below. Please note that the current Python version is a LLM-translated Beta version and might encounter bugs. Installing the package** Install Robyn latest R package version: If it's taking too long to download, you have a slow or unstable internet

connection, and have issues while installing the package, try setting . Robyn requires the Python library Nevergrad. If encountering Python-related error during installation, please check out the step-by-step guide as well as this issue to get more info. For Windows, if you get openssl error, please see instructions here and here to install and update openssl. R script as step-by-step guide that is intended to cover most common use-cases. Test the package using simulated dataset

provided in the package. Visit our website to explore more details about Project Robyn. Join our public group to exchange with other users and interact with team Robyn. Take Meta's official Robyn blueprint course online Quick start for Python (Beta) The Python version of Robyn is rewritten from Robyn's R package version to Python using object oriented programming principles and modular architecture for a robust solution. It was developed by utilizing various LLMs and AI workflows like Llama. As is

common with any AI-based solutions, there may be potential challenges in translating code from one language to another. In this case, we anticipate that there could be some issues in the translation from R to Python. However, we believe in the power of community collaboration and open-source contribution. Therefore, we are opening this project to the community to participate and contribute. Together, we can address and resolve any issues that may arise, enhancing the functionality and efficiency of

the Python version of Robyn. We look forward to your contributions and to the continuous improvement of this project. Prerequisites

常见问题

记录了多少星标和分叉?

facebookexperimental/Robyn 有 1,523 个星标和 437 个分叉。

仓库排名是多少?

facebookexperimental/Robyn 排名第 10,100。

记录的语言和类别是什么?

facebookexperimental/Robyn 有 1,523 个星标,语言为 Jupyter Notebook,类别为 Model Development。

哪个仓库排名最接近?

facebookexperimental/Robyn 与 geomstats/geomstats 比较,后者排名第 10,101,有 1,523 个星标。

README

Robyn: Continuous & Semi-Automated MMM

The Open Source Marketing Mix Model Package from Meta Marketing Science

Introduction

  • What is Robyn?: Robyn is an experimental, semi-automated and open-sourced Marketing Mix Modeling (MMM) package from Meta Marketing Science. It uses various machine learning techniques (Ridge regression, multi-objective evolutionary algorithm for hyperparameter optimization, time-series decomposition for trend & season, gradient-based optimization for budget allocation, clustering, etc.) to define media channel efficiency and effectivity, explore adstock rates and saturation curves. It's built for granular datasets with many independent variables and therefore especially suitable for digital and direct response advertisers with rich data sources.

  • Why are we doing this?: MMM used to be a resource-intensive technique that was only affordable for "big players". As the privacy needs of the measurement landscape evolve, there's a clear trend of increasing demand for modern MMM as a privacy-safe solution. At Meta Marketing Science, our mission is to help all businesses grow by transforming marketing practices grounded in data and science. It's highly aligned with our mission to democratizing MMM and making it accessible for advertisers of all sizes. With Project Robyn, we want to contribute to the measurement landscape, inspire the industry and build a community for exchange and innovation around the future of MMM and Marketing Science in general.

Robyn is available in R and Python. For installation and usage guide see below. Please note that the current Python version is a LLM-translated Beta version and might encounter bugs.

Quick start for R

1. Installing the package

  • Install Robyn latest R package version:
## CRAN VERSION
install.packages("Robyn")

## DEV VERSION
# If you don't have remotes installed yet, first run: install.packages("remotes")
remotes::install_github("facebookexperimental/Robyn/R")
  • If it's taking too long to download, you have a slow or unstable internet connection, and have issues while installing the package, try setting options(timeout=400).

  • Robyn requires the Python library Nevergrad. If encountering Python-related error during installation, please check out the step-by-step guide as well as this issue to get more info.

  • For Windows, if you get openssl error, please see instructions here and here to install and update openssl.

2. Getting started

  • Use this demo.R script as step-by-step guide that is intended to cover most common use-cases. Test the package using simulated dataset provided in the package.

  • Visit our website to explore more details about Project Robyn.

  • Join our public group to exchange with other users and interact with team Robyn.

  • Take Meta's official Robyn blueprint course online

Quick start for Python (Beta)

The Python version of Robyn is rewritten from Robyn's R package version 3.11.1 to Python using object oriented programming principles and modular architecture for a robust solution. It was developed by utilizing various LLMs and AI workflows like Llama. As is common with any AI-based solutions, there may be potential challenges in translating code from one language to another. In this case, we anticipate that there could be some issues in the translation from R to Python. However, we believe in the power of community collaboration and open-source contribution. Therefore, we are opening this project to the community to participate and contribute. Together, we can address and resolve any issues that may arise, enhancing the functionality and efficiency of the Python version of Robyn. We look forward to your contributions and to the continuous improvement of this project.

1. Prerequisites

Installing glmnet on Windows

# Open R console (run in Command Prompt/PowerShell)
R
# Then in R console, install glmnet
install.packages("glmnet")
# Exit R console
q()

Installing glmnet on macOS/Linux

# Open terminal and run R
R
# Then in R console, install glmnet
install.packages("glmnet")
# Exit R console
q()

2. Setting up Python Environment

Windows

# Create virtual environment
python -m venv robyn-env

# Activate virtual environment
robyn-env\Scripts\activate

macOS/Linux

# Create virtual environment
python3 -m venv robyn-env

# Activate virtual environment
source robyn-env/bin/activate

3. Install Robyn

Choose one of the following installation methods:

# Install from PyPI (recommended)
pip3 install robynpy

# OR install development version from source
pip3 install -r requirements.txt

4. Getting Started

The python/src/robyn/tutorials directory contains tutorials for most common scenarios using the included simulated dataset.

There are two ways to run Python Robyn:

Option 1: Using tutorial1.ipynb (Recommended)

  • Provides an end-to-end flow with a one-click solution
  • Ideal for users who prefer minimal setup
  • Uses APIs from python/src/robyn/robyn.py
  • Includes feature engineering, model training, clustering, one-pager generation, and budget allocation
  • Configurations can be modified directly in the notebook

Option 2: Using tutorial1_src.ipynb (Advanced)

  • Offers more flexibility and control over individual modules
  • Designed for users who want to customize the workflow
  • Calls modules directly with parameters
  • Allows skipping specific components (clustering/one-pager plots/budget allocation)
  • Requires understanding of underlying logic

Quick start Python wrapper (Robyn API for Python beta)

The Robyn API for Python (beta), first released on Nov.22nd 2023, is a plumber-based solution that requires the installation of the Robyn R pacakge first. It serves as a workaround when the Python native version is not yet available or up-to-date. Please see the usage guide here.

License

Meta's Robyn is MIT licensed, as found in the LICENSE file.

Contact

排名相邻
同类项目