Walking With AI: How to Spot, Store and Clean the Data You NeedThe best time to design your AI initiative is now.

BySourav Dey

Opinions expressed by Entrepreneur contributors are their own.

metamorworks | Getty Images

Last August, data science leader Monica Rogati unveiled a new way for entrepreneurs to think about artificial intelligence. Modeled after psychologist Abraham Maslow's five-tier hierarchy of psychological needs, herAI hierarchy of needshas become a conference favorite for illustrating how to incorporate AI into a business.

Despite entrepreneurs' excitement around AI, Rogati's hierarchy makes an uncomfortable point. Few companies are ready to adopt AI. Most are struggling to fulfill fundamental needs, such as reliable data flow and storage. The truth is thatdata literacy is lackingat most companies hoping to reap the rewards of AI.

You get out what you put in.

To help entrepreneurs understand the importance of high-quality data, our team has come up with what we call the AI uncertainty principle:

关键的外卖吗?如果有值的对吗t fall to zero, so does the value of the AI program. We discussed evaluating business opportunities for AI in aprior Entrepreneur article, so we're now focusing on the second variable: maximizing data quality.

Related:5 Things to Keep in Mind When Using Data for Artificial Intelligence

High-quality data is key across all types of machine learning -- supervised, unsupervised and reinforcement learning. For most businesses, supervised learning is the low-hanging fruit because it's about learning from past examples. If the prior examples are irrelevant or low-quality, then guess what? Any insights derived from them will be, too. Someone without any basketball experience can't just join an NBA team -- at least not if he wants to succeed.

While most data scientists prefer the hardcore math of machine learning over the legwork of cleaning data, you can't have the former without the latter. Data science and engineering go hand in hand, and the right machine learning team will have people who can handle both.

Related:Think Your Company Needs a Data Scientist? You're Probably Wrong.

Do more with good data;No machine learning initiative will work without high-quality data. To get the good, clean data you need to:

1. Start with instrumentation.

Machine learning initiatives are as diverse as companies themselves. Think critically about what sort of examples you need to train your algorithm on in order for it to make predictions or recommendations.

For example, an online baby registry we partnered with wanted to project the lifetime value of customers within days of signup. Fortunately for us, it had proactively logged transaction data, including items customers added to their registries, where they were added and when they purchased. Furthermore, the client had logged the entire event stream, rather than just the current state of each registry, to maintain a database record.

The client also brought us web and mobile event stream data. Through Heap Analytics, it had logged the type of device and browser used by each registrant into its transactional database. Using UTM codes, the registry company had even gathered attribution data, something collected for all or most marketing activities by just51 percentof North American respondents to a 2017 AdRoll survey.

Taken together, the logged information enabled the company to record how various marketing campaigns and channels map to customer lifetime value. The only piece it was missing was CRM data on sales touch points and similar metrics. While many of our other clients use CRMs such as Salesforce, human-input data is messy. Although there might be signal in it, we tend to prioritize it below machine-generated data, which is more consistent.

When working with disparate data sets, think about joinability. If you offer a software product, consider requiring a login. Because the registry we worked with used one, we were able to easily associate actions across devices and platforms to a single user. In lieu of a login, which can create user friction, consider logging user IP addresses or using tracking cookies. One way or another, individual actions must be tied together into a single coherent view of the user.

2. Label and store the data.

Store your data in a data warehouse, such as Google BigQuery or Amazon Redshift, though there areother strong storage options. These systems use structured formats that force discipline, which make it easier for downstream users to access and analyze the data.

Build labeling into your storage workflows, and try to automate labeling as much as possible. On one of our predictive maintenance projects, for instance, requiring technicians to use an app for logging failure causes would have produced a clean, labeled data set. Humans are inconsistent both over time and across individuals, and unless you create truly excellent systems for data input, it will be tough to normalize the data for these disparities down the road.

简化正常化,清洁标签数据lineages and track them alongside the data itself. Product changes can discolor your data in ways that won't be readily apparent to analysts and engineers. If you roll out a new user interface, for example, clearly identify data from before and after the switch.

3. "Clean" the collected data.

Cleaning data is far from exciting, but it's critical if you want to get results out of an AI initiative. When it comes to AI projects, 51 percent of those surveyed for CrowdFlower's2017 Data Scientist Reportcalled quality issues their biggest bottleneck. Cleaning can involve interpolating missing records, removing outliers that skew results, deleting redundancies and logging regime changes. If you're starting from scratch, cleaning data might involve all these things and more, such as back-filling missing data.

Related:What to Do When Your Mother Tells You Your Data Resembles 'a Rat's Nest'

Remember the AI uncertainty principle. When data is missing, incomplete or dirty, you won't get much value from your AI. That being said, don't pitch an effort to clean all your data in one fell swoop.

With our registry client, we began by working solely with the transactional database and migrating that into Redshift to create a number of downstream models. Only after that did we incorporate the client's Heap data into Redshift, and we're currently doing the same with its email marketing data.

If you're not sure where to start, pick an end-to-end solution that delivers business value with the added byproduct of data cleansing.

As important as collecting and cleaning data is, know this: It'll never be enough. Just as they have since the start of your business, your products, contexts and goals will continue to change. Your data collection and cleaning efforts should as well. That's why the best time to design your AI initiative was when you began your company; the second best time is now.

Sourav Dey

Managing Director and the Head of Machine Learning of Manifold

Sourav Deyis a managing director and the head of machine learning atManifold, an artificial intelligence product development studio.

Related Topics

Starting a Business

鲨鱼坦克最成功的品牌之一n't Even Supposed to Be a Business at First. Here's How It Became One With $1 Billion in Lifetime Revenue.

Randy Goldberg and David Heath co-founded Bombas, a comfort-focused sock and apparel brand on mission to help those in need, after an eye-opening discovery on Facebook.

Leadership

5 Books That Will Change The Way You Think About Being an Effective Leader

Want to improve the way you lead? Learn from those who blazed the trails you hope to follow.

Living

Learn to Play Guitar with This $20 Training Bundle

Give the gift of music this holiday season.

Living

6 Things Successful People do Before 9 a.m.

Doing something useful when you feel least like doing anything almost guarantees a productive day.

Business Ideas

55 Small Business Ideas to Start in 2023

We put together a list of the best, most profitable small business ideas for entrepreneurs to pursue in 2023.