This is a step-by-step guide for creating a predictive voluntary attrition risk model in One AI. A predictive voluntary attrition risk model is the most common machine learning model in One AI. Please ensure you have an understanding of machine learning in One AI by reviewing our Introduction to Machine Learning in One AI guide and/or our One AI Recipes Overview video.
Jump to the video - Creating a Voluntary Attrition Risk ML Model in One AI
Step 1. Configuring your augmentation
One AI automatically selects default settings for most things, so most of the configuration for machine learning relates to data framing. Data framing has been a guided process since the release of One AI Recipes.
In the following steps, you will be creating a new augmentation and configuring it using the Voluntary Attrition Risk One AI Recipe.
- Select One AI from the top navigation bar.
- Click the + Add Machine Learning Model button on the right.
- Give the model a name. Please note that Augmentations cannot be re-named once saved.
- Select the One AI Recipe option and click Configure One AI Recipe.
- This will bring you to the Configure One AI Recipe page.
- In the What are you interested in predicting? dropdown menu, choose Voluntary Attrition. The description tells you what One AI is going to help you predict.
Note: Until you make selections in a recipe, you can switch between recipes. Once you begin making selections, you can only switch to Custom / Advanced Model.
- Scroll down the page and answer each of the questions using the inline help for guidance. Note that some questions will appear as you complete the series of questions;
- Which column or metric would you like to use to define Voluntary Terminations?
- Column or Metric? : Metric
- Select a Metric : Terminations - Voluntary
- Filters : None
- What Headcount do you wish to make predictions for?
- Metric : EOP Headcount
- Unique Identifier : one.employee.person_id
- Population Date : Today
- Filters : None
- From your Headcount date, how far into the future do you want to predict?
- Time Interval : 1 Year(s)
- How much history do you want to use to train your predictive model?
- Number of Training Intervals : 1
- Since you're using a metric to define Voluntary Terminations, would you like to override the values?
- Here you will override the values rather than accepting the default.
- Click on Load Target Metric Values
- Null Value : No Termination
- All other values : Termination
- Positive Label : Termination
- Here you will override the values rather than accepting the default.
- Which core attributes do you want to use in your prediction?
- By default, a narrow scope is applied. This means all columns in the table the headcount metric is created from are included. Leave this selection applied.
- Which generative attributes do you want to use in your prediction?
- None
- Would you like to verify that all of the selections you have made are valid?
- Click on Generate Data Statistics
- Wait for it to process and be sure to see Success at the top before saving.
- Which column or metric would you like to use to define Voluntary Terminations?
- Click the Save icon at the top right of your screen to save your selections and bring you back to the Augmentation Configuration menu.
- Scroll to the bottom of Augmentation Configuration and then click Create.
Do not forget this step or you will lose all of the selections you made. - Congratulations! Your augmentation recipe has been created. The next step is to run your augmentation.
Step 2. Run your augmentation
Running an augmentation executes a series of processes that structure and clean data then select the best predictive model by testing multiple algorithm and parameter combinations. The resulting model is then used to make predictions.
Running an augmentation is a simple act for you to perform but results in a lot of work being performed by One AI. For this reason, runs can take over an hour to complete.
- Find the augmentation you just created on the Augmentations page.
- Click on the Run button for your augmentation.
- A warning asking if you are sure you want to start a new run will appear;.
- Select Confirm to proceed or Cancel to go back.
- The augmentation will now begin running.
- It can take over an hour for the run to complete as One AI’s machine learning pipeline builds many models then chooses the best. Check the status of the run by selecting Runs for your augmentation and noting the status listed.
- The Status progression is as follows:
Preparing Run Data > Teaching Machines > Pending > Deployed (more about this status later) - There is also an option to manually Cancel the run.
- Once the augmentation reaches the Pending status, a model has been created and run against the prediction data set. For an explanation of what this means please see the Introduction to Machine Learning in One AI article.
- Once your run has reached Pending, then you can view your augmentation results.
Step 3. Review your augmentation results
One AI provides a number of data and visualizations that allow you to see how your predictive model performed. It often takes multiple cycles of configuration, machine learning, and validation to get to a satisfactory result.
Once the augmentation reaches the Pending status, a model has been created and run against the prediction data set. For an explanation of what this means please see the Introduction to Machine Learning in One AI article. At this point the results are available to be reviewed.
- Find your augmentation on the Augmentations page
- Click on Runs
- Select the run in Pending status
- You’re now viewing the Exploratory Data Analysis (EDA) Report;
- In the Overview section, the Number of variables (Attributes), Number of observations and the Variable types are worth noting.
- The Variable Status section is very important because this is where the attributes that were selected as features are listed along with the attributes that were not selected and the reasons why selections were or were not made.
- Clicking on any feature will bring you to an analysis of that feature.
- Selecting the Toggle details option for that feature expands a number of analytic views of the data. Worth noting is that each view can be filtered to either of the labels (outcomes) by using the v icon in the headers.
- For more information about the EDA Report, please read the EDA Report Introduction.
- Select the Results Summary tab at the top or View Results Summary button in the footer. The Results Summary report provides a large amount of detail about the model and how it performed.
- Review the Estimation Details.
- Which algorithm was selected?
- Was upsampling employed?
- Was the positive label correctly defined?
- How many predictions are there for each of the labels?
- Scrolling down, note the Feature Importances. Which are the most important and by what magnitude?
- Below the Feature Analysis section is the Classification Report. This section contains metrics about how well the model performed. This information is essential as a poorly performing model does not generate trustworthy predictions. Precision, recall, and the f1 score are the most widely used performance measures in One AI. To learn more about these measures see the One AI FAQs article.
- For more information about the Results Summary Report, please see One AI Modeling Report Introduction.
- Review the Estimation Details.
The process of creating a predictive model can be completed in under a day, including run and review time. While custom models are possible, One AI has standardized much of the configuration for common scenarios like voluntary attrition risk and created standardized Recipes designed to assist you in creating, running, and reviewing augmentations.
Once you have created a voluntary attrition risk model, the next step is to refine it. Learn more about strategies for refinement in the Refining a Machine Learning Model in One AI article.
Video - Creating a One AI Voluntary Attrition Risk Model
Watch this in-depth video to learn how to create and deploy predictive Voluntary Attrition Risk models, also known as flight risk models, for your organization.
You will learn:
- What a voluntary attrition risk model does
- How to configuring a new machine learning model in One AI
- How to select a headcount population for your model
- How to set a prediction timeframe and historical data timeframe
- How to select core attributes for the model
- How to select generative attributes for the model
- How to validate your selections in the One AI query builder and download reports of the model's data
Comments
0 comments
Please sign in to leave a comment.