Keystoneml: Optimizing Pipelines for Large-Scale Advanced Analytics

Total Page:16

File Type:pdf, Size:1020Kb

Keystoneml: Optimizing Pipelines for Large-Scale Advanced Analytics KeystoneML: Optimizing Pipelines for Large-Scale Advanced Analytics Evan R. Sparks∗, Shivaram Venkataraman∗, Tomer Kaftan∗z, Michael J. Franklin∗y, Benjamin Recht∗ fsparks,shivaram,tomerk11,franklin,[email protected] ∗AMPLab, Department of Computer Science, University of California, Berkeley yDepartment of Computer Science, University of Chicago zDepartment of Computer Science, University of Washington Abstract—Modern advanced analytics applications make use 1. Pipeline Specification 2. Logical Operator DAG of machine learning techniques and contain multiple steps of domain-specific and general-purpose processing with high re- source requirements. We present KeystoneML, a system that cap- val pipe = Preprocess andThen tures and optimizes the end-to-end large-scale machine learning Featurize andThen applications for high-throughput training in a distributed envi- (Est, data, labels) ronment with a high-level API. This approach offers increased ease of use and higher performance over existing systems for large scale learning. We demonstrate the effectiveness of KeystoneML in achieving high quality statistical accuracy and scalable training using real world datasets in several domains. I. INTRODUCTION Today’s advanced analytics applications increasingly use machine learning (ML) as a core technique in areas ranging from business intelligence to recommendation to natural lan- 3. Optimized Physical DAG 4. Distributed Training guage processing [1] and speech recognition [2]. Practitioners Fig. 1: KeystoneML takes a high-level ML application speci- build complex, multi-stage pipelines involving feature extrac- fication, optimizes and trains it in a distributed environment. tion, dimensionality reduction, data transformations, and train- The trained pipeline is used to make predictions on new data. ing supervised learning models to achieve high accuracy [3]. However, current systems provide little support for automating the construction and optimization of these pipelines. We present KeystoneML, a framework for ML pipelines designed to satisfy the above requirements. Fundamental to the To assemble such pipelines, developers typically piece to- design of KeystoneML is the observation that model training is gether domain specific libraries [4], [5] for feature extraction only one component of an ML application. While a significant and general purpose numerical optimization packages [6], body of recent work has focused on high performance algo- [7] for supervised learning. This is often a cumbersome and rithms [14], [15], and scalable implementations [16], [7] for error-prone process [8]. Further, these pipelines need to be model training, they do not capture the featurization process completely re-engineered when the training data or features or the logical intent of the workflow. KeystoneML provides grow by an order of magnitude–often the difference between a high-level, type-safe API (Figure 1) built around logical an application that provides good statistical accuracy and one operators to capture end-to-end applications. that does not [9]. As no broader system has purview of the end- to-end application, only narrow optimizations can be applied. To optimize ML pipelines, database query optimization These challenges motivate the need for a system that provides a natural motivation for the core design of such a • Allows users to specify end-to-end ML applications in system [17]. However, compared to relational database query a single system using high level logical operators. optimization, ML applications present an additional set of concerns. First, ML operators are often iterative and may • Scales out dynamically as data volumes and problem require multiple passes over their inputs, presenting opportu- complexity change. nities for data reuse. Second, many ML operators provide only • Automatically optimizes these applications given a li- approximate answers to their inputs [15]. Third, numerical data brary of ML operators and the user’s compute resources. properties such as sparsity and dimensionality are a necessary While existing efforts in the data management commu- source of information when selecting optimal execution plans nity [10], [11], [7] and in the broader machine learning systems and conventional optimizers do not consider them. Finally, the community [6], [12], [13] have built systems to address some system should be aware of the computation-vs-communication of these problems, each of them misses the mark on at least tradeoffs inherent in distributed processing [11], [6] and one of the points above. choose appropriate distributed execution strategies. To address these challenges we develop techniques to do val textClassifier = Trim andThen both per-operator optimization and end-to-end pipeline op- LowerCase andThen Tokenizer andThen timization for ML pipelines. We use a cost-based optimizer NGramsFeaturizer(1 to 2) andThen that accounts for both computation and communication costs TermFrequency(x => 1) andThen (CommonSparseFeatures(1e5), data) andThen and our cost model can easily accommodate new operators (LinearSolver(), data, labels) and hardware configurations. To determine which intermediate val predictions = textClassifier(testData) states are materialized in memory during iterative execution, we formulate an optimization problem and present a greedy Fig. 2: A text classification pipeline is specified using a small algorithm that works efficiently and accurately in practice. set of logical operators. We measure the importance of cost-based optimization and trait Transformer[A, B] extends Pipeline[A, B] { its associated overheads using real-world workloads from def apply(in: Dataset[A]): Dataset[B] = in.map(apply) def apply(in: A): B computer vision, speech and natural language processing. We } find that end-to-end optimization can improve performance trait Estimator[A, B] { by 7× and that physical operator optimizations combined def fit(data: Dataset[A]): Transformer[A, B] } with end-to-end optimizations can improve performance by trait Optimizable[T, A, B] { up to 15× versus unoptimized execution. We show that in our val options: List[(CostModel, T[A,B])] experiments, poor physical operator selection can result in up def optimize(sample: Dataset[A], d: ResourceDesc): T[A,B] to a 260× slowdown. Using an image classification pipeline } on over 1M images [3], we show that KeystoneML provides class CostProfile(flops: Long, bytes: Long, network: Long) linear performance scalability across various cluster sizes, trait CostModel { and statistical performance comparable to recent results [18], def cost(sample: Dataset[A], workers: Int): CostProfile [3]. Additionally, KeystoneML can match the performance of } a specialized phoneme classification system on a BlueGene trait Iterative { def weight: Int supercomputer while using 8× fewer resources. } In summary, we make the following contributions: • We present KeystoneML, a system for describing ML Fig. 3: The KeystoneML API consists of two extendable applications using high level logical operators. Key- operator types and interfaces for optimization. stoneML enables end-to-end optimization of ML appli- cations at both the operator and pipeline level. for a complete text classification pipeline. We next describe the building blocks of our API. • We demonstrate the importance of physical operator selection in the context of input characteristics of three A. Logical ML Operators commonly used logical ML operators, and propose a cost Conventional analytics queries are typically composed using model for making this selection. a small number of well studied relational database operators. • We present and evaluate an initial set of whole-pipeline This well-defined environment enables important optimiza- optimizations, including a novel algorithm that automati- tions. However, ML applications lack such an abstraction cally identifies a subset of intermediate data to materialize and practitioners typically piece together imperative libraries. to speed up pipeline execution. Recent efforts have proposed using linear algebra operators • We evaluate these optimizations in the context of real- such as matrix multiplication [11], convex optimization rou- world pipelines in a diverse set of domains: phoneme tines [21] or multi-dimensional arrays as logical building classification, image classification, and textual sentiment blocks [22]. analysis, and demonstrate near-linear scalability over In contrast, with KeystoneML we propose a design where 100s of machines with strong statistical performance. high-level ML operations (such as PCA, LinearSolver) • We compare KeystoneML with several recent systems are used as building blocks. Our approach has two major ben- for large-scale learning and demonstrate superior runtime efits: First, it simplifies building applications. Even complex from our optimization techniques and scale-out strategy. pipelines can be built using just a handful of operators. Second, KeystoneML is open source software1 and is being used in this higher level abstraction allows us to perform a wider range scientific applications in solar physics [19] and genomics [20] of optimizations. Our key insight here is that there are usually multiple well studied algorithms for a given ML operator, but II. PIPELINE CONSTRUCTION AND CORE APIS that their performance and statistical characteristics vary based In this section we introduce the KeystoneML API that can on the inputs and system configuration. We next describe the be used to express end-to-end ML pipelines. Each pipeline is API for
Recommended publications
  • Naiad: a Timely Dataflow System
    Naiad: A Timely Dataflow System Derek G. Murray Frank McSherry Rebecca Isaacs Michael Isard Paul Barham Mart´ın Abadi Microsoft Research Silicon Valley {derekmur,mcsherry,risaacs,misard,pbar,abadi}@microsoft.com Abstract User queries Low-latency query are received responses are delivered Naiad is a distributed system for executing data parallel, cyclic dataflow programs. It offers the high throughput Queries are of batch processors, the low latency of stream proces- joined with sors, and the ability to perform iterative and incremental processed data computations. Although existing systems offer some of Complex processing these features, applications that require all three have re- incrementally re- lied on multiple platforms, at the expense of efficiency, Updates to executes to reflect maintainability, and simplicity. Naiad resolves the com- data arrive changed data plexities of combining these features in one framework. A new computational model, timely dataflow, under- Figure 1: A Naiad application that supports real- lies Naiad and captures opportunities for parallelism time queries on continually updated data. The across a wide class of algorithms. This model enriches dashed rectangle represents iterative processing that dataflow computation with timestamps that represent incrementally updates as new data arrive. logical points in the computation and provide the basis for an efficient, lightweight coordination mechanism. requirements: the application performs iterative process- We show that many powerful high-level programming ing on a real-time data stream, and supports interac- models can be built on Naiad’s low-level primitives, en- tive queries on a fresh, consistent view of the results. abling such diverse tasks as streaming data analysis, it- However, no existing system satisfies all three require- erative machine learning, and interactive graph mining.
    [Show full text]
  • ML Cheatsheet Documentation
    ML Cheatsheet Documentation Team Sep 02, 2021 Basics 1 Linear Regression 3 2 Gradient Descent 21 3 Logistic Regression 25 4 Glossary 39 5 Calculus 45 6 Linear Algebra 57 7 Probability 67 8 Statistics 69 9 Notation 71 10 Concepts 75 11 Forwardpropagation 81 12 Backpropagation 91 13 Activation Functions 97 14 Layers 105 15 Loss Functions 117 16 Optimizers 121 17 Regularization 127 18 Architectures 137 19 Classification Algorithms 151 20 Clustering Algorithms 157 i 21 Regression Algorithms 159 22 Reinforcement Learning 161 23 Datasets 165 24 Libraries 181 25 Papers 211 26 Other Content 217 27 Contribute 223 ii ML Cheatsheet Documentation Brief visual explanations of machine learning concepts with diagrams, code examples and links to resources for learning more. Warning: This document is under early stage development. If you find errors, please raise an issue or contribute a better definition! Basics 1 ML Cheatsheet Documentation 2 Basics CHAPTER 1 Linear Regression • Introduction • Simple regression – Making predictions – Cost function – Gradient descent – Training – Model evaluation – Summary • Multivariable regression – Growing complexity – Normalization – Making predictions – Initialize weights – Cost function – Gradient descent – Simplifying with matrices – Bias term – Model evaluation 3 ML Cheatsheet Documentation 1.1 Introduction Linear Regression is a supervised machine learning algorithm where the predicted output is continuous and has a constant slope. It’s used to predict values within a continuous range, (e.g. sales, price) rather than trying to classify them into categories (e.g. cat, dog). There are two main types: Simple regression Simple linear regression uses traditional slope-intercept form, where m and b are the variables our algorithm will try to “learn” to produce the most accurate predictions.
    [Show full text]
  • 1.2 Le Zhang, Microsoft
    Objective • “Taking recommendation technology to the masses” • Helping researchers and developers to quickly select, prototype, demonstrate, and productionize a recommender system • Accelerating enterprise-grade development and deployment of a recommender system into production • Key takeaways of the talk • Systematic overview of the recommendation technology from a pragmatic perspective • Best practices (with example codes) in developing recommender systems • State-of-the-art academic research in recommendation algorithms Outline • Recommendation system in modern business (10min) • Recommendation algorithms and implementations (20min) • End to end example of building a scalable recommender (10min) • Q & A (5min) Recommendation system in modern business “35% of what consumers purchase on Amazon and 75% of what they watch on Netflix come from recommendations algorithms” McKinsey & Co Challenges Limited resource Fragmented solutions Fast-growing area New algorithms sprout There is limited reference every day – not many Packages/tools/modules off- and guidance to build a people have such the-shelf are very recommender system on expertise to implement fragmented, not scalable, scale to support and deploy a and not well compatible with enterprise-grade recommender by using each other scenarios the state-of-the-arts algorithms Microsoft/Recommenders • Microsoft/Recommenders • Collaborative development efforts of Microsoft Cloud & AI data scientists, Microsoft Research researchers, academia researchers, etc. • Github url: https://github.com/Microsoft/Recommenders • Contents • Utilities: modular functions for model creation, data manipulation, evaluation, etc. • Algorithms: SVD, SAR, ALS, NCF, Wide&Deep, xDeepFM, DKN, etc. • Notebooks: HOW-TO examples for end to end recommender building. • Highlights • 3700+ stars on GitHub • Featured in YC Hacker News, O’Reily Data Newsletter, GitHub weekly trending list, etc.
    [Show full text]
  • Alibaba Amazon
    Online Virtual Sponsor Expo Sunday December 6th Amazon | Science Alibaba Neural Magic Facebook Scale AI IBM Sony Apple Quantum Black Benevolent AI Zalando Kuaishou Cruise Ant Group | Alipay Microsoft Wild Me Deep Genomics Netflix Research Google Research CausaLens Hudson River Trading 1 TALKS & PANELS Scikit-learn and Fairness, Tools and Challenges 5 AM PST (1 PM UTC) Speaker: Adrin Jalali Fairness, accountability, and transparency in machine learning have become a major part of the ML discourse. Since these issues have attracted attention from the public, and certain legislations are being put in place regulating the usage of machine learning in certain domains, the industry has been catching up with the topic and a few groups have been developing toolboxes to allow practitioners incorporate fairness constraints into their pipelines and make their models more transparent and accountable. AIF360 and fairlearn are just two examples available in Python. On the machine learning side, scikit-learn has been one of the most commonly used libraries which has been extended by third party libraries such as XGBoost and imbalanced-learn. However, when it comes to incorporating fairness constraints in a usual scikit- learn pipeline, there are challenges and limitations related to the API, which has made developing a scikit-learn compatible fairness focused package challenging and hampering the adoption of these tools in the industry. In this talk, we start with a common classification pipeline, then we assess fairness/bias of the data/outputs using disparate impact ratio as an example metric, and finally mitigate the unfair outputs and search for hyperparameters which give the best accuracy while satisfying fairness constraints.
    [Show full text]
  • Microsoft Recommenders Tools to Accelerate Developing Recommender Systems Scott Graham, Jun Ki Min, Tao Wu {Scott.Graham, Jun.Min, Tao.Wu} @ Microsoft.Com
    Microsoft Recommenders Tools to Accelerate Developing Recommender Systems Scott Graham, Jun Ki Min, Tao Wu {Scott.Graham, Jun.Min, Tao.Wu} @ microsoft.com Microsoft Recommenders repository is an open source collection of python utilities and Jupyter notebooks to help accelerate the process of designing, evaluating, and deploying recommender systems. The repository is actively maintained and constantly being improved and extended. It is publicly available on GitHub and licensed through a permissive MIT License to promote widespread use of the tools. Core components reco_utils • Dataset helpers and splitters • Ranking & rating metrics • Hyperparameter tuning helpers • Operationalization utilities notebooks • Spark ALS • Inhouse: SAR, Vowpal Wabbit, LightGBM, RLRMC, xDeepFM • Deep learning: NCF, Wide-Deep • Open source frameworks: Surprise, FastAI tests • Unit tests • Smoke & Integration tests Workflow Train set Recommender train Environment Data Data split setup load Validation set Hyperparameter tune Operationalize Test set Evaluate • Rating metrics • Content based models • Clone & conda-install on a local / • Chronological split • Ranking metrics • Collaborative-filtering models virtual machine (Windows / Linux / • Stratified split • Classification metrics • Deep-learning models Mac) or Databricks • Non-overlap split • Docker • Azure Machine Learning service (AzureML) • Random split • Tuning libraries (NNI, HyperOpt) • pip install • Azure Kubernetes Service (AKS) • Tuning services (AzureML) • Azure Databricks Example: Movie Recommendation
    [Show full text]
  • The Design and Implementation of Low-Latency Prediction Serving Systems
    The Design and Implementation of Low-Latency Prediction Serving Systems Daniel Crankshaw Electrical Engineering and Computer Sciences University of California at Berkeley Technical Report No. UCB/EECS-2019-171 http://www2.eecs.berkeley.edu/Pubs/TechRpts/2019/EECS-2019-171.html December 16, 2019 Copyright © 2019, by the author(s). All rights reserved. Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. To copy otherwise, to republish, to post on servers or to redistribute to lists, requires prior specific permission. Acknowledgement To my parents The Design and Implementation of Low-Latency Prediction Serving Systems by Daniel Crankshaw A dissertation submitted in partial satisfaction of the requirements for the degree of Doctor of Philosophy in Computer Science in the Graduate Division of the University of California, Berkeley Committee in charge: Professor Joseph Gonzalez, Chair Professor Ion Stoica Professor Fernando Perez Fall 2019 The Design and Implementation of Low-Latency Prediction Serving Systems Copyright 2019 by Daniel Crankshaw 1 Abstract The Design and Implementation of Low-Latency Prediction Serving Systems by Daniel Crankshaw Doctor of Philosophy in Computer Science University of California, Berkeley Professor Joseph Gonzalez, Chair Machine learning is being deployed in a growing number of applications which demand real- time, accurate, and cost-efficient predictions under heavy query load. These applications employ a variety of machine learning frameworks and models, often composing several models within the same application.
    [Show full text]
  • With Honors Final Year Peoject 1
    FACULTY OF INFORMATICS AND COMPUTING BACHELOR OF COMPUTER SCIENCE (COMPUTER NETWORK SECURITY) WITH HONORS FINAL YEAR PEOJECT 1 CSF 35104 3RD YEAR 5TH SEMESTER SESSION 2018/2019 SPAM DETECTION USING MACHINE LEARNING BASED BINARY CLASSIFIER PREPARED BY : NOR SYAIDATUL AMIRAH BINTI ABDUL HAMID MATRIC NUMBER : BTBL16043660 SUPERVISOR : MR. AHMAD FAISAL AMRI BIN ABIDIN@BHARUN CHAPTER 1 INTRODUCTION 1.1 BACKGROUND Today, spam has become a big trouble over the internet. Up to 2017, the statistic shown spam accounted for 55%of all e-mail messages, same as during the previous year [1]. Spam which is also known as unsolicited bulk email has led to the increasing use of email as email provides the perfect ways to send the unwanted advertisement or junk newsgroup posting at no cost for the sender. This chances has been extensively exploited by irresponsible organizations and resulting to clutter the mail boxes of millions of people all around the world. Evolving from a minor to major concern, given the high offensive content of messages, spam is a waste of time. It also consumed a lot of storage space and communication bandwidth. End user is at risk of deleting legitimate mail by mistake. Moreover, spam also impacted the economical which led some countries to adopt legislation. Text classification is used to determine the path of incoming mail/message either into inbox or straight to spam folder. It is the process of assigning categories to text according to its content. It is used to organized, structures and categorize text. It can be done either manually or automatically. Machine learning automatically classifies the text in a much faster way than manual technique.
    [Show full text]
  • Anna Choromanska
    ANNA CHOROMANSKA CONTACT Department of Electrical and Computer Engineering NYU Tandon School of Engineering New York University Room LC266D, 5 Metrotech Center, New York, NY 11201, USA E-mail: ac5455 at nyu dot edu, achoroma at gmail dot com Website: https://engineering.nyu.edu/faculty/anna-choromanska EDUCATION • Columbia University in the City of New York, Department of Electrical Engineering, M.Phil. and Ph.D. (with Presidential Fellowship), 2009-2014 (Advisor: Prof. Tony Jebara, Co-advisor: Prof. Claire Monteleoni) • Warsaw University of Technology, Department of Electronics and Information Technology, MSc with distinctions (double specialization: Electronics and Computer Engineering and Electron- ics and Informatics in Medicine), 2004-2009 (Advisor: Prof. Antoni Grzanka) • Mieczyslaw Karlowicz Music High School in Warsaw, Department of Piano Play, 1998-2004 PROFESSIONAL EXPERIENCE Assistant Professor Department of Electrical and Computer 01.2017 now Engineering, NYU Tandon School of Engineering Affiliated Faculty Member NYU Center for Urban Science 02.2019 now and Progress Affiliated Faculty Member NYU Center for Data Science 01.2017 now ||||||||||||||||||||||||||||||||||||||||||| Research Collaboration NYU - NVIDIA AI Labs (NVAIL) 02.2019 now Working on deep-learning-based AI platforms for autonomous driving. Research Collaboration IBM T. J. Watson Research Center 08.2017 now Working on biologically plausible algorithms for training deep networks. Research Collaboration NVIDIA (New Jersey lab) 05.2016 now Working on autonomous car driving. Post-Doctoral Associate Computer Science Department, 04.2014 12.2016 Courant Institute of Mathematical Sciences, New York University Working on deep learning (advisor: Prof. Yann LeCun). Summer Internship Microsoft Research, New York 06.2013 09.2013 Research Collaboration 09.2013 06.2014 Working on logarithmic time extreme multiclass classification (advisor: Dr John Langford).
    [Show full text]
  • Extreme Multi-Label Classification for Information Retrieval XMLC4IR
    Extreme Multi-label Classification for Information Retrieval XMLC4IR Tutorial at ECIR 2018 Rohit Babbar1 and Krzysztof Dembczy´nski2 1Aalto University, Finland, 2Pozna´nUniversity of Technology, Poland European Conference on Information Retrieval Grenoble, France, March 26, 2018 • Rohit Babbar: I Affiliation: University Aalto I Previous affiliations: Max-Planck Institute for Intelligent Systems, Universit´eGrenoble Alpes I Main interests: extreme classification, multi-label classification, multi-class classification, text classification 1 / 94 • Krzysztof Dembczy´nski: I Affiliation: Poznan University of Technology I Previous affiliations: Marburg University I Main interests: extreme multi-machine learning, multi-label classification, label tree algorithms, learning theory 2 / 94 Agenda 1 Extreme classification: applications and challenges 2 Algorithms I Label embeddings I Smart 1-vs-All approaches I Tree-based methods I Label filtering/maximum inner product search 3 Live demonstration Webpage: http://www.cs.put.poznan.pl/ kdembczynski/xmlc-tutorial-ecir-2018/ 3 / 94 Agenda 1 Extreme classification: applications and challenges 2 Algorithms I Label embeddings I Smart 1-vs-All approaches I Tree-based methods I Label filtering/maximum inner product search 3 Live demonstration Webpage: http://www.cs.put.poznan.pl/ kdembczynski/xmlc-tutorial-ecir-2018/ 3 / 94 Extreme multi-label classification is a problem of labeling an item with a small set of tags out of an extremely large number of potential tags. 4 / 94 Geoff Hinton Andrew Ng Yann LeCun Yoshua Bengio 5 /
    [Show full text]
  • Analytical and Other Software on the Secure Research Environment
    Analytical and other software on the Secure Research Environment The Research Environment runs with the operating system: Microsoft Windows Server 2016 DataCenter edition. The environment is based on the Microsoft Data Science virtual machine template and includes the following software: • R Version 4.0.2 (2020-06-22), as part of Microsoft R Open • R Studio Desktop 1.3.1093 working with R 4.0.2 • Anaconda 3, including an environment for Python 3.8.5 • Python, 3.8.5 as part of the Anaconda base environment • Jupyter Notebook, as part of the Anaconda3 environment • Microsoft Office 2016 Standard edition, including Word, Excel, PowerPoint, and OneNote (Access not included) • JuliaPro 0.5.1.1 and the Juno IDE for Julia • PyCharm Community Edition, 2020.3 • PLINK • JAGS • WinBUGS • OpenBUGS • stan and rstan • Apache Spark 2.2.0 • SparkML and pySpark • Apache Drill 1.11.0 • MAPR Drill driver • VIM 8.0.606 • TensorFlow • MXNet, MXNet Model Server • Microsoft Cognitive Toolkit (CNTK) • Weka • Vowpal Wabbit • xgboost • Team Data Science Process (TDSP) Utilities • VOTT (Visual Object Tagging Tool) 1.6.11 • Microsoft Machine Learning Server • PowerBI • Docker version 10.03.5, build 2ee0c57608 • SQL Server Developer Edition (2017), including Management Studio and SQL Server Integration Services (SSIS) • Visual Studio Code 1.17.1 • Nodejs • 7-zip • Evince PDF Viewer • Acrobat Reader • Microsoft Photo Viewer • PowerShell 6 March 2021 Version 1.2 And in the Premium research environments: • STATA 16.1 • SAS 9.4, m4 (academic license) Users also have the ability to bring in additional software if the software was specified in the data request, the software runs in the operating system described above, and the user can provide Vivli with any necessary licensing keys.
    [Show full text]
  • Azureml: Anatomy of a Machine Learning Service
    JMLR: Workshop and Conference Proceedings 50:1–13, 2016 PAPIs 2015 AzureML: Anatomy of a machine learning service AzureML Team, Microsoft ∗ 1 Memorial Drive, Cambridge, MA 02142 Editor: Louis Dorard, Mark D. Reid and Francisco J. Martin Abstract In this paper, we describe AzureML, a web service that provides a model authoring en- vironment where data scientists can create machine learning models and publish them easily (http://www.azure.com/ml). In addition, AzureML provides several distinguishing features. These include: (a) collaboration, (b) versioning, (c) visual workflows, (d) exter- nal language support, (e) push-button operationalization, (f) monetization and (g) service tiers. We outline the system overview, design principles and lessons learned in building such a system. Keywords: Machine learning, predictive API 1. Introduction With the rise of big-data, machine learning has moved from being an academic interest to providing competitive advantage to data driven companies. Previously, building such predic- tive systems required deep expertise in machine learning as well as scalable software engineer- ing. Recent trends have democratized machine learning and made building predictive appli- cations far easier. Firstly, the emergence of machine learning libraries such as scikit-learn Pe- dregosa et al.(2011), WEKA Holmes et al.(1994), Vowpal Wabbit Langford et al.(2007) etc. and open source languages like R R Development Core Team(2011) and Julia Bezanson et al. (2012) have made building machine learning models easier even without machine learning expertise. Secondly, scalable data frameworks Zaharia et al.(2010); Low et al.(2010) have provided necessary infrastructure for handling large amounts of data. Operationalizing mod- els built this way still remains a challenge.
    [Show full text]
  • Package 'Rvowpalwabbit'
    Package ‘RVowpalWabbit’ August 7, 2020 Title R Interface to the Vowpal Wabbit Version 0.0.15 Date 2020-08-03 Maintainer Dirk Eddelbuettel <[email protected]> Author Dirk Eddelbuettel Description The 'Vowpal Wabbit' project is a fast out-of-core learning system sponsored by Microsoft Research (having started at Yahoo! Research) and written by John Langford along with a number of contributors. This R package does not include the distributed computing implementation of the cluster/ directory of the upstream sources. Use of the software as a network service is also not directly supported as the aim is a simpler direct call from R for validation and comparison. Note that this package contains an embedded older version of 'Vowpal Wabbit'. The package 'rvw' at the GitHub repo <https://github.com/eddelbuettel/rvw> can provide an alternative using an external 'Vowpal Wabbit' library installation. Depends R (>= 2.12.0) Imports Rcpp LinkingTo Rcpp SystemRequirements The Boost 'program_options' library <https://boost.org> is required. OS_type unix StagedInstall no License GPL (>= 2) URL https://vowpalwabbit.org/ BugReports https://github.com/eddelbuettel/rvowpalwabbit/issues NeedsCompilation yes Repository CRAN Date/Publication 2020-08-07 08:40:15 UTC 1 2 vw R topics documented: vw..............................................2 Index 4 vw Run the Vowpal Wabbit fast out-of-core learner Description The vw function applies the Vowpal Wabbit on-line learner to a given data set and model. Vowpal Wabbit is a project sponsored by Yahoo! Research and led by John Langford. At present, this package provides a simple yet crude interface. Usage vw(args, quiet=TRUE) Arguments args A character vector containing the same arguments one would use on the command- line with the standalone vw binary.
    [Show full text]