A Beginners Guide To Machine Learning For HR Practitioners
A Beginners Guide To Machine Learning For HR Practitioners
When you hear Artificial Intelligence (AI) the first thing that comes to mind are robots; in
particular, the Steven Spielberg movie titled A.I. where a robot child is built that can love
and behave just like a real human. This idea appears to be closer to a dream than reality.
Truth is, AI is more ubiquitous than we might think. It ranges from self-driving cars,
movie recommendations on Netflix, e-mail spam detection to voice-controlled assistants
such as Apple’s SIRI. The fact is that AI is already present across many businesses and
various industries, as is shown in the figure below.
Still, evidence suggests that HR departments remain unable to seize the multitude of
opportunities associated with AI. In part, what may be required to accelerate the
adoption of AI is educational content directed at HR Professionals, not data scientists.
Thus, we offer this brief guide to Machine Learning (ML), an important subset of AI, with
the intent to demystify ML and make it tangible.
What is AI?
Let’s start with the definition. AI is a broad area of computer science with the focus on
building machines that can behave in an intelligent way—akin to humans. Furthermore,
we can differentiate between 1. Generalized AI and 2. Specific AI. The concept behind
Generalized AI is to develop machines that can perform multiple tasks, just like
Spielberg’s robot-child. This is an area still in its infancy.
More relevant to HR is Specific AI, which refers to the use of intelligent machines to
perform only one particular task, but to do it better than a human could (e.g. faster,
more accurately, or objectively). For example, an application that reads hundreds of
CVs in seconds and identifies optimal candidates for an interview—thereby affording
HR professionals greater time to perform tasks humans do better than machines (e.g.,
building rapport, empathy, creativity, critical thinking, etc.).
The relationship between AI, ML and the three broad types of ML.
When it comes to ML there are basically three broad types:
1. Reinforcement Learning,
2. Unsupervised Learning, and
3. Supervised Learning.
Examples of reinforcement learning applied in HR are a bit lean, though are most
prevalent in areas such as education (i.e., applying content based on the progress of
the student), finance and investment (i.e., advanced forecasting), supply chain
operations (i.e., robots fulfilling orders in a warehouse), traffic flow optimization, and
healthcare (i.e., accurate classification of biopsy images).
What is Supervised Learning?
The most common forms of ML across industries, and specifically the HR domain, are
Supervised Learning, followed by Unsupervised Learning.
To make predictions we need different input variables (i.e., variables are called
“Features” by data scientists). Our input features are only limited to our imagination (i.e.,
what we think will be important), what data we can get our hands-on, or what data we
can create (e.g., by knowing where someone works and where they live we can create
a variable focused on employee commute distance).
In this example, the model outcome being predicted is turnover risk, and the features
used to predict turnover risk could include an employees’ demographic and employment
characteristics (e.g., age, education level, role level, pay relative to market, month of
employment, presence of development plans, and so on.).
Assuming such a model was highly accurate, it would enable us to understand turnover
among our new starter population from three angles.
1. Firstly, what are the factors most influential in predicting turnover among our population.
An example of such a model output is presented in the figure below, which illustrates
whether a feature prevents turnover (green bars) or promotes turnover (red lines), and
the relative importance of each feature in predicting turnover (i.e. longer lines denote
more importance).
2. Secondly, the model also rates the likelihood of each new starter leaving the company,
enabling focused intervention (i.e. the risk that Adam will leave in his first 12 months).
3. Thirdly, the model identifies the features preventing or promoting turnover risk for each
employee. This individualized output can enable HR professionals to take informed and
personalized action, regardless of whether they personally know each employee.
A supervised learning model used to predict employee turnover among new starters has
the potential to reduce notable costs, including financial (e.g., separation, vacancy,
recruitment, training, and replacement) reputational (e.g., eroding an EVP and/or
reducing candidate appeal) and productivity-related (e.g., on average organizations
invest between four weeks and three months training new employees). Some of these
costs can be readily quantified so that we can identify organizational savings based on
prevented turnover (i.e., preventing 2 in 10 resignations saves $xxx).
Clustering: automatically splitting the dataset into groups based on similarities among
the features analyzed. Classically applied to consumers, but equally relevant to
organizations, whereby we understand our employee segments (i.e., clusters) and
determine whether our HR policies serve the segments.
Association mining: identifies sets of variables that often occur together in your
dataset. For example, identifying injury patterns among workers at specific sites.
An example: Unsupervised Learning informing Employee Turnover
Cluster Analysis, the most famous form of unsupervised learning, can also help us
better understand employee attrition. This approach can help group employees based
on similar features (e.g., location, tenure, nationality, education level, age, performance
level, etc.).
The figure below depicts the results of an analysis of the employee’s demographic
features. Multiple demographic features are first reduced to two dimensions using a
method called Manifold Learning (another non-supervised method), and these two new
dimensions are then clustered using a method called T-SNE. The figure below shows
us how the employees can be grouped together, in this case, twelve clusters, based on
their demographic features.
Once grouped into clusters, the next step is to determine the risk of turnover for each
group. Moreover, it is interesting to identify if there are some shared risk factors,
practically indicating that employees within a cluster are experiencing the workplace in a
similar way.
Conclusion
We have begun to open the black box that is AI, providing a simple overview of ML. We
looked at three broad types of ML—reinforcement, supervised and unsupervised—and
examined some simple applications of each, where possible related to Human
Resources. It is our genuine belief that through greater knowledge of what is possible
with ML, HRBP’s and organizational decision-makers will both expect more, and be
willing to do more, in this technological domain. Our next piece will explain the step-by-
step process for performing Supervised ML—making discussions with People Analytics
teams more tangible and less abstract!