Challenge:

Does your company collect data? It’s OK, you can be honest. I do. Whether you are an ecommerce firm whose lifeblood is understanding your customers’ online behavior, or a manufacturing company trying to stay ahead of machine maintenance, you collect data on your business that helps your company perform. Cloud Brigade is setting out to answer the question: Can AI and Machine Learning help uncover actionable insights on the health and direction of your business using the data that you already own?

Benefits:

  • Gives you a real time or near-real time dashboard to monitor your business and identify issues
  • Smart data visualizations compare sales and supply cycles to budget and headcount forecasts
  • Applies NLP to your customer feedback and quantifies general attitudes (happy, frustrated, etc)
  • Allows you to run the business instead of creating manual forecasts and repetitive reports
  • An AI Buisiness Intelligence solution can make predictions based on your behaviors and specific market position

About/Background

There seem to be new business intelligence software released all the time. There are great apps that track your marketing spends and trends, apps that predict customer churn and lifetime value, inventory apps that help your managers better understand the product pipeline; but very few handle all of the above, and those come at a dear cost. What if you want to measure them all at the same time while saving tens or even hundreds of thousands of dollars in annual labor costs normally associated with bookkeeping, forecasting, and reporting? With CB Abi, Cloud Brigade’s AI for Business Intelligence, this can be your reality.

Challenges

  • Irresolvable Complexity – With all of the different software out there, how can you decide what data to track in your business, and what does any of it even mean? Do your many tools integrate well?
  • Improving Systems and Processes – CB Abi allows you take action instead of spending all of your time learning what has already happened by providing dashboards to your business’s health and deep-dives into the predicted outcomes of various action options
  • Antiquated Technology – With the arrival of IoT devices and machine maintenance sensors, your business should be using predictive maintenance to save money and reduce downtime
  • Antiquated Technology – With the ability to use Unsupervised Learning ML Models to cluster your customer base, you no longer have to trust the gut of the highest paid person in the marketing team
  • Skills & Staffing Gaps – If you’re already collecting more data than you can use, hiring a team of three or four software engineers to sift through everything and create a new system to maintain will not pay for itself for many years. Spending a fraction of that to hire a consulting team to do it will start earning you money without the downstream cost liabilities associated with added staff

Where it Began

In the winter of 2020-2021, Chris Miller, founder and CEO of Cloud Brigade in Santa Cruz decided that it was time to get a little healthier. As a data geek and inventor, Chris was excited to see how tracking his progress using his gadgets might help him stay on track or be more successful in his workout and diet plan. He asked me to build out a Data Science pipeline that took all of the various sensor data and health reports, do some predictive modeling with them, and build dashboards with the results.

Before I went back to school for Computer Science I was a Sales Director for an online wine retailer. It was a startup that sold for $100M based mostly on their ability to dial in the important Key Performance Indicators, or KPI’s. They modeled them out with accurate forecasting, anchoring on the Lifetime Value of each customer (LTV) and the Return on Investment of each employee (ROI). I built a dashboard for that in excel, which is what compelled me to learn how to do it in python, javascript, and to use Machine Learning Models and Statistical Analysis for even better prediction accuracy than multiplication factors alone. 

My project back then at the wine startup saved me 30 hours a week (that’s right–an entire person’s workweek) which reduced my job to a mere 45 weekly hours. It was clear that in creating this new workflow now, I had come to the marriage of preparation and opportunity, and thus CB Abi was born.

Solution and Strategy

Cloud Brigade is no stranger to finding the best technologies for your business. As an AWS Partner, Cloud Brigade has experience pairing the right technology with the right problem, and CB Abi allows us to use this same process to manage your company’s data. Working with your IT or Data professionals, we can custom-build ETL scripts or connect to existing API’s. Then we are able to restructure quantitative data and interpret qualitative data to recommend best practices for your data warehousing. Finally we use Amazon Web Services (AWS) to handle our workload in the cloud.

The end result is a branded interface that can live on a big screen in your office or boiler room like an ESPN reel or a CNBC Ticker, keeping you and your teams aware and excited about your daily business performance. You can also log in to this dashboard and drill-down into each segment of your business for a closer and more in-depth look at what is happening.

This Is No Ordinary Project

Building Machine Learning solutions that deploy on the edge is not as easy as it sounds. Sure, using advanced algorithms that in many cases were developed at Google or Amazon and applying them to your business using python libraries and a little statistical knowhow seems pretty straightforward. However, it takes a lot of time-consuming data engineering before you even get to the Random Forests and Neural Networks. 

If you don’t already have a handle on your company’s data and how to access it, that will add time and complexity to the job. However, getting into the weeds creating scalable systems for your business is what we do best.

Smarty-Pants Technology

Before we can tackle this issue, it is important to build solid data pipelines using AWS Glue (as is described in another article here), or Amazon Data Pipeline or EMR. Glue allows us to take data from our data lake in AWS S3 where our devices have been programmed to send the data on a daily schedule, run an ETL job (Extract, Transform and Load) on the data, and insert it into our Amazon RDS (Relational Database System) or Amazon Redshift Data Warehouse. We can do this in PySpark, utilizing the RDD and making copious amounts of data far more manageable. But at the end of the day, the microservice that delivers a scalable solution that is the right fit for your business is the one that we will choose. Or if need be, we’ll invent one. 

Then we have to explore all of the data, normalize it for comparison, and then re-write our pipeline. Along with restructuring the database to hold it in its proper form without duplicating, truncating, or clobbering other data. The objective is to have a self-contained software that can handle the forecasting and data reporting for your business that is easy to use so that nobody has to become an expert in using the software–you’re already an expert at what you do. CB Abi lets you spend your time doing what you do best.

