Following best practices when building machine learning models is a time-consuming yet important process. There are so many things to do ranging from: preparing the data, selecting and training algorithms, understanding how the algorithm is making decisions, all the way down to deploying models to production. I like to think of the machine learning design and maintenance process as being comprised of ten steps (see the diagram above).
Below are the 10 steps (see diagram above) to what to look for in an automated machine learning system.
Step 1: Preprocessing of Data
A data mining technique that involves transforming raw data into an understandable format.
Each algorithm works differently and has different data requirements. For example, some algorithms need numeric features to be normalized, and some do not. Then there’s the complication of text, which needs to be split into words and phrases, and in some languages, such as Japanese, that’s really difficult!
Look for an automated machine learning platform that knows how to best prepare data for each different algorithm, recognizes and prepares text, and follows best practice for data partitioning.
Step 2: Feature Engineering
Feature engineering is the process of altering the data to help machine learning algorithms work better, which is often time-consuming and expensive. While some feature engineering requires domain knowledge of the data and business rules, most feature engineering is generic.
Look for an automated machine learning platform that can automatically engineer new features from existing numeric, categorical, and text features. You will want a system that knows which algorithms benefit from extra feature engineering and which don’t, and only generates features that make sense given the data characteristics.
Step 3: Diverse Algorithms
Every dataset contains unique information that reflects the individual events and characteristics of a business. Due to the variety of situations and conditions, one algorithm cannot successfully solve every possible business problem or dataset. Because of this, we need access to a diverse repository of algorithms to test against our data, in order to find the best one for our particular data.
Look for an automated machine learning platform that has dozens, or even hundreds of algorithms. Ask how often new algorithms are added.
Step 4: Algorithm Selection
Having hundreds of algorithms available at your fingertips is great, but unless you are more patient than I am, you don’t have time to try each and every one of those algorithms on your data. Some algorithms aren’t suited to your data, some are not suited to your data sizes, and some are extremely unlikely to work well on your data.
Look for an automated machine learning platform that knows which algorithms make sense for your data and runs only those. That way you will get better algorithms, faster.
Step 5: Training and Tuning
It’s quite standard for machine learning software to train the algorithm on your data. After all, you wouldn’t want to manually do Newton-Raphson iteration would you? Probably not. But, often there’s still the hyperparameter tuning to worry about. Then you want to do feature selection, to improve both the speed and accuracy of a model.
Look for an automated machine learning platform that uses smart hyperparameter tuning, not just brute force, and knows the most important hyperparameters to tune for each algorithm. Check whether the platform knows which features to include and which to leave out, and which feature selection method works best for different algorithms.
Step 6: Ensembling
In data science jargon, teams of algorithms are called “ensembles” or “blenders.” Each algorithm's strengths balance out the weaknesses of another. Ensemble models typically outperform individual algorithms because of their diversity.
Look for an automated machine learning platform that finds the optimal algorithms to blend together, includes a diverse range of algorithms, and tunes the weighting of the algorithms within each blender.
Step 7: Head-to-Head Model Competitions
You won’t know in advance which algorithm performs best on your data. So, you need to compare the accuracy and speed of different algorithms on your data, regardless of which programming language or machine learning library they came from. You can think of it as being like a competition amongst the models, where the best model wins!
Look for an automated machine learning platform that builds and trains dozens of algorithms, compares the results, and ranks the best algorithms based on your needs. The platform should compare accuracy, speed, and individual predictions.
Step 8: Human-Friendly Insights
Albert Einstein once said, “If you can't explain it simply, you don't understand it well enough.” Over the past few years machine learning and artificial intelligence have made massive strides forward in predictive power, but at the price of complexity. It is not enough for a machine learning solution to score well on only accuracy and speed. You also have to trust the answers it is giving. In regulated industries, you have to justify the model to the regulator. And in marketing, you need to align the marketing message with the audience the model has chosen.
Look for an automated machine learning platform that explains model decisions in a human-interpretable manner. The platform should show which features are most important for each model and show the patterns fitted for each feature. Ask whether the platform can provide worked examples, including the key reasons why a prediction is either high or low. Check whether the platform automatically writes detailed model documentation, and how well that documentation complies with your regulator’s requirements.
Step 9: Easy Deployment
A recent Harvard Business Review article described a team of analysts that built an impressive predictive model, using the latest in machine learning algorithms. But, the business lacked the infrastructure needed to directly implement the trained model in a production setting, and the model was “too complex for the IT team to reproduce”.
Look for an automated machine learning platform that offers easy deployment, including one-click deploy, that can be operated by a business person. Ask how many deployment options are available, whether models can be deployed on your standard system hardware, and whether the platform pre-tests exported scoring code to ensure it generates the same answers as in training. Also, check whether the vendor has a large technical support team located all around the world that can provide data science and engineering support 24 hours per day.
Step 10: Model Monitoring and Management
In a constantly changing world, your AI applications need to keep up to date with the latest trends. Look for an automated machine learning platform that proactively identifies when a model’s performance is deteriorating over time, making it easy to compare predictions to actual results, simplifying the task of training a new modelon the latest data.
For more information, visit: https://blog.datarobot.com/top-10-features-to-look-for-in-automated-machine-learning?utm_medium=(not%20set)&utm_source=google.com&utm_campaign=(not%20set)&utm_term=(not%20provided)