Giter Club home page Giter Club logo

Suresh Tripathi's Projects

azure-sqldb-spark icon azure-sqldb-spark

This project provides a client library that allows Azure SQL DB or SQL Server to act as an input source or output sink for Spark jobs.

azuredatastudio icon azuredatastudio

Azure Data Studio is a data management tool that enables working with SQL Server, Azure SQL DB and SQL DW from Windows, macOS and Linux.

azuredevopslabs icon azuredevopslabs

Learn how you can plan smartly, collaborate better, and ship faster with a set of modern development services with Azure DevOps.

bert icon bert

TensorFlow code and pre-trained models for BERT

catboost icon catboost

A fast, scalable, high performance Gradient Boosting on Decision Trees library, used for ranking, classification, regression and other machine learning tasks for Python, R, Java, C++. Supports computation on CPU and GPU.

churn icon churn

Churn, retention and CLV modeling

ci-cd-pipeline-on-aws icon ci-cd-pipeline-on-aws

Set up a Continuous Integration and Delivery pipeline for a web application using various AWS services.

customer-lifetime-prediction-using-python icon customer-lifetime-prediction-using-python

How you measure the value of your customers? CLV or LTV is a metric that helps you measure the customer's lifetime value to a business. In this kernel, I am sharing the customer lifetime value prediction using BG-NBD, Pareto, NBD & Gamma Model on top of RFM in Python.

customer-lifetime-value-prediction icon customer-lifetime-value-prediction

Using data: Customer's invoice file. Introductions: Customer Lifetime Value(CLTV) "Customer Lifetime Value is a monetary value that represents the amount of revenue or profit a customer will give the company over the period of the relationship". CLTV demonstrates the implications of acquiring long-term customers compare to short-term customers. Customer lifetime value (CLV) can help you to answers the most important questions about sales to every company: How to Identify the most profitable customers? How can a company offer the best product and make the most money? How to segment profitable customers? How much budget need to spend to acquire customers? CLTV indicates the total revenue from the customer during the entire relationship. CLTV helps companies to focus on those potential customers who can bring in more revenue in the future. CLTV = ((Average Order Value x Purchase Frequency)/Churn Rate) x Profit margin. Please check the below step for how to calculate CLTV. Algorithm: Step1: Calculate CLTV. Calculate the average order value of customers: Average order value = Total money spent / total number of transactions Calculate Purchase Frequency: Purchase Frequency = Total Number of Orders / Total Number of Customers Calculate Repeat rate and Churn rate: Repeat rate = How many customers have numbers of transactions more than one / total numbers of customers Churn rate = 1 - repeat rate Calculate the profit margin: Profit margin is the commonly used profitability ratio. It represents how much percentage of total sales has earned as the gain. Let's assume our business has approx 5% profit on the total sale. Profit margin = Total money spent on each customer * 0.05 Calculate customer lifetime value: Customer value = (Average Order Value * Purchase Frequency) / Churn rate Customer lifetime value = Customer value * Profit margin Step2: Predictive modelling. Build a regression model for existing customers. Take recent six-month data as independent variables and total revenue over existing time( here taking 2 years) as a dependent variable and build a regression model on this data. Pros and Cons of CLTV: CLTV helps you to design an effective business plan and also provide a chance to scale your business. CLTV draw meaningful customer segments these segment can help you to identify the needs of the different-different segment. Customer Lifetime Value is a tool, not a strategy. CLTV can figure out the most profitable customers, but how you are going to make a profit from them, it depends on your strategy. Generally, CLTV models are confused and misused. Obsession with CLTV may create blinders. Companies only focus on finding the best customer group and focusing on them and repeat the business, but it’s also important to give attention to other customers.

dailyknowledge icon dailyknowledge

This repository contains the files and resources from my Daily Knowledge hunt

dbt-core icon dbt-core

dbt enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications.

dbt-redshift icon dbt-redshift

dbt-redshift contains all of the code enabling dbt to work with Amazon Redshift

dbt-snowflake icon dbt-snowflake

dbt-snowflake contains all of the code enabling dbt to work with Snowflake

dbt-unit-testing icon dbt-unit-testing

This dbt package contains macros to support unit testing that can be (re)used across dbt projects.

dbt_local_project icon dbt_local_project

Learn with the analytics engineers of dbt Labs how to migrate legacy transformation code into modular dbt data models. Useful if you're porting stored procedures or SQL scripts into your dbt project.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.