Machine Learning: It’s All About the Data
Machine learning is a hot topic these days, but really, it's all about the data. Read on to find out why this is and what it means for the future of ML.
Join the DZone community and get the full member experience.Join For Free
Big Data. Analytics. Internet of Things. Cloud. In the last few years, you cannot have a discussion around technology without those terms entering the conversation. They have been major technology disruptors impacting all aspects of the business. Change seems to occur at breakneck speeds and shows no sign of slowing. Today, it appears the one constant in technology is change. Constant change requires constant innovation which thereby introduces more new technologies. One of the new technologies entering the conversation is machine learning. Gartner identified machine learning as one of the top 10 technology trends for 2016. It is definitely a hot topic.
Everything Old Is New Again
What I find fascinating about machine learning is that the basic tenets harken back to the 70’s and 80’s in the early years of artificial intelligence research. The work at that time was constrained by computer capacity and amount of data available. This is the key that has enabled machine learning to leap forward in recent years -both of those constraints no longer hold. Compute cycles and data are available at levels unimagined just decades ago.
The goal of machine learning sounds simple: provide systems with the ability to learn based on the information provided them. Simple as it sounds, this is counter to classic software engineering and has its challenges. Most software development we are familiar with ‘hard codes’ the system's behavior based on planned and anticipated user and data interactions. The standard ‘if-then-else’ model.
The algorithms required for artificial intelligence/machine learning are much more complex. They need to allow the system to develop its own analytical models based on inputs. Those models are constantly changing based on the information provided. Based on the data and those models, behavior is determined. As you can tell from the description, this results in very non-deterministic behavior. The system will analyze, interpret and react based on the information provided, modify that behavior as more information, and then feedback is provided. The analysis and behavior is constantly changing and being refined over time. Imagine developing the test suite for that system! (A topic for future discussion).
You Are Already Reaping the Benefits of Machine Learning
Do you have a Netflix account? Or Amazon? Both Netflix and Amazon provide a ‘recommended for you’ list every time you log in. Both companies have very complex, proprietary algorithms analyzing the huge repository of information about you and all their member’s transactions. Based on that information, they develop models of your expected behavior and present a list of recommendations to you. How you react to those recommendations is also fed back into the algorithms, constantly tweaking and adjusting your behavior model.
Or how about your smartphone? Think for a moment about the complexity of the simple statement, “Siri, what is the weather forecast for today?” First, the software needs to be able to understand your voice, your accent, and your way of speech, in order to be able to determine the actual words being spoken. If it’s not sure, the software asks for clarification, it learns from the clarification. Each time you use it, your phone gets better at understanding what you are saying. Once it understands the words, it has to process natural language into something meaningful to the system. This again requires complex algorithms analyzing the information, creating a model, and executing on its interpretation. As with parsing the words, if it is not sure, the software will prompt for clarification. That clarification will be fed back into the system that models your way of speaking and the context of the language you use.
It’s All About the Data
In a recent article on TechCrunch, ‘How startups can compete with enterprises in artificial intelligence and machine learning’ John Melas-Kyriazi refers to data as the ‘fuel we feed into training machine learning models that can create powerful network effects at scale’. I find that a very apt analogy. The complex algorithms and models are the engine of machine learning, but without fuel, the engine- the data- won’t work very well, if at all. A colleague of mine, John Williams, (Chief Strategy Officer at Collaborative Consulting) for years has been fond of saying, “It’s all about the data.” That could not be truer than in the world of machine learning.
Given the importance of the data to the success of any machine learning implementation, there are some key considerations to take into account:
- Data Quality – In the world of data, this has always been an important consideration. Data cleansing and scrubbing is standard practice already in many organizations. It has become critical for machine learning implementations. Putting dirty fuel into even the best engine will bring it to a grinding halt.
- Data Volume – Big data is tailor-made for machine learning. The more information the algorithms and subsequent models have to work with, the better the results. The key word here is learning. We as individuals learn more as more information is provided to us. This concept is directly applicable in the machine learning world.
- Data Timeliness – Besides volume, new and timely data is also a consideration. If the machine learning is based a large volume of data that is completely outdated, the resulting models will not be very useful.
- Data Pedigree – Where did the data come from? Is it a valid source? The pedigree is less important when using internal systems, as the source is well-known, but many machine learning systems will be getting their data from public sources. Orr potentially, from the many devices in the world of the Internet of Things. Crowd-sourcing data (for example Waze, a GPS mobile app) requires extra effort to ensure you trust the information being consumed. Imagine a new kind of cyber-attack, feeding your machine learning system bad data to impact the results. Remember Microsoft’s problem with its AI Chatbot Tay learning to be a racist?
No Technology Negates the Need for Good Design and Planning
There is no doubt: machine learning technology has amazing potential at impacting businesses across the spectrum, whether it will be in healthcare for diagnosing Alzheimer’s disease to self-driving cars that were once in the realm of science fiction. No technology negates the need for good design and planning, machine learning is no different. As technologists, it’s our responsibility to ensure the proper efforts have been made to supply machine learning implementations with the best fuel possible. Understanding the quality, volume, timeliness, and pedigree needs of these systems can help us navigate this new world of machine learning, leading us to successful execution, and ultimately, providing value back to the business.
Published at DZone with permission of Ed Featherston. See the original article here.
Opinions expressed by DZone contributors are their own.