From there, we can use a data dashboard and visualization software that renders comparative views of each of the different metrics. We may choose to build a visualization solution in-house using a python library such as streamlit, but for most use cases, Amazon Quicksight is a robust solution with a very low cost when it stays inside an organization. 

Finally, we deploy our in-house Data Science and Machine Learning team to run exploratory data analysis, predictive modeling, and more data visualizations in Amazon Sagemaker. For this step we’ll have questions for your marketing, sales, manufacturing, and IT teams in order to make sure that the models we are building properly speak to the specifics of your business.

So what does this mean? This means that we can build out CB Abi to monitor your sales and supply chain, track your customer segmentation trends and marketing effectiveness, forecast your budget and hiring needs, and even run predictive maintenance on your machinery or equipment. The actionable insights that CB Abi’s dashboards leave you with will free up time to do the important things, like coaching your staff, innovating to get ahead of your competition, and even taking a vacation to be with your family where you don’t have to constantly check your cell phone for peace of mind. 

Building the Model

Since every business will have its unique obstacles to overcome, CB Abi is not a simple one-day solution. We’ll ask to spend a little time with your decision makers and stakeholders to gain some knowledge into what currently informs your forecasts. We’ll want to get a sense of what questions you already ask yourselves every month. We’ll ask what KPI’s you are currently working with, and what rates of change you are expecting to see on a month to month or quarter to quarter basis. With a little domain knowledge and historical data, we can turn around predictive models that will live inside CB Abi with insights ready to help you plan changes for the future.

Technical Hurdles to Overcome

Since every system is different, there may be some data migration and normalization hurdles that will arise. Provided our teams are on the same page from the start, there’s no hurdle we cannot get over as we stay on track toward your custom solution.

A Successful Integration and a Technology Handoff

One thing we have learned through our work in Machine Learning is just how time consuming and intricate each step can be. A lot of times, the work of building up the infrastructure and lining up the data so all the moving parts can communicate with each other is actually more challenging than creating and operating Artificial Intelligence. This product is no different. The live application must be programmed to dynamically handle new data fields, data types, and data sources whenever the user wants to add them. The data pipeline must be programmed with the proper error handling and notification systems, and the data reports must be connected to the alert systems with bullet-proof security. However once the data science has been fully integrated, very little regular maintenance is required to keep the system working.

Opportunities

With a solution like this for your business, we can also build you a virtual assistant that can interact with your managers to alert them to oddities or answer quick questions. This assistant can utilize Amazon Lex, the software behind Alexa, to give a conversational overview of the top-line numbers every day. From threshold notifications to quickly processing how a new idea will change your profitability in a coming quarter, we’re here to let CB Abi keep working for you even after we’ve handed the code repos over to your teams.

CB Abi also integrates with Cloud Brigade’s SmartDispatch which labels, prioritizes, and delegates your incoming customer emails so that you can save time and money. The data from SmartDispatch can inform your customer segmentation models, your employee productivity metrics, and even your budget forecasts. With CB Abi you’re not just getting a report, you’re gaining a team member that never needs a coffee break.

WHAT’S NEXT

If you like what you read here, the Cloud Brigade team offers expert Machine Learning as well as Big Data services to help your organization with its insights. We look forward to hearing from you.

Please reach out to us using our Contact Form with any questions. 

If you would like to follow our work, please sign up for our newsletter.

Challenge:

Can Machine Learning help your Marketing Strategy by implementing better Segmentation Models? Are you using all of your data wisely? How deep is your data lake, and can you even handle all of it? What if there were a way to use all of your customer data to find the customer segments with the highest ROI, and then talk to them directly?

Benefits:

  • Identify your best customer cohorts with laser precision
  • Reach your best customers where they are
  • Don’t waste marketing and advertising dollars on cohorts that don’t respond
  • Run new models weekly or seasonally to see how your cohorts evolve over time

Cloud Brigade is setting out to answer the question: Can AI and Machine Learning make you more money by taking your customer segmentation strategy to the next level using the data that you already own?

About/Background

Have you ever launched a new product line or a new business and wondered why everyone doesn’t see the amazing value of your product upon first sight? I have. I was working at a Wine Industry startup a few years back and as the Head of Sales, and I was asked to temporarily run the marketing program until we hired a marketing manager. There were only four of us at the company back then, and we weren’t even licensed to sell wine yet, so I was eager to start getting our customers to line up outside the door in anticipation. 

Having worked at an ecommerce juggernaut in my previous role, I thought it would be easy. As you can imagine, there was a lot more to it than I’d expected, and nowhere was that more true than in finding where our ideal customers were and talking directly to them.

I was no stranger to customer segmentation. I knew that we were targeting people of a specific age who were looking to spend $40 – $150 per bottle of wine, people who had higher-than-average incomes, maybe people that drove foreign luxury cars, and people who valued authenticity and the feeling of being part of an exclusive club. The problem was that these characteristics of our ideal customer were all from a branding perspective. We weren’t utilizing the data that we had available to find out who was actually using our website pre-product launch. If I had known how to build a Customer Segmentation model back then, our business might have progressed on a very different track.

Challenges

  • Irresolvable Complexity – How do you know which data to segment your customers on? What if gender and age and zip code were only three of several dozen data points that you had available?
  • Improving Systems and Processes – Customer Segmentation Modeling allows your CMO or Marketing Manager to run more A/B testing of your content on the best cohorts of consumers
  • Skills & Staffing Gaps – Relying on gut feelings is important, but using data to drive your decision-making takes the guesswork and arguments out of your board-room

