Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.06 KB

README.md

File metadata and controls

45 lines (28 loc) · 1.06 KB

Dating Market Simulation

Overview

This project simulates a dating market where users (males and females) engage in swiping interactions. The goal is to model user behavior based on attractiveness and like rates, track matches, and analyze trends over time.

Features

  • Generate a population of users with customizable male-to-female ratios.
  • Simulate swiping interactions with probabilistic liking behavior.
  • Track matches, seen users, and like rate evolution.
  • Analyze user interactions using data visualization.
  • Export results as a structured dataframe using Polars.

Installation

Ensure you have Python installed along with the required dependencies: Use uv to setup the virtual environment.

uv sync

Usage

1. Initialize a Market

from dating_market import Market

market = Market(n_users=100, male_ratio=0.5, n_days=10)

market.run()

2. Retrieve Simulation Data

data_users = market.get_users_data()

data_market = market.get_market_data()

Example outputs

See the notebook here !