{"id":16649033,"url":"https://github.com/jalajthanaki/customer_lifetime_value_analysis","last_synced_at":"2025-08-01T17:37:36.538Z","repository":{"id":81621510,"uuid":"125473892","full_name":"jalajthanaki/Customer_lifetime_value_analysis","owner":"jalajthanaki","description":"Customer life time analysis (CLV analysis). We are using Gamma-Gamma model to estimate average transaction value for each customer.","archived":false,"fork":false,"pushed_at":"2018-04-05T04:21:27.000Z","size":22558,"stargazers_count":45,"open_issues_count":0,"forks_count":24,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T22:36:35.137Z","etag":null,"topics":["customer-analytics","customer-lifetime-value","e-commerce-example","gamma-gamma-filter","lifetimes"],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jalajthanaki.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-03-16T06:32:31.000Z","updated_at":"2025-03-14T02:01:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"590ebc02-b69e-4441-86ac-50719893ab58","html_url":"https://github.com/jalajthanaki/Customer_lifetime_value_analysis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jalajthanaki/Customer_lifetime_value_analysis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jalajthanaki%2FCustomer_lifetime_value_analysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jalajthanaki%2FCustomer_lifetime_value_analysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jalajthanaki%2FCustomer_lifetime_value_analysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jalajthanaki%2FCustomer_lifetime_value_analysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jalajthanaki","download_url":"https://codeload.github.com/jalajthanaki/Customer_lifetime_value_analysis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jalajthanaki%2FCustomer_lifetime_value_analysis/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268268788,"owners_count":24223119,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["customer-analytics","customer-lifetime-value","e-commerce-example","gamma-gamma-filter","lifetimes"],"created_at":"2024-10-12T09:06:24.700Z","updated_at":"2025-08-01T17:37:36.512Z","avatar_url":"https://github.com/jalajthanaki.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Customer lifetime value analysis\nWe are modelling customer lifetime value for non-contractual business.\n\n## Dependencies\n* pandas\n* numpy\n* scipy\n* matplotlib\n* seaborn\n* lifetimes\n* jupyter notebook\n\n## Install Dependencies\n```\nPandas:           $ sudo pip install pandas\nnumpy:            $ sudo pip install numpy\nscipy:            $ sudo pip install scipy\nmatplotlib: \n                  $ sudo apt-get install libfreetype6-dev libpng-dev\n                  $ sudo pip install matplotlib \nseaborn:          $ sudo pip install seaborn\njupyter notebook: $ sudo apt-get -y install ipython ipython-notebook\n                  $ sudo -H pip install jupyter\nlifetimes:        $ sudo pip install lifetimes\n\n```\n\n## Dataset\n\n* Data set can be download from this [link](http://archive.ics.uci.edu/ml/datasets/online+retail)\n* There is no need to download dataset because it is already downloaded. \n* Path of dataset is `./input_data/`\n\n## Usage\nRun the code given in ipython notebook `CLV_analysis_online_retail.ipynb`\n\n## Credit\nCode credits for this code go to [Susan Li](https://github.com/susanli2016). I've merely created a wrapper and necessary changes to get people started.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjalajthanaki%2Fcustomer_lifetime_value_analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjalajthanaki%2Fcustomer_lifetime_value_analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjalajthanaki%2Fcustomer_lifetime_value_analysis/lists"}