Solution and Strategy

In the spring of 2020, as a pandemic was spreading around the world, Chris Miller, Founder and CEO of Cloud Brigade started wondering if Machine Learning could lend insights into how this virus was acting on different populations. I immediately thought of customer segmentation and wondered if this problem would be anything like the marketing attempt from my wine start-up. In this pandemic problem, we ended up finding at least 147 different factors comparing county-level data in the United States. Some of these factors included the prevalence of public transit in a region, the level of education, percentage of households receiving medicare, average household income, race, age, etcetera.

Using clustering models and transfer learning, we were able to find some glaring factors that contributed to the disparity in spread and mortality of this illness, and you can read about it here if you are interested in that study. The study is directly analogous to the customer segmentation problem in that it helped to group together areas that were similar from vast amounts of data, and that we wouldn’t have otherwise thought to look into.

The great thing about customer segmentation models using Machine Learning is that they take a lot of the guesswork out of your marketing and financial forecasting. For example, like my high-end wine company, you may want to market to a specific customer because you think they fit your branding consultant’s idea of the “ideal customer”. Your gut tells you that this is the right type of customer to buy your product, but there’s an X-factor that makes your business unique, and that same X-factor means that the people that you have experience with in the past might not be the most valuable customers for this new product. 

In my case with the wine, the company founders came from the corporate side of the luxury wine market, and I came from a more scrappy online retailer. We were trying to marry these ideas by getting high net worth individuals and people with higher incomes to join a subscription wine club that they would pay for monthly. We found out after months of trying that our “ideal customer” was not the person most likely to interact with our website. We had missed the mark because of our own preconceived notions of those customer cohorts and how we chose to use our target marketing dollars.

With Machine Learning, we could have taken the tried and true cohort segments such as age, location, gender, and income, and added to them data points such as how long a specific customer spends on the website, or on a particular product page; the date of their last purchase, how many total purchases they have made, what web channel usually brings them to the site, or which physical retail store they shop at more often, or do they buy apparel and gear from us. 

All of these factors contribute to grouping customers so that you can find out what traits actually describe your most valuable customers. You can figure out how much it costs you to acquire that most valuable customer, as opposed to just knowing your new customer acquisition cost. You can run comparative testing, known as “A/B Tests”, to see which marketing strategies or sales funnels work best for each customer cohort, and optimize your spend for each. Through that you can learn the lifetime value of each customer cohort, and from there you can figure out which cohorts make you the highest ROI when you market to them.

This Is No Ordinary Project

Building Machine Learning solutions that deploy on the edge is not typically easy. In this case, the ease of creation comes down to what systems your business is currently using to collect data. You likely have some type of Customer Relationship Management Software, or CRM, that houses lots of contact data, and usually purchase information, about your customers, but are you sending that data to a Data Warehouse? Do you use a Point-Of-Sale system such as Aloha in your retail channels, and are you collecting your customer’s email address at the time of sale? Do you use a separate fulfillment system for deliveries, or an accounting software like QuickBooks instead of an ecommerce system? Tell us about your ERP solution. And what about your website monitoring–is it all facebook and google analytics or has your web developer already created a pipeline for your data and is it connected to a customer id and a database?

If you don’t already have a handle on your company’s data and how to access it, that will add time and complexity to the job, but be assured that getting into the weeds creating scalable systems for your business is what we do best. As a Data Scientist, being able to assemble this data and put it into a usable format is my literal pleasure.

Smarty-Pants Technology

There are several kinds of clustering models that we use depending on the type of data that you own, the spread and diversity of the data, and your main objective and goal (do you want to optimize for ROI or for total profit dollars, for example). We will most likely use a transfer learning algorithm that blends concepts in regression and classification with the clustering models.

That’s a geeky way of saying there’s more than one way to build this, and your company is unique. Whatever the desired goal or the perceived complexity, our product is not ready until it clearly shows you your different customer cohorts and allows you to put a dollar figure on each cohort so that you can decide where your marketing and advertising dollars should be spent. This can mean we’ve built a fully-managed and robust front-end with a no-code app that your marketing team can use, or it might be as simple as adding a label to your existing software through an API. Our team will find the best way to make you the most money and deliver the results that you’re asking for.

Technical Hurdles to Overcome

Since every system is different, there may be some data migration and normalization hurdles that will arise. We might decide to use microservices like Amazon SageMaker and Amazon QuickSight to expedite the solution, or we might even code it out with open-source tools from scratch. Provided our teams are on the same page from the start, there’s no hurdle we cannot get over as we stay on track toward your custom solution.

A Successful Integration and a Technology Handoff

One thing we have learned through our work in Machine Learning is just how time consuming and intricate each step can be. A lot of times, the work of building up the infrastructure and lining up the data so that the different parts can all communicate with each other are actually more challenging than creating and using Artificial Intelligence. This product is no different. The live application must be programmed to dynamically handle new data fields, data types, and data sources whenever the user wants to add them, the data pipeline must be programmed with the proper error handling and notification systems, and the data reports must be connected to the alert systems with bullet-proof security. However once the data science has been fully integrated with the front-end application, very little regular maintenance is required to keep the system working.

Opportunities

With a solution like this for your business in place, it’s really a small step to implement CB Abi, Cloud Brigade’s AI Business Intelligence solution. CB Abi also integrates with Cloud Brigade’s SmartDispatch which labels, prioritizes, and delegates your incoming customer emails so that you can save time and money. The data from SmartDispatch can inform your customer segmentation models, your employee ROI metrics and productivity metrics, and your budget and headcount forecasts. With CB Abi you’re not just getting a report, you’re gaining a team member that never needs a coffee break.

