Getting Machine Learning Projects from Idea to Execution – The Machine Learning Times

Humanitys latest, greatest invention is stalling right out of the gate. Machine learning projects have the potential to help us navigate our most significant risks including wildfires, climate change, pandemics, and child abuse. It can boost sales, cut costs, prevent fraud, streamline manufacturing, and strengthen health care.

But ML initiatives routinelyfail to deliver returns orfail to deploy entirely. They stall before deploying, and at great cost. One of the major issues is that companies tend to focus more on the technology than how it should deploy. This is like being more excited about the development of a rocket than its launch.

In this article, I offer an antidote: a six-step practice for ushering machine learning projects from conception to deployment that I callbizML. This framework is an effort to establish an updated, industry-standard playbook for running successful ML projects that is pertinent and compelling to both business professionals and data professionals.

MLs problem is in its popularity. For all the hoopla about the core technology, the gritty details of how its deployment improves business operations are often glossed over. In this way, ML is now too hot for its own good. After decades of consulting and running ML conferences, the lesson has sunk in.

Todayshype about MLis overzealous because it feeds a common misconception: the ML fallacy. It goes like this: Since ML algorithms can successfully generate models that hold up for new, unseen situations (which is both amazing and true), their models are intrinsically valuable (which is not necessarily true).The value of MLcomes only when it creates organizational change that is, when an ML-generated model is deployed to actively improve operations. Until a model isusedto actively reshape how your organization works, itsuse-less literally. A model doesnt solve any business problems on its own and it aint gonna deploy itself. ML can be the disruptive technology its cracked up to be, but only if you disrupt with it.

Unfortunately, businesses oftenfail to bridge the business/tech culture gap,a disconnect between data scientists and business stakeholders that precludes deployment and leads to models collecting dust. On the one hand, data scientists, who perform the model development step, fixate solely on data science and generally prefer to not be bothered with mundane managerial activities. Often, they take the deployment of their model for granted and jump past a rigorous business process that would engage stakeholders to collaboratively plan for deployment.

On the other hand, many business professionals especially those already inclined to forgo the particulars as too technical have been seduced into seeing this stunning technology as a panacea that solves problems on its own. They defer to data scientists for any project specifics. But when theyre ultimately faced with the operational change that a deployed model would incur, its a tough sell. Taken off-guard, the stakeholder hesitates before altering operations that are key to the companys profitability.

With no one taking proactive ownership, the hose and the faucet fail to connect. Far too often, the data scientist delivers a viable model, but the operational team isnt ready for the pass and they drop the ball. There arewonderful exceptions and glowing successes, but the generally poor track record we witness today forewarns of broad disillusionment with ML even a dreadedAI winter.

The remedy is to rigorouslyplan for deploymentfrom the inception of each ML project. Laying the groundwork for the operational change that deployment would bring to fruition takes more preaching, socializing,cross-disciplinary collaboration, andchange-management panachethan many, including myself, initially realized.

To accomplish this, a knowledgeable team mustcollaborativelyfollow an end-to-end practice that begins by backward planning for deployment. As I mentioned above, I call this practicebizMLand it consists of the following six steps.

Define the business value proposition: how ML will affect operations in order to improve them (i.e.,operationalizationorimplementation).

Example:UPS predicts which destination addresses will receive a package deliveryin order to plan a more efficient delivery process.

Define what the ML model will predict for each individual case. Each detail matters from a business perspective.

Example: For each destination, how many packages across how many stops will be required tomorrow? For example, a group of three office buildings with 24 business suites at 123 Main St. will require two stops with three packages each by 8:30 a.m.

Determine the salient benchmarks to track during both model training and model deployment and determine what performance level must be achieved for the project to be considered a success.

Examples: Miles driven, gallons of fuel consumed, tons of carbon emitted, and stops-per-mile (the more densely a route is packed with deliveries, the more value is generated from each mile of driving).

Define what the training data must look like and get it into that form.

Example: Assemble a large number of positive and negative examples from which to learn both destinations that did receive deliveries on certain days and others that did not.

Generate a predictive model from the data. The model is the thing thats learned.

Examples: decision trees, logistic regression, neural networks, and ensemble models.

Use the model to render predictive scores (probabilities) thereby applying whats been learned to new cases and then act on those scores to improve business operations.

Example: By accounting for predicted packages along with known packages, UPS improved its system that assigns packages to delivery trucks at shipping centers. This improvement annually saves an estimated 18.5 million miles, $35 million, 800,000 gallons of fuel, and 18,500 metric tons of emissions.

These six steps define a business practice that charts a shrewd path to ML deployment. Anyone who wishes to participate in ML projects must be familiar with them, no matter whether theyre in a business or technical role.

After culminating with step 6, deployment, you have finishedstarting something new. BizML only begins an ongoing journey, a new phase of running improved operations and of keeping things working. Once launched, a model requires upkeep: monitoring it, maintaining it, and periodically refreshing it.

Following these six steps in this order is almost a logical inevitability. To understand why, lets start with the end. The final two culminating steps, steps 5 and 6, are the two main steps of ML, model training and deployment. BizML ushers the project through to their completion.

The step just before those two Step 4: Prepare the data is a known requirement that always precedes model training. You must provide ML software with data in the right form in order for it to work. That step has always been an integral part of modeling projects, ever since linear regression was first applied by businesses in the 1960s.

Before the technical magic, you must perform business magic. Thats where the first three steps come in. They establish a greatly needed preproduction phase of pitching, socializing, and collaborating in order to jointly agree on how ML will be deployed and how its performance will be evaluated. Importantly, these first steps go much further than only agreeing on a projects business objective. They ask business professionals to dive into the mechanics that define exactly how predictions will alter operations and they ask data scientists to reach beyond their usual sphere and work closely with business-side personnel. This cross-disciplinary team is uniquely equipped to navigate to a deployment plan that is both technically feasible and operationally viable.

Following all six of the steps of the bizML practice is uncommon, but hardly unheard of. Many ML projects succeed wildly, even if theyre in the minority. While a well-known, established framework has been a long time coming, the ideas at the heart of the bizML framework are not new to many experienced data scientists.

And yet the folks who need it the most business leaders and other business stakeholders are least likely to be familiar with it. In fact, the business world in general has yet to become aware of even the need for a specialized business practice in the first place. This is understandable, since the common narrative leads them astray. AI is often oversold as an impenetrable yet exciting cure-all. Meanwhile, many data scientists far prefer to crunch numbers than to take pains to elucidate.

First things first: Business professionals need some edification. Before those in charge can participate in the bizML practice and, ultimately, green-light model deployment with confidence, they must gain a concrete understanding of how an ML project works from end to end:What will the model predict? Precisely how will those predictions affect operations? Which metric meaningfully tracks how well it predicts?andWhat kind of data is needed?This isnt the rocket science part, but its still a modest books worth.

Considering the innumerable dollars and resources pumped into ML, how much more potential value could we capture by adopting a universal procedure that facilitates the collaboration and planning needed to reach deployment? Lets find out.

This article is adapted from the book,The AI Playbook: Mastering the Rare Art of Machine Learning Deployment, with permission from the publisher, MIT Press. It is a product of the authors work while he held a one-year position as the Bodily Bicentennial Professor in Analytics at the UVA Darden School of Business.

View original post here:
Getting Machine Learning Projects from Idea to Execution - The Machine Learning Times

Related Posts

Comments are closed.