{"id":35023699,"url":"https://github.com/avrtt/price-profiler","last_synced_at":"2026-05-24T14:35:04.892Z","repository":{"id":286182738,"uuid":"945538768","full_name":"avrtt/price-profiler","owner":"avrtt","description":"E-commerce pricing optimization \u0026 dynamic user profiling","archived":false,"fork":false,"pushed_at":"2025-04-04T19:36:00.000Z","size":18,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-28T19:59:46.444Z","etag":null,"topics":["arima","collaborative-filtering","demand-forecasting","ecommerce","kmeans-clustering","pricing-optimization","principal-component-analysis","time-series","user-profiling"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/avrtt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-09T16:59:06.000Z","updated_at":"2025-05-21T04:58:07.000Z","dependencies_parsed_at":"2025-04-04T20:31:34.617Z","dependency_job_id":null,"html_url":"https://github.com/avrtt/price-profiler","commit_stats":null,"previous_names":["avrtt/price-profiler"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/avrtt/price-profiler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avrtt%2Fprice-profiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avrtt%2Fprice-profiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avrtt%2Fprice-profiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avrtt%2Fprice-profiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avrtt","download_url":"https://codeload.github.com/avrtt/price-profiler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avrtt%2Fprice-profiler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33438514,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-24T13:13:05.286Z","status":"ssl_error","status_checked_at":"2026-05-24T13:13:03.728Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arima","collaborative-filtering","demand-forecasting","ecommerce","kmeans-clustering","pricing-optimization","principal-component-analysis","time-series","user-profiling"],"created_at":"2025-12-27T06:07:50.314Z","updated_at":"2026-05-24T14:35:04.872Z","avatar_url":"https://github.com/avrtt.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a tool for demand forecasting, regression and ensemble‐based dynamic pricing optimization; ML-driven user profiling with personalized recommendation systems for real‐time sales and engagement optimization.\n\nThe project was developed as a part of my real freelance work and published with the client's approval. For privacy purposes, all client data has been replaced with synthetic examples.  \n\nThe mini-app is designed as PoC to help e-commerce platforms optimize product pricing and personalize user experiences.  \n\nIt can predict future sales based on historical data, competitor pricing and seasonality using time series models, dynamically compute real-time optimal pricing. Profiling is done by clustering users based on behavior tracking (clicks, time on page, purchase history). Users are segmented for personalized recommendations using collaborative filtering techniques.\n\n## Main files\n- **config.py** - configuration parameters for all modules  \n- **data_generation.py** - contains the `DataGenerator` class; synthetic data generation for sales, competitor pricing and user behavior  \n- **demand_forecast.py** - `DemandForecaster` class for time series demand forecasting using ARIMA models and grid search\n- **pricing_optimizer.py** - `PricingOptimizer` class for dynamic pricing optimizer using regression and random forest models\n- **user_profiling.py** - user segmentation using PCA and k-means clustering\n- **recommendation.py** - collaborative filtering based recommendation system; implements the `RecommendationEngine` class that leverages cosine similarity\n- **utils.py** - helper functions for logging, plotting, data I/O, etc.\n- **main.py** - main script to run the complete pipeline\n\n## Setup\n1. Clone:\n   ```bash\n   git clone git@github.com:avrtt/price-profiler.git\n   cd price-profiler\n   ```\n2. Create a virtual environment and install dependencies:\n   ```bash\n   python -m venv venv\n   source venv/bin/activate # Windows: venv\\Scripts\\activate\n   pip install -r requirements.txt\n   ```\n3. Run the main script:\n   ```bash\n   python src/main.py\n   ```\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favrtt%2Fprice-profiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favrtt%2Fprice-profiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favrtt%2Fprice-profiler/lists"}