WHAT’S NEXT

If you like what you read here, the Cloud Brigade team offers expert Machine Learning as well as Big Data services to help your organization with its insights. We look forward to hearing from you.

Please reach out to us using our Contact Form with any questions. 

If you would like to follow our work, please sign up for our newsletter.

Challenge:

If your business has a general email address such as info@yourBusiness or help@yourBusiness, then you probably know how much work can go into answering customer emails in a timely manner. You may even pay an employee or 10 to answer emails all day long. If this is the case then you know all too well that there are days when that number of emails is just too high for your team to handle in a reasonable amount of time, or within your Service Level Agreement (SLA). Have you ever missed a very important message due to it being buried in the queue? Ever wish you had a way to identify the customer complaints so that you could focus on correcting those issues immediately? That might be about to change. 

Benefits:

  • Reduces labor costs by efficiently routing communications to the appropriate staff
  • Labels emails as “Positive”, or “Negative”, or “Refund Request”, etc for easy attention
  • Can summarize long emails so that an agent can phone customers when appropriate
  • Infinitely scalable — no need to add levels of management just to handle your email queue
  • Better Reliability — when the right people are looking at the right emails, you’ll catch every important detail and no immediate issues will fall through the cracks
  • Has the ability to create a customer-feedback forecast that automatically predicts the number of staffers that you’ll need to address the level of contact that you are comfortable with

Cloud Brigade’s new SmartDispatch Solution is able to:

  • Use Natural Language processing to screen every email as soon as it comes into your queue
  • Label it according to the relevant department
  • Identify and label it as positive or negative feedback
  • Prompt an auto-response in case customers need a higher-touch care

——-

About/Background

Natural Language Processing, or NLP, is all the buzz in the ML/AI tech news, but it is not a new technology. Every time you call a company that has an automated voice operator on the phone, or use an automated chatbot online, or see google’s predictive text in your gmail account, you are using NLP. So why then, with all of this NLP in the market, do you still have to hire staff to answer your customer emails?

One big reason is personality. While Siri might seem like a complex presence, AI lacks a human touch, and really that’s a good thing. Your customers know when they are interacting with a chatbot as opposed to a real person. Beyond that, though, you know from being a customer yourself that when you create a personal bond with a human being, you are exponentially more likely to purchase from that company again and to recommend their services to your friends. 

So how do you reconcile this? How do you create a personal bond with as many of your customers as possible without paying all of your profits away to an over-sized customer service department? The answer just might be Cloud Brigade’s SmartDispatch Solution.

SmartDispatch uses NLP to screen every email in near real time as it comes into your queue, labeling each email with its level of importance, its topic, and its tone. SmartDispatch then directs each one to the right person or team so that you don’t have refund questions sent to your tech staff, or website bug notifications sent to your accounting team. With SmartDispatch, you save time and reduce or eliminate the added stress of reading and re-reading emails that you’ll just have to send to somebody else.

Business Challenges

  • Irresolvable Complexity – The human mind can read text and conceptualize feelings and importance, whereas until recently, computers could not do this
  • Improving Systems and Processes – Smart Dispatch allows you to use AI to re-route the important emails to the people who are best suited to respond to them
  • Skills & Staffing Gaps – No longer must you train every customer service employee on every aspect of your business before they handle a single customer request–now they can be experts in a specific area and answer more queries with precision and confidence
  • Antiquated Technology – Although email once revolutionized how we can interact with our customers, the use of SmartDispatch will make old email look like the Pony Express

Solution and Strategy

Cloud Brigade is no stranger to finding the best technologies for your business. We can build a solution from scratch using python libraries such as Natural Language Toolkit (NLTK) or Textblob, but often we can get a head start with another product that might be a better fit for your use-case. As an AWS Partner, Cloud Brigade has experience pairing the right technology with the right problem, and Natural Language Processing has a number of options. A small-scale solution might best deploy AWS Lex to build a chatbot on your website, for example. A larger-scale integration may include incorporating SmartDispatch into your own branded CB-Abi solution (Cloud Brigade’s AI Business Intelligence Solution). While most projects will fall somewhere in the middle, we are adept at finding existing solutions in the market and piecing the right products together by inventing the data pipelines, user interfaces, and dev-ops solutions that are required to connect your current email manager or CRM (customer relationship management software) to the technology of tomorrow.

Where it Began

Before I came to study Data Science and Computer Science I was a Sales Director in charge of about 50 people in two call centers. Part of my job was creating a forecast for how many customer service employees that we would need to hire and train based on the expected number of phone calls and emails that we would receive in the coming months and years. One of the factors that went into this forecast was the number of emails that an employee was able to answer each hour, and our Service Level Agreement, or SLA. The SLA was 24 hours, which meant that every email we received had to be answered within 24 hours of its receipt. You may in fact have this same situation in your company. 

If you do, then you also know how easy it is for an email that came in at the end of the work day to get pushed off until tomorrow. It’s still “in SLA”, you’re not outside of a reasonable response time, but maybe the email is of a much higher importance to your business than the average missive. Maybe it’s a user or member who is ready to cancel their account and trash you on social media, and they just need a quick response to cool off and be won back to your favor.

But how do  you know, without opening each email and reading it, if that email coming in at 5:01 has the potential to affect your sales for the next month? How long does each email take to read? How can you read it without responding, and how long does that take?

That’s where NLP with SmartDispatch from Cloud Brigade comes in. 

This Is No Ordinary Project

Building Natural Language Processing (NLP) solutions is not as easy as making a predictive sales forecast or predicting home prices based on the square footage of a home. Before we could tackle this issue, it was important to build NLP models from scratch, see the pitfalls and the intricacies, and learn how to customize and temper the results for better interpretation. For example, take an email such as:


