Using Machine Learning to Predict Bus Ticket Sales

Articles

Sales are the lifeblood of a business. Sales forecasting is, therefore, a crucial part of any business’s financial planning.

In this tutorial, we look at one specific sales forecasting example: public bus ticket sales. Accurately predicting the demand for bus ticket sales can enable commuter companies to make informed decisions regarding their operations. The companies are able to gauge customer demand for certain rides, to manage resources and vehicles more efficiently, to offer promotions and sell other services more effectively, such as micro-insurance, or even improve customer service by being able to efficiently communicate alerts and other useful information.

Continue reading Using Machine Learning to Predict Bus Ticket Sales

Scan Barcodes on Android Using the Power of ML Kit and Fotoapparat

Articles

The uses of machine learning and computer vision features in mobile applications are increasing quickly; so much so that users—with some kinds of applications—expect mobile experiences to have embedded artificial intelligence.

Training and deploying ML models to the phone can take a considerable amount of time; you need to have in-depth knowledge of neural networks or model optimization to create a performant model—or hire ML engineers to do these task.

Continue reading Scan Barcodes on Android Using the Power of ML Kit and Fotoapparat

Introduction to Machine Learning Model Evaluation

Articles

Machine learning continues to be an increasingly integral component of our lives, whether we’re applying the techniques to research or business problems. Machine learning models ought to be able to give accurate predictions in order to create real value for a given organization.

While training a model is a key step, how the model generalizes on unseen data is an equally important aspect that should be considered in every machine learning pipeline. We need to know whether it actually works and, consequently, if we can trust its predictions. Could the model be merely memorizing the data it is fed with, and therefore unable to make good predictions on future samples, or samples that it hasn’t seen before?

Continue reading Introduction to Machine Learning Model Evaluation

How to Detect Face Masks in Images with TensorFlow.js

Articles

Face masks have become a necessity in the current world due to the ongoing COVID-19 pandemic. Many countries and health organizations have advised people to wear masks in public to contain the spread of the virus. Many shops, pubs, mega-stores, and more businesses have strict mask-wearing rules to for customers and employees upon entrance entering.

Businesses and local governments enforcing these strict rules need some kind of mechanism to track people who are not wearing masks. Tracking every single person just with the human eye is more or less impossible.

Continue reading How to Detect Face Masks in Images with TensorFlow.js

Create an Instant App Using Android App Bundle

Articles

Instant Apps is a technology introduced over two years ago at Google IO. An Instant App is designed to give your users a native Android experience without them directly installing the app from the Play Store.

Essentially, this is how it works: You split your app into smaller pieces called Features, which you can locally bundle in a zip file called an instant bundle. Then you upload that bundle to the Play Store, which can then choose from the set of APK’s, and finally deliver to user devices.

Continue reading Create an Instant App Using Android App Bundle

Phone Number Verification via SMS in Android Using Firebase

Articles

Validating identity is incredibly important in mobile development, and assuring new user signups are real human beings is critical. Developers need reliable ways to confirm the identities of their users to prevent security issues.

Developers can implement verification systems using phone numbers in two main ways: either by calling or by sending an SMS containing a code that the user must input.

Continue reading Phone Number Verification via SMS in Android Using Firebase

Implementing social login and user profile management in Android with Firebase

Articles

Following up on my earlier blog on implementing authentication with Firebase (email + password), this blog post will focus on implementing a social login with Firebase and managing an already-logged in user’s profile. If you haven’t read the previous post, you can read it here:

While allowing users to authenticate via email and password is helpful, it’s generally more convenient to instead let them log in to your service using a third-party auth provider like Google, Facebook, Twitter, etc. While this is easier for users, it also allows you access to more user data like their name, profile pic, and so on; whereas, with an email-password login system, we only have access to the user’s email.

Continue reading Implementing social login and user profile management in Android with Firebase

Exploring user behavior in Android with Google Analytics for Firebase

Articles

As a mobile developer, getting user feedback on what features to implement next and what areas to improve upon in your app is an essential part of the development process. And this is true not just for improving app features, but also for ensuring that users who aren’t happy with the app don’t get rid of it for good!

Continue reading Exploring user behavior in Android with Google Analytics for Firebase