The chi-square statistic is a useful tool for understanding the relationship between two categorical variables.
For the sake of example, let’s say you work for a tech company that has rolled out a new product and you want to assess the relationship between this product and customer churn. In the age of data, tech or otherwise, many companies undergo to risk of taking evidence that is either anecdotal or perhaps a high level visualization to indicate certainty of a given relationship. The chi-square statistic gives us a way to quantify and assess the strength of a given pair of categorical variables.
Let’s explore chi-square from this lens of customer churn.
You can download the customer churn dataset that we’ll be working with from kaggle. This dataset provides details for a variety of telecom customers and whether or not they “churned” or closed their account.
Regardless of what company, teams, products, or industries you work with, the following example should be very generalizable.
Now that we have our dataset, let’s quickly use
select command to pull down the fields we’ll be working with for simplicity sake. I’ll also be dropping the number of levels down to two for simplicity sake. You can certainly run a chi-square test on categorical variables with more than two levels, but as we venture to understand it from the ground up, we’ll keep it simple.
churn <- churn %>% select(customerID, StreamingTV, Churn)%>% mutate(StreamingTV = ifelse(StreamingTV == 'Yes', 1, 0))
Churn is going to be classified as a Yes or a No. As you just saw, StreamingTV will be encoded with either a 1 or 0.
I won’t go into great depth on exploratory data analysis here, but I will give you two quick tools to being able to assess a relationship between two categorical variables.
Proportion tables are a great way to establish some fundamental understanding about the relationship between two categoricals
Table gives us a quick idea of the counts in any given level, wrapping that in
prop.table() allows us to see the percentage break down.
Let’s now pass both variables to our
table(churn$StreamingTV, churn$Churn) round(prop.table(table(churn$StreamingTV, churn$Churn),1),2)
Once you pass another variable into the proportion table, you’re then able to establish where you want to assess relative proportion. In this case, the second parameter we pass to the
prop.table() function, “1”, which specifies that we’d like to see the relative proportion of records across each row or value of
StreamingTV. As you can see in the above table in cases when a customer did not have streaming tv, they remained active 76% of the time, conversely if they did have streaming tv they actually stuck around less at 70%.
Now before we go getting ahead of ourselves, saying that having streaming tv most certainly is causing more people to churn… we need to make an assessment of whether or not we really have grounds to make such a claim. Yes the proportion of return customers is lower, but the difference could be random noise. More on this shortly.
This will give us similar information to what we just saw, but visualization tends to lend better to quickly understanding relative value.
Let’s start off with a quick bar plot with
StreamingTV across the x-axis, and the fill as
churn %>% ggplot(aes(x = StreamingTV, fill = Churn))+ geom_bar()
As you can see, nearly as many tv streamers churned and with a substantially lower total customer count. Similar to what we saw with proportion tables, 100% stacked bar helps assess relative distribution among values of a categorical variable. All we have to do is pass
position = 'fill' to
#data-analysis #data-science #machine-learning #mathematics #statistics #data analysis
Python is a popular web development language for enterprise and customer-centric applications. It is one of the top programming languages, according to TIOBE’s index. It has applications in web development, Machine Learning, Data Science, and other domains. The versatility of Python web development makes it the perfect language for applications in every project.
Amidst the hundreds of languages for web application development, Python stands out. It is powerful, scalable, and easy-to-learn. Python’s capabilities are useful in every sector — technology, FinTech, HealthTech, freight forwarding industry, and more. The core functionality of Python takes care of all the programming tasks for every feature that needs to be added.
In this article, we will focus on the major aspects of Python that make it suitable for web applications of all kinds. We will then highlight the proficiency of Python using a proven case study that Python developers at BoTree have built. It is a freight forwarding software for international logistics service provider that uses Python in the main technology stack.
Let’s look at the case study and capabilities of Python in detail.
Python is now the first choice for web development, Unlike Ruby on Rails, it offers more flexibility in the process, Here are a few reasons why companies should choose Python for web development -
Checkout Top Python Libraries for Data Science to use in 2020
As Python grows in popularity, its community also grows. There are more developers than any other programming language. They provide support for different development problems, support, and training for multiple projects.
Let’s look at a proven case study by BoTree Technologies that showcases Python’s capabilities in web development.
At BoTree, we use Python development services for building dynamic web applications. Today we will discuss a case study on the freight forwarding services industry. We developed it using Python and other technologies. Let’s understand it better.
We designed the freight forwarding software for a leading international logistics services provider. The system we created would collect the information from different freight forwarding websites using bill of lading or the container number. The information is then entered into the centralized system automatically for better management of the freight.
The main challenge was the manual processing of bills of lading. The information had to be gathered from a large number of websites. Each website had hundreds and thousands of bills. The manual process was lengthy and time-consuming. Because the freight forwarding companies were based out of different geographical locations, the client also faced language barriers while processing the B/L.
The technology stack to add freight forwarding features was simple and powerful. We used Python, Postgresql, AWS SQS, EC2m, Puppeteer and Virtual Private Cloud. We offered web development, software testing, and continuous support and maintenance.
The technology stack we used was focused on simplifying the complications in the freight forwarding system. Because the solution had to be scalable, Python was the probably choice for building the web application.
We built a fully server-les architecture. It performs the mapping of the websites and analyzes the different fields for assessing the required details in freight forwarding.
The solution parses data from different websites and matches the fields with the required information. It also takes into account previously parsed data for making the decision.
The collected information is structurally arranged into a format. The entire data system is then pushed back to a centralized ERP system. All the data is accumulated at a single place, making it easier to process the B/L without any hassle.
The freight forwarding solution consisted of the following features built using Python -
Python is a powerful programming language for enterprise-grade applications. Logistics companies heavily benefit from investing in freight forwarding solutions. Shipping systems are essential for managing the timely delivery of products and services. An internal system for B/L processing can enable you to reap the benefits of swift deliveries.
BoTree Technologies is a custom software development company that has Python experts who can build quality applications for enterprises. We have experience in the logistics, healthcare, fintech, education, and multiple other industries.
Connect with us today for a FREE CONSULTATION in the next 24 hours!
Originally published at https://www.botreetechnologies.com on May 11, 2021.
#python case study for logistics company #b/l processing system #freight forwarding case study #logistics case study #case study for logistics company #python web development
Dream-G application will allow user to chat, voice calls and video calls to random people through the mobile application. The User can create a profile and perform all these actions in addition to searching for a person using their name.
The client came with the requirement of developing a unique mobile application for users to chat with others and make voice and video calls. Furthermore, the user should be able to subscribe to the plan by paying a certain amount.
App Features and Functionalities
The User can see the list of the people and able to view the profile of a particular person and able to chat, voice call, and video call.
The user can see the list of entertainers and can chat, Voice call and Video call them.
User can search for any person by entering the name.
Through the chat option, the user can see the past history of the chat with all the users. The user can also open any chat and again send messages.
The user can see the profile details and able to edit or modify the profile photo, name, and other details. The user can see the call log details.
The user can see the number of coins available with them and through these coins, the user will able to make voice and video calls.
The user can purchase the plan listed in the application according to the requirements, and will be able to chat with the people.
The User can refer the mobile application to other people and earn rewarding coins.
To create a unique user experience for the Chat, Voice, and Video Calls.
Technical Specification & Implementation
Integration with the payment Gateway
Android: Android Studio with Java
We successfully developed and implemented the Dream-G mobile application through which the user will able to chat, voice call, and video call to other people. The user will also be able to purchase the subscription plan and refer the application to other people.
Read more: https://www.prismetric.com/work/dreamg-app/
#case #study #case-study-on-mobile-app #mobile-app-case-study
Mateflix application is a social media application where a user can post, find mates/friends,s and connect with them. Also, they can chat with other people, play music, or buy gift and wish other people on a birthday card template.
➛The user should be able to upload the post with the text, photos, and videos.
➛The user should be able to find, connect and chat with the other mates as an individual and as a group
➛The user should be able to purchase gift and pay for the gift online
➛The user should able to see the birthday details and wish other users through a Gift card
Application features and functionality
➛Upload post with texts, images and videos; share it on the timeline
➛Start video live stream and interact with the people while live
➛Find mates, connect with the mates
➛One to one and group chat with the mates.
➛Play music within the application
➛Purchase the gift/gift card and pay online from the application
➛Track the gift and get delivery at the home or desired location
➛Display of the birthday and wishing mates with the customized gift card
➛Manage the profile, birthday, mate’s profile and other settings
Technical Specification & Implementation
➛ Android: Android Studio with Java
➛ iOS: XCode with Swift
➛ Web Application: PHP
We successfully developed and implemented the mobile application (Android & iOS) where users can upload the post, share it with the other people, find mates, chat with the mates, go live, play music, send/customize gift card and purchase gifts from the application.
#mobile-app-case-study #app-case-study #mobile-app #case-study-on-mobile-app
Elev8tion application is a social media application where user can upload post & story, find people or friends to connect with them. In addition, they can chat with other people, create or join an event, party, or accept challenges.
User should able to upload the post with the text, photos, and videos
User should able to find, connect, and chat with the other person as an individual and a group
User should able to create or join event, attend a party, or accept a challenge
Application features and functionalities - Elev8tion
Registration and log in with social media accounts
Upload post or story with the text, images, videos and share it on the timeline
Find friend, connect with them
Have one to one and group chat with friends
Abel to create and manage events, party and challenges
Join and invite friends to join the party, event and challenges
Save and manage the personal notes
Manage profiles and friends
Android: Android Studio with Java
iOS: XCode with Swift
We successfully developed and implemented the mobile application (Android & iOS) where a user can upload the post, share it with other people, find friends, chat with the friends, create and manage the event, party and challenges.
Continue to read: https://www.prismetric.com/work/elev8tion/
#mobile #app #case-study-on-mobile-app #app-case-study #case-study-mobile-app #mobile-app-development
Giffi is a mobile application that provides multiple services to the customer like deliveries of food, grocery, liquor, pet food, flower, parcel, and any eCommerce purchasable items.
User should be able to get the service like deliveries of food, grocery, liquor, pet food, flower, parcel and also eCommerce platform through the single mobile application.
Users should able to pay for the delivery, track, and get the delivery item successfully.
The merchant should able to register, choose the appropriate category for the service, list out the product/item and receive order/delivery requests.
The driver should able to register, choose the delivery category, get the delivery request automatically, and deliver the item/product from merchant location to customer location.
The application should support multiple languages.
Users can see the various merchant & product details from each and individual categories like food, grocery, liquor, pet food, flower, parcel delivery, and eCommerce platform
Users can choose the delivery type, search & filter the product/item. Also view details of the product, order product, and pay through the mobile application
Manage shopping cart details, order details, and manage the returns of the orders
Able to request home delivery or take away the order
Chat with the merchant
Track the order status and driver on the map with ETA
Provide the rating and review to the driver and merchant
Manage profile information, delivery address, and settings
Register into the panel by choosing the category of the business from delivering food, grocery, liquor, pet food, flower, parcel or eCommerce platform
Merchant can manage the product listing and offer & discount details
Merchant can view and manage the e-wallet and transaction history
Merchant can chat with the users
Merchant can management the orders
Merchant can receive rating and review from the user
Manage merchant profile and other settings
Register into the application by choosing the category from deliveries of food, grocery, liquor, pet food, flowers, parcel or eCommerce. Or through personal information and vehicle information
Drivers can manage the availability status - online and offline.
Drivers receive the delivery request from the customer automatically.
Manage the delivery request and delivery of the items/products from the merchant’s location to customer’s location
Driver can receive the rating and review from the customer
Driver can view and manage the e-wallet and transaction history
Driver can chat with the customer
Manage driver profile and other settings
Technical Specification & Implementation
Android: Android Studio with Java
iOS: XCode with Swift
Web panel: PHP with the Codeigniter Framework
It was quite a challenging task to manage the complete application architecture as it involved multiple categories for the services and assigning them to an appropriate driver. From the perspective of the UI/UX design, it was tricky as well. It has been managed in such a way that it does not make it difficult to interact with the mobile application; the navigation is made easier for each user type.
We successfully developed & implemented the mobile application (Android & iOS) for the customer & driver and web panel for the merchant. Through mobile app, a customer can order product from service like deliveries of food, grocery, liquor, pet food, flower, parcel and also eCommerce platform through single mobile application.
Link for Play Store Giffi User App
Link for App Store Giffi User App
Link for Play Store Giffi Courier App
Link for App Store Giffi Courier App
Continue Reading: https://www.prismetric.com/work/giffi/
#case #mobile-app-case-study #app-case-study #mobile-app-development-company #app-development