“I bought a microphone and holder from you one month ago and it sounds terrible. Im happy to try another product but id like my money back”

Some off-the-shelf NLP products may not have enough Hyperparameter Tuning (a process of teaching your model the intricacies of your dataset or real world use case) mark this email as a “Positive” email because it contains the words “happy”, “like”, and “try”. Clearly we can see that this customer is willing to stay with this company, but the word “terrible” really ought to throw up a flag. 

Also, from context, a trained NLP model will be able to route this email to the refunds department, or even to a sales representative who can find a better quality product or a new microphone as maybe the particular one that the customer received was defective. While early iterations are much more accurate at predicting sentiment than choosing between several departments, we are now in an era where technology advances almost as quickly as we can dream it. Once perfected, SmartDispatch could automatically process this refund if you so choose, as maybe this is a new customer or a repeat customer that has never received a refund or discount. The automation frees up labor costs and time that your employees can spend being more productive. These are just some of the levers that your management can pull, and that Cloud Brigade will work hand-in-hand with you to perfect as we push your solution to your team.

Smarty-Pants Technology

We can build a full, specialized Customer Relationship Management software solution (CRM), or a specialized user-interface for your email stream. However, there are great solutions out there for CRM already from companies that do CRM and only CRM. If you want a fast solution without a full custom build-out, we can do that too. Using services such as Amazon Comprehend and Amazon Lex (The AI product that powers Alexa), Natural Language Processing can be done in hours instead of weeks. There are also other products in the AWS Marketplace that we can employ in this buildout to decrease turnaround time, and thus costs.

With the help of some data engineering, we can create a pipeline that pulls each email into a workflow allowing it to be analyzed for sentiment (she loves us, she loves us not), topic (product, shipping issues, or ‘the way that I was talked to on the phone’), and department and level (is this a question for Julia the CTO, or for Kai the Director of shipping and fulfillment or for Maria in Customer Service?).

So what does this mean? This means that we can program a dispatcher that lives inside your computer and sends the right emails to the right people with a quick summary of what’s going on so that your staff saves time and feels less stress in their day-to-day. What’s better for your customers than a happy customer service team?

A Successful Integration and a Technology Handoff

One thing we have learned through our work in Machine Learning is just how time consuming and intricate each step can be. A lot of times, the work of building up the infrastructure and lining up the data so that the different parts can all communicate with each other are actually more challenging than creating and using Artificial Intelligence. This product is no different. The live software must be programmed to scan every email in near real time, there must be a logic that diverts each email to the right employee (and that can also be done using Machine Learning), the data pipeline must be programmed with the proper error handling and notification systems, and the data reports must be connected to the alert systems with bullet-proof security. However once the data science has been fully integrated with the CRM or custom email interface, very little regular maintenance is required to keep the system working.

The final step will be to package the Machine Learning model with an API connecting your model with your CRM and/or email server.

Opportunities

While this project is designed to reduce costs and improve customer service provided by your business, it is not a niche product.  From identifying questionable copy before your marketing or sales team releases it, to monitoring social media sites for mentions of your business, SmartDispatch can be repurposed, scaled out and adapted easily. We can also build you a chatbot! We look forward to the final product being useful in companies of all sizes and needs.

WHAT’S NEXT

If you like what you read here, the Cloud Brigade team offers expert Machine Learning as well as Big Data services to help your organization with its insights. We look forward to hearing from you.

Please reach out to us using our Contact Form with any questions. 

If you would like to follow our work, please sign up for our newsletter.

  • Challenge:

    Have you ever started an exercise program or a diet only to be deterred by a couple of happy hours and a Taco Tuesday Too-Many? I have. Have you ever gotten a funny suggestion from your doctor after an annual physical about what you are eating or how often you stand up and sit back down again? What if there were a way to monitor your health in real time the same way you monitor your stock portfolio or your favorite sports team’s performance?

Benefits:

  • Keeps you motivated on your exercise program by measuring and demonstrating your progress
  • Let’s you see data visualizations comparing your food intake with your sleep cycles
  • Allows you to input your health history to identify risks of heart disease, high blood-pressure, etc
  • HealthAI can draw predictions about your future strengths and dangers if you continue or change your exercise and diet behaviors based on your individuality 

About/Background

There seem to be new diet apps and exercise software all the time. There are great running apps that track your distance and speed and output how many calories they think you just burned. There are apps that track what foods you are eating that can connect to the manufacturer of those foods and input the ingredients you are ingesting, the nutritional vitamins and minerals and caloric makeup of your food, and even apps that help you manage existing ailments such as diabetes. Apple has an entire division of software and devices dedicated to just this. But what if you want to measure them all at the same time?

Challenges

  • Irresolvable Complexity – With all of the different apps out there, how can you decide what data to track regarding your health and what does any of it even mean?
  • Improving Systems and Processes – HealthAI allows you to keep doing what you do and it provides dashboards to your health and deep-dives into the possible outcomes of various diets and activities
  • Antiquated Technology – With the arrival of IoT devices like smart scales, gps tracking apps, and smart-bikes, HealthAI collects all of this disparate data from cutting-edge sources, normalizes the data, and compares them an apple an apple a day! No more writing everything down manually, just go for a run and it runs

Where it Began

In the winter of 2020-2021, Chris Miller, founder and CEO of Cloud Brigade in Santa Cruz decided that it was time to get a little healthier. As a data geek and inventor, Chris was excited to see how tracking his progress using his gadgets might help him stay on track or be more successful in his workout and diet plan. He quickly noticed that all of the measured health factors such as miles run, miles walked, steps, sleep hours, vitamin C intake, water intake, blood pressure…etcetera…something something sodium…well after a while they all start to become just more numbers with less explanations. 

