Víctor González

Víctor González

Executive MBA from IE Business School, PhD in Artificial Intelligence and Robotics, and telecommunications engineer. Passionate about bringing Artificial Intelligence and Robotics closer to society to help make the world a better place.

AI & Data
Improving effectiveness at a call center with Machine Learning
Understanding our clients and giving the best response to meeting their needs in the shortest amount of time possible is key to improving satisfaction and engagement with the company. The problem begins when the number of clients is high and we are receiving hundreds or thousands of messages per day. In this situation, we have two problems to solve. First, we have to prioritize which messages we are going to respond first and, second, we have to understand what it is that they are saying. It is clear that some messages will be more important or more urgent than others and that it will not always be easy to prioritize. To make things easier, we can use Machine Learning techniques to help with this task, which can do part of the work for us. In this post, we are going to focus on the case of a Call Center for B2B clients of a Telco operator. Part of the communication and management with the clients of the Call Center is done by e-mail. By analyzing these e-mails, it is possible to extract some metrics that can help us to understand the needs of the clients who communicate in this way. This analysis is mainly done through Natural Language Processing (NLP) techniques. In fact, we did the analysis on two levels: Operational level – This level is more basic and implies a level of sending and answering e-mails. This is done simply by analyzing the subject lines of the e-mails. Content level – In other words, processing the content of the messages from the clients in order to automatically classify them according to their content. We can understand this to be rules of filtering that we program for our e-mail clients, but much more advanced. The analysis on the operational level allows us to obtain simple metrics such as how many e-mails are received by the Call Center, from which clients, what times the most e-mails are received, how long it takes to respond to each e-mail, etc. But it is also possible to carry out a more complex analysis, extracting data from entire conversations: analyzing e-mails from one conversation (an e-mail thread), we can discover how long we take in solving a client’s problem, how many people from the Call Center were involved or which departments were involved. The content level analysis is more complex as it requires a more sophisticated pre-processing of the data, but it allows us to extract much more interesting insights. E-mail cleaning includes extracting the body of the messages, cleaning them (here the challenge is to eliminate signatures or responses to other e-mails) and using Natural Language Processing (NLP) techniques that allow us to transform the content into characteristics that can be understood by the automatic learning algorithm that we want to use. This step usually includes eliminating stop-words (words without meaning such as prepositions or articles), creating “bags of words” or “n-grams” and vectorizing them with algorithms such as TF-IDF. Once the data is prepared, we can feed an algorithm that will learn to automatically categorize the e-mails. We approach this problem as one of classification as the operator provides us with the categories in which they want the e-mails classified. Thus, we end up with eight categories (activations, line modifications, technical incidents or cancellations among others) that we manually tag together with the data for training. Although this may seem like a laborious process, interesting results can be obtained very quickly. For example, with a sample of just 100 tagged e-mails, it was already possible to distinguish perfectly some of the categories suggested by the client. As follows, we detail some of the KPIs that we obtained from the Call Center: Average response time by the operators Incident resolution time (that is, the time between the first and the last e-mail in the chain of e-mails) Size of the e-mail inbox and list of incidents to be resolved in each moment. That is to say, the number of e-mails to be answered and incidents to be resolved in each moment (we can obtain the sizes of these waiting lists by hour or day of the week), which allows us to know if we are on top of incidents. As we process the content of the e-mails, we can categorize them automatically and with these categories, we can automatically assign categories to the correct person to answer them. Additionally, knowing these e-mail categories, it is possible to have metrics for each category in advance. For example, volumes and response times per category. In this post, we have seen which metrics we can obtain from an analysis of e-mails from the clients of a call center. By analyzing the subject lines and content of the e-mails, it is possible to obtain metrics that provide us with KPIs of the operational and dimensioning capacity of the Call Center as well as data that helps us to profile clients and their needs.
August 20, 2019
AI & Data
A brief history of Machine Learning
As members of the Machine Learning community, it would be a good idea for us all to have an idea of the history of the sector we work in. Although we are currently living through an authentic boom in Machine Learning, this field has not always been so prolific, going through periods of high expectations and advances as well as “winters” of severe stagnation. Birth [1952 – 1956] 1950 — Alan Turing creates the “Turing Test” to determine whether or not a machine is truly intelligent. In order to pass the test, the machine must be capable of making a human believe that it is another human instead of a computer. 1952 — Arthur Samuel writes the first computer program capable of learning. The software was a program that could play checkers and improved with each game it played. 1956 — Martin Minsky and John McCarthy, with the help of Claude Shannon and Nathan Rochester, held a conference at Dartmouth in 1956, which is considered to be where the field of Artificial Intelligence was born. Minsky convinced the attendees to adopt the term “Artificial Intelligence” as the name for the new field. 1958 — Frank Rosenblatt designs the Perceptron, the first artificial neural network. First Winter of AI [1974 – 1980] In the second half of the 1970s, the field suffered its first “winter.” Various agencies that had been financing AI research cut funds after years of high expectations and few actual advances. 1979 — Students at Stanford University invent the “Stanford Cart,” a mobile robot capable of moving autonomously around a room while avoiding obstacles. 1967 — The algorithm “Nearest Neighbor” is written. This milestone is considered the birth of the field of pattern recognition in computers. The Explosion of the 1980s [1980 – 1987] The 80s are known as the birth of expert systems, based on rules. These were rapidly adopted by the corporate sector, generating new interest in Machine Learning. 1981 — Gerald Dejong introduces the concept of “Explanation Based Learning” (EBL), in which a computer analyzes the training data and creates general rules allowing the less important data to be discarded. 1985 — Terry Sejnowski invents NetTalk, which learns to pronounce words in the same way a child would learn to do. Second AI Winter [1987 – 1993] At the end of the 1980s and the beginning of the 90s, AI experienced a second “winter.” This time, its effects lasted for several years and the reputation of the field did not fully recover until the early 2000s. 1990s — Work in Machine Learning moves from a knowledge-driven focus to a data-driven one. Scientists begin to create programs that analyze large quantities of data and extract conclusions from the results. 1997 — The computer Deep Blue, by IBM, beats world chess champion Gary Kaspárov. Explosion and Commercial Adoption [2006 – Present Day] The growth in the potential for calculation together with the great abundance of available data have relaunched the field of Machine Learning. Many businesses are moving their companies towards data and incorporating Machine Learning into its processes, products and services in order to gain an edge over their competition. 2006 — Geoffrey Hinton coined the phrase “Deep Learning” to explain the new architectures of profound neural networks capable of learning much better models. 2011 — The Watson computer by IBM beats it human competitors at Jeopardy, a game show that consists of answering questions in natural language. 2012 — Jeff Dean, at Google, with the assistance of Andrew Ng (Stanford University), leads the project GoogleBrain, which developed a deep neural network using all of the capacity of the Google infrastructure to detect patterns in videos and images. 2012 — Geoffrey Hinton leads the winning team in the Computer Vision contest at Imagenet using a deep neural network (DNN). The team won by a large margin, giving rise to the current explosion of Machine Learning based on DNNs. 2012 — The research laboratory Google X uses GoogleBrain to autonomously analyze Youtube videos and detect those containing cats. 2014 — Facebook develops DeepFace, an algorithm based on DNNs capable of recognizing people with the same precision as a human being. 2014 — Google buys DeepMind, a British deep learning startup that had recently demonstrated DNN capabilities with an algorithm capable of playing Atari games by simply viewing the pixels on the screen, the same way a person would. The algorithm, after hours of training, was capable of beating human experts in the games. 2015 — Amazon launches its own Machine Learning platform. 2015 — Microsoft creates the “Distributed Machine Learning Toolkit”, which allows for the efficient distribution of machine learning problems to multiple computers. 2015 — Elon Musk and Sam Altman, among others, found the non-profit organization OoenAI, providing it with one billion dollars with the objective of ensuring that artificial intelligence has a positive impact on humanity. 2016 – Google DeepMind beats professional Go player Lee Sedol five games to one at what is considered to be one of the most complex board games. Expert Go players confirmed that the algorithm was capable of making “creative” moves that they had never seen before. Today, we are experiencing a third explosion in artificial intelligence. Although there are skeptics who say we cannot discard the possibility of a third winter, this time the advances in the sector are being applied to business to the point of creating whole new markets and producing significant changes in the strategies of both big and small businesses. The wide availability of data seems to be the fuel behind these algorithm motors which, in turn, are surpassing the limitations of calculation that existed prior to distributed computing. All of this seems to indicate that we should continue to have access to more and more data that will feed our algorithms will the scientific community does not seem to be running out of ideas to continue advancing the field. The following years promise to be truly frenetic. Written by Víctor González Pacheco, Team Leader and Data Scientist at LUCA consulting analytics You can also follow us on Twitter, YouTube and LinkedIn
January 18, 2019