Automated Machine Learning: Just How Much?

Some say it can, some say it can’t.

In my opinion, automated machine learning can fully automate the Data Science cycle for standard data science problems.

You know the scenario: You have some data, the data is quite general and describes the problem well, no unbalanced classes.

You choose a model, you train it on the training set, and you evaluate it on the test set.

If performance is acceptable, you deploy it.

No major surprises.

In this case, the whole cycle can be automated, even introducing a few additional optimization steps.

However, more complex Data Science problems are likely to call for some degree of human — or expert — input.

For example, the domain expert can add some unique knowledge about the data treatment and filtering before continuing with the machine learning process.

Also, when the data domain becomes more complex than simple tabular data, e.

g.

, including text, images or time series, the domain expert can contribute with custom techniques for data preparation, data partitioning, and feature engineering.

Basically, the answer to your question is “sometimes.

” For this very reason, our team works with a framework that allows both options.

You can run a fully automated cycle or you can decide to intervene at select points along the way.

This is the functionality offered through a feature called Guided Analytics.

Guided Analytics allows you to intersperse your workflow with interaction points and thus steer the data science application in different directions, if this is needed.

Rosaria: You have described this already, but I think our readers will benefit from a few additional details.

Can you tell us more about Guided Analytics?Paolo Tamagnini: Guided Analytics is about flexibly adding interaction points in the data pipeline — that is in between the sequence of steps the data go through during the analysis.

When you develop a data processing or data analytics application, you don’t just develop it for yourself but also for other people to use too.

So, in order to give anyone the opportunity to tweak how the analysis proceeds, you should add some interaction points at strategic locations throughout the pipeline.

The data pipeline is also called a workflow and the interaction points are web pages, easily created without any scripting via Wrapped Metanodes.

For example, in a reporting application, you can request the user to select the time window or the KPI to be displayed; in a data wrangling application you can ask which data sources should be blended together and what kind of features should be built; in a machine learning application you can ask the user to specify the target variable as well as the input variables, the model(s) that should be trained, and whether feature engineering needs to be performed.

Rosaria: So, Guided Automation is your interpretation of an application for automated machine learning.

Can you briefly describe how it works?Christian: Guided Automation is what comes out when you combine Guided Analytics with automated machine learning.

You can flexibly ask the business analyst to add their expertise when it is necessary and, consequently, automate the standard pieces of the analysis.

Just what the right amount of automation and interaction is depends from problem to problem.

Sometimes, you can proceed with the default choices, and sometimes you need further input to refine and steer the process.

Common interaction points in guided analytics for automated machine learning applications are when the data are uploaded and the target is selected, specifying which features are to be used as input and which models trained, while automation involves mostly hyperparameter optimization and feature selection.

You can also add optional interaction points, for example to customize feature engineering or to select the execution environment for custom scalability.

The process, encompassing automation and interaction points, is shown in the diagram below.

We have followed the general recipe in this diagram when implementing a blueprint workflow for guided automation.

 Rosaria: This blueprint for guided automation … is this blueprint a software solution I can buy?Paolo: Buy?.No, it’s free!.Just like all example and blueprint workflows we work with at.

All you need to do is download an open source copy, start it, open the EXAMPLES Server, locate the blueprint at 50_Applications/36_Guided_Analytics_for_ML_Automation, drag and drop it to your LOCAL workspace, and then you can automate the machine learning process on your own data.

Please feel free to customize it though.

It is a blueprint in the end, and you can improve it and tailor it to your data science problem to achieve the best performance.

Rosaria: Nice!.Do I need special software to properly run the blueprint for guided automation?Paolo: Absolutely not.

On KNIME Server, you can access the interaction points remotely from any web browser, which is quite useful.

But using the open source and free Analytics Platform, you can also run the blueprint, access the interaction points, and interact with the workflow via the client built-in web browser.

Rosaria: Where can I learn how to customize the blueprint for guided automation?Paolo: In general, you can start from a free e-learning course.

There you can learn more about: how to access data, how to perform ETL operations, and how to display plots and charts.

Thank you Christian, Paolo and Simon for your time and the clear answers!.Now I know more about the general concept of automated machine learning, Guided Analytics, and the blueprint you have created, Guided Automation.

As first published in Dataversity.

Bio: Rosaria Silipo has been a researcher in applications of Data Mining and Machine Learning for over a decade.

Application fields include biomedical systems and data analysis, financial time series (including risk analysis), and automatic speech processing.

Original.

Reposted with permission.

Related: var disqus_shortname = kdnuggets; (function() { var dsq = document.

createElement(script); dsq.

type = text/javascript; dsq.

async = true; dsq.

src = https://kdnuggets.

disqus.

com/embed.

js; (document.

getElementsByTagName(head)[0] || document.

getElementsByTagName(body)[0]).

appendChild(dsq); })();.. More details

Leave a Reply