As a Machine Learning guru, Chris knows that more data usually means more chances to find correlations between seemingly unrelated things. He started wondering–does my sodium affect my energy? Does my sleep schedule affect my energy output on the bike? Can caffeine intake be correlated to resting heart rate and what might that mean for my long-term likelihood of other ailments? It was then that he asked me to start putting some of this data into a database and a data visualization tool (being weary of spurious correlations), and just like that, HealthAI was born.

Solution and Strategy

Cloud Brigade is no stranger to finding the best technologies for your business. As an AWS Partner, Cloud Brigade has experience pairing the right technology with the right problem, and HealthAI allows us to use this same process to manage your health. Using custom-built ETL scripts and Chris’s Apple Health apps and other non-Apple health apps, we are able to restructure quantitative data and use Amazon Web Services (AWS) to handle our workload in the cloud.

This Is No Ordinary Project

Building Machine Learning solutions that deploy on the edge is not as easy as it sounds. Sure, using advanced algorithms that in many cases were developed at Google or Amazon already and applying them to your business using python libraries and a little statistical knowhow seems pretty straightforward, but it takes a lot of time-consuming data engineering before you even get to the Random Forests and Neural Networks.

Smarty-Pants Technology

Before we could tackle this issue, it was important to build a solid data pipeline using AWS Glue, as is described in another article here. Glue allows us to take data from our data lake in AWS S3 where our devices have been programmed to send the data on a daily schedule, run an ETL job (Extract, Transform and Load) on the data, and insert it into our Amazon RDS (Relational Database System).

Then we had to explore all of the data, normalize it for comparison, and then re-write our pipeline and restructure the database to hold it in its proper form without duplicating, truncating, or clobbering other data. Pretty basic stuff if you’re a data engineer who writes Scala and PySpark in her sleep, but not exactly your everyday project for the rest of the world, geeky as we might be.

Photo Credit: https://medium.com/codefully-io/aws-glue-for-loading-data-from-a-file-to-the-database-extract-transform-load-fe6b722e11b8

From there, we can use Amazon Quicksight, a data dashboard and visualization software that renders comparative views of each of the different metrics. Eventually we may choose to build a visualization solution in-house using a python library such as streamlit, but for now Quicksight is a fine and robust solution with a very low cost when it stays inside an organization. 

Finally, we deploy our in-house Data Science and Machine Learning team to run exploratory data analysis, predictive modeling, and more data visualizations in Amazon Sagemaker. The goal is to also connect a Natural Language Processing (NLP) solution to incorporate user journaling as an additional input to the models. These results can help a user tailor workout and diet plans around a desired health outcome within their lifestyle, or to make changes where necessary to avoid unwanted results.

So what does this mean? This means that we can build out a working HealthAI that monitors your workouts, tracks your progress toward your goals, and demonstrates how your diet, exercise, and sleep habits all affect your general mood, well-being, and can even predict your possible health future and prevent worry.

Building the Model

In order to have a marketable app in this space, we need to wrangle every step of deploying a Machine Learning application in production. From cybersecurity policies and data partitioning, to creating a working API and managing the storage space and capacities of the various parts of the data lake; to finally perfecting how we normalize the data and enter it into the various regression, classification, and clustering models that feed our transfer learning algorithm. 

It’s also important to remember that the NLP model that will interact with users’ moods and feelings will have to be able to adapt and learn as it grows. This model can include Amazon microservices such as Lex, but it also needs to have some custom awareness as to how we employ basic NLP techniques such as lemmatizing or bigram and n-gram usage.

Technical Hurdles to Overcome

For me, a Data Scientist, the highest hurdles actually are the data engineering bits. While you can never have enough practice employing statistical models, the ocean of resources and requirements that come in to play in data munging, exploration, and imputation are nothing compared to the waterworld that is data engineering.

A Successful Integration and a Technology Handoff

One thing we have learned through our work in Machine Learning is just how time consuming and intricate each step can be. A lot of times, the work of building up the infrastructure and lining up the data so that the different parts can all communicate with each other are actually more challenging than creating and using Artificial Intelligence. This product is no different. The live application must be programmed to dynamically handle new data fields, data types, and data sources whenever the user wants to add them, the data pipeline must be programmed with the proper error handling and notification systems, and the data reports must be connected to the alert systems with bullet-proof security. However once the data science has been fully integrated with the IoT, very little regular maintenance is required to keep the system working.

The final step, after including the NLP portion, will be to package the Machine Learning model with an API connecting your model with your mobile phone, smart watch, smart scale, and other edge devices. Then you’re off to the races.

Photo Credit: https://www.agsinger.com/top-3-benefits-of-jogging-every-morning-with-your-family/

Opportunities

While this project is designed to help you gain insights into your health and fitness, it is not a niche product.  From wrangling all of the myriad data that your business has been collecting about your customers, your products, your employees, and anything from your machinery to your refrigerator, the kind of data pipelines and dashboards that HealthAI employs are a great fit for understanding all of that data in an easy to read chart. Think of it as a daily health-check on your business, or a HealthAI + BI. 

With a solution like this for your business, we can also build you a chatbot that can interact with your managers to alert them to oddities or answer quick questions like “How many widgets will the Heroes Company buy next quarter?” We’re developing a tool called Cloud Brigade AI for Business Intelligence, or CB Abi, and we can’t wait to tell you all about it very soon.

We look forward to both HealthAI and CB Abi being useful in the future.

WHAT’S NEXT

If you like what you read here, the Cloud Brigade team offers expert Machine Learning as well as Big Data services to help your organization with its insights. We look forward to hearing from you.

Please reach out to us using our Contact Form with any questions. 

If you would like to follow our work, please sign up for our newsletter.

Challenge:

Farmers all over America are experiencing a worker shortage amidst the global pandemic, and as labor costs rise per worker, the need to have an automated solution to visual crop monitoring has never been greater. In a small family business, it can be very expensive and tedious to walk or drive every acre to look out for pests and crop disease. Cloud Brigade can employ Machine Learning technology to minimize your costs while maintaining a constant watch over your crops in real time.

Benefits:

  • Reduces labor costs and controls crop health more efficiently
  • Eliminates the need for constant human attention to every acre of your farm
  • Reduction in payroll budget yields increased investment in equipment and security
  • Infinitely scalable — as your property size increases, your monitoring costs decrease
  • Enhanced  reliability and accuracy

About/Background

Ever wonder how you can monitor the health of every crop in your field without having to pay a larger and larger workforce? What if you knew that for about the cost of one worker for one growing season, you could have a system that will last for years and replace the need for several temporary workers each year? With the growing costs of labor and the growing competition in the marketplace, it’s becoming increasingly important to automate as much of your production as possible. It can be easy to use harvesting or sorting machines, or trained teams of experienced workers to do large-scale targeted jobs, but what about the mundane and time-consuming task of simply monitoring your crops for disease, insects, and pests or wildlife? 

How much of your crop do you already lose every year to preventable incursions that you just don’t have the manpower to prevent? Is there a dollar amount of lost revenue that you already know? With AI in the Sky, you can monitor your crops efficiently using computer vision technology that can view each individual plant, check it for signs of disease or insects or birds, and classify each as healthy, damaged, or lost so that you can be alerted to specific areas of concern and have more time and warning to respond to each situation. With AI In the Sky, there’s no need for a human to do the constant monitoring. AI in the sky does it all for you at a very low cost.

Business Challenges

  • Irresolvable Complexity – The possibility of a fungal, viral, or bacterial outbreak in one or many parts of your farm are very real, but with the vast size of your property, it can be time consuming and expensive to monitor every plant
  • Improving Systems and Processes – The ability to monitor your fields via text message or email allows your teams to focus on other priorities, saving you time, money and decreasing or eliminating the need for new staff if you want to increase the size of your operation
  • Skills & Staffing Gaps – Training a machine learning model to spot inconsistencies, classify them and send a text message or email to the right person is far cheaper and takes exponentially less time than hiring and training new temporary workers every year
  • Antiquated Technology – How much money do you spend on gas and diesel and truck or tractor maintenance every year just to monitor your crops? And yet you still know exactly how much money you lose on diseased crops that could have been prevented, or on chemicals and pesticides that may not even be needed

Solution and Strategy

Cloud Brigade had already started looking at ways to use Computer Vision Models and other Machine Learning models in tandem when it built its front-lawn defender, the Poopinator. Cloud Brigade had proven it could think outside the box on complex projects and brought its “A team” to lead the development and design of an end-to-end IoT product that runs multiple Artificial Intelligence models to locate crop disease, pests, wildlife or other dangers in real time, alleviating labor costs and personnel issues while increasing your overall yields and saving you time and money.

Where it Began

Chris Miller, founder and CEO of Cloud Brigade, has been a Machine Learning guru for several years now. Machine Learning is the process of building mathematical and software models that help a computer “learn” how to complete a task, and Computer Vision applies Machine Learning techniques to camera images or video clips. In the summer of 2020, Chris was chatting with a friend of his in the Ag business, and they asked him if there might be a way to look at drone footage to monitor crop health and progress.

This Is No Ordinary Project

This spark of interest got hotter while learning about some new tools that the people at Amazon were rolling out. One of their products was a computer vision tool, and one of its use-case examples was this exact problem–how to monitor crops using AI. When he saw that not only were other people thinking about this same labor optimization problem, but that there was already a trained computer vision model ready to go for this exact use-case, he knew that now was the right time to learn how to bring this solution to his neighbors in Ag.

Smarty-Pants Technology

Amazon Rekognition and Custom Labels essentially uses a still image or a video camera’s output to feed already-optimized algorithms that use a process similar to gridsearch to find the most accurate interpretation of a given subject area. In this case, that area is a farm or an orchard. Rekognition Custom Labels can be deployed on an IoT (internet of things) device with a Machine Learning edge when connected to Amazon’s DeepLens camera, or can be fed images from a high-resolution camera mounted on a specially deployed drone. 

What does this mean? This means that if we can program a drone to fly at a set altitude along your crops and take a wide view of each part of the farm, then without a human watching any footage, the camera can catalogue the number of irregularities in the crops, discern how many of those are vegetative (fungal, viral, or bacteria), how many are avian, insect or mammalian, and notify you or your management team of exactly where this irregularity is occurring. Thus, it can not only “see” what is happening, it can also alert you to the problem in real time, and if we get really fancy, it can even use a search engine to suggest immediate solutions or fixes in case you’re looking at a new issue. Pretty cool, huh?

Building the Classification Model

We train a Computer Vision Model to do its job by showing it lots of data points, or in this case, lots and lots of photos of good crops and bad crops. This is actually the most time-consuming part of the project from a human perspective, as we must collect thousands of images and identify them each in order to train our various models to recognize each plant problem. However, after less than a week, our model can discern between many different kinds of problems on par or better than a human, without the need for a coffee break or a vacation throughout the year. And, Amazon’s Rekognition has an algorithm that is almost ready-to-go.

Technical Hurdles to Overcome

The technical hurdles in this project include creating an efficient data pipeline that takes in the video stream from the fields, breaks each video frame down to where our model can run inference on it, and sends the resulting labels through an algorithm that decides if you need to be alerted of any problems. However, once our Data Engineers design the data pipeline, our Data Scientists train the model, and our Dev-Ops Engineers design the alert systems, your AI in the sky and IoT edge devices can be easily customized and distributed to your properties.

A Successful Integration and a Technology Handoff

One thing we have learned through our work in Machine Learning is just how time consuming and intricate each step can be. A lot of times, the work of building up the infrastructure and lining up the data so that the different parts can all communicate with each other are actually more challenging than creating and using Artificial Intelligence. This product is no different. The field device must be programmed to fly a specific pattern every day and to land again at its charging station, the data pipeline must be programmed with the proper error handling and notification systems, and the data reports must be connected to the alert systems with bullet-proof security. However once the data science has been fully integrated with the aircraft, very little regular maintenance is required to keep the system working.

The final step will be to automate the drone’s flight and flight pattern, and then to package the Machine Learning models with a drone carrying a high-resolution imaging and data transmission capabilities to the AWS Cloud Computing instance and the IoT alert products as a single end-to-end AI device. 

Opportunities

While this project is designed to reduce costs to farmers and ag businesses, it is not a niche product.  From identifying market opportunities for solar panel companies to spotting possible wildfire fuel buildups, it can be scaled out and adapted easily. We look forward to the final product being useful in companies and public service organizations of every size all across the country. This is the perfect system for a small business that needs to maximize its labor hours from protecting crops to generating sales leads, a large company that wants to monitor the progress on a construction project or utility line safety status, or a public agency that needs a status update after a wildfire, earthquake, or hurricane. We’re excited to take the next steps to help your business and can’t wait to show more photos and videos of the process.

WHAT’S NEXT

If you like what you read here, the Cloud Brigade team offers expert Machine Learning as well as Big Data services to help your organization with its insights. We look forward to hearing from you.

Please reach out to us using our Contact Form with any questions. 

If you would like to follow our work, please sign up for our newsletter.

Knoah Solutions Calls on Cloud Brigade to Resolve Complex Telephony Issue

24-7intouch.com Summary: Customer Since 2012 Located in Las Vegas, NV Industry: Business Process Outsourcing and Contact Center Solutions Company Size: Midsize Enterprise Founded and Status: Knoah Solutions was founded in 2006 and is now part of 24-7 Intouch Services Provided: Technical Consultation – Recommend solutions based on business requirements. System Engineering – Built custom solutions where no

The Santa Cruz Museum of Art & History Serves its community with Help from Cloud Brigade

www.santacruzmah.org Summary Customer Since 2018 Located in Santa Cruz, CA Industry: Museums, Historical Sites Small Business Robb Woulfe, Executive Director Founded in 1996, Non-profit Challenge Gaps in IT maintenance and support left the MAH in dire straits with a hacked website and locked-out accounts. Benefits Network performance has been improved The website is more stable

DeepBlaster

Open Source Robotics When the AWS DeepRacer team approached us for ideas to promote their new Open Source Software initiative, we didn’t disappoint. DeepBlaster is a software and hardware package that extends the AWS DeepRacer platform. AWS DeepRacer is a 1/18 scale autonomous self driving car. Originally launched at AWS re:Invent 2018, the purpose of

Cloud Brigade Helps Keep Visit Santa Cruz County in the Spotlight

www.santacruz.org Summary Customer Since 2018 HQ in Santa Cruz, CA, USA Leisure, Travel & Tourism, Small Business Maggie Ivy, CEO Founded in 1988, Non-Profit Marketing Org. Challenge Visit Santa Cruz County needed to migrate its website and content management system to a more modern platform. Benefits The new web platform allows for easy update of

Rainbow Unicorns

Rainbow Unicorn Huntresses

Women of Cloud Brigade – Along with our duty as women to inspire, we also have the superpower ability to rapidly change our hats as needed and get.it.done.

Cloud Brigade turns 16

16 Times Around the Sun and Counting

Cloud Brigade is celebrating its 16th birthday. It was March 23, 2005 when Chris Miller launched ScratchSpace Inc. What started as a freelance IT consultancy, has evolved into a trusted provider of technical business solutions and pillar in the Santa Cruz community.

Insider attacks

Thwarting Insider Attacks

Hire Cloud Brigade to apply a directory based, policy-driven approach to access management. Once only available within corporate IT environments, this approach greatly improves security response time for smaller organizations by relying on rights and roles rather than spreadsheets and access control lists.

MAPS

MAPS Customer Case Study

Cloud Brigade is the trusted caretaker of the Cloud Environment for Non-Profit, MAPS. MAPS needed to keep its website content searchable and available during a complicated migration as well as maintain a secure cloud environment at a reasonable cost, and Cloud Brigade came through.

Outstanding In The Field Customer Case Study

Outstanding in the Field Relies on Cloud Brigade to Run Ticket Sales Smoothly. Learn more about how they improved customer service and ensure smooth collection of revenues by sizing web resources for extremely high traffic volumes.

AIP

AI Partnerships Corp. welcomes Cloud Brigade to its AI Network

Posted March 17th, 2021 on AI Partnerships Corp. blog Cloud Brigade and AI Partnerships Corporation (AIP) have joined a partnership to help innovate and shape the AI market. Every day they push the agenda to implement new ML/AI ideas to enhance the way society functions, and AIP is thrilled to have a partner who believes