Infinite Ensemble Learning with Support Vector Machines

Total Page:16

File Type:pdf, Size:1020Kb

Infinite Ensemble Learning with Support Vector Machines Infinite Ensemble Learning with Support Vector Machines Thesis by Hsuan-Tien Lin In Partial Fulfillment of the Requirements for the Degree of Master of Science California Institute of Technology Pasadena, California 2005 (Submitted May 18, 2005) ii c 2005 Hsuan-Tien Lin All Rights Reserved iii Acknowledgements I am very grateful to my advisor, Professor Yaser S. Abu-Mostafa, for his help, sup- port, and guidance throughout my research and studies. It has been a privilege to work in the free and easy atmosphere that he provides for the Learning Systems Group. I have enjoyed numerous discussions with Ling Li and Amrit Pratap, my fellow members of the group. I thank them for their valuable input and feedback. I am particularly indebted to Ling, who not only collaborates with me in some parts of this work, but also gives me lots of valuable suggestions in research and in life. I also appreciate Lucinda Acosta for her help in obtaining necessary resources for research. I thank Kai-Min Chung for providing useful comments on an early publication of this work. I also want to address a special gratitude to Professor Chih-Jen Lin, who brought me into the fascinating area of Support Vector Machine five years ago. Most importantly, I thank my family and friends for their endless love and support. I am thankful to my parents, who have always encouraged me and have believed in me. In addition, I want to convey my personal thanks to Yung-Han Yang, my girlfriend, who has shared every moment with me during days of our lives in the U.S. This work is supported primarily by the Engineering Research Centers Program of the National Science Foundation under award EEC-9402726. iv Abstract Ensemble learning algorithms achieve better out-of-sample performance by averaging over the predictions of some base learners. Theoretically, the ensemble could include an infinite number of base learners. However, the construction of an infinite ensemble is a challenging task. Thus, traditional ensemble learning algorithms usually have to rely on a finite approximation or a sparse representation of the infinite ensemble. It is not clear whether the performance could be further improved by a learning algorithm that actually outputs an infinite ensemble. In this thesis, we exploit the Support Vector Machine (SVM) to develop such learning algorithm. SVM is capable of handling infinite number of features through the use of kernels, and has a close connection to ensemble learning. These properties allow us to formulate an infinite ensemble learning framework by embedding the base learners into an SVM kernel. With the framework, we could derive several new kernels for SVM, and give novel interpretations to some existing kernels from an ensemble point-of-view. We would construct several useful and concrete instances of the framework. Exper- imental results show that SVM could perform well even with kernels that embed very simple base learners. In addition, the framework provides a platform to fairly compare SVM with traditional ensemble learning algorithms. It is observed that SVM could usually achieve better performance than traditional ensemble learning algorithms, which provides us further understanding of both SVM and ensemble learning. v Contents Acknowledgements iii Abstract iv 1 Introduction 1 1.1 The Learning Problem . 1 1.1.1 Formulation . 1 1.1.2 Capacity of the Learning Model . 3 1.2 Ensemble Learning . 6 1.2.1 Formulation . 6 1.2.2 Why Ensemble Learning? . 7 1.3 Infinite Ensemble Learning . 9 1.3.1 Why Infinite Ensemble Learning? . 9 1.3.2 Dealing with Infinity . 10 1.4 Overview . 12 2 Connection between SVM and Ensemble Learning 13 2.1 Support Vector Machine . 13 2.1.1 Basic SVM Formulation . 14 2.1.2 Nonlinear Soft-Margin SVM Formulation . 16 2.2 Ensemble Learning and Large-Margin Concept . 20 2.2.1 Adaptive Boosting . 20 2.2.2 Linear Programming Boosting . 22 2.3 Connecting SVM to Ensemble Learning . 24 vi 3 SVM-based Framework for Infinite Ensemble Learning 29 3.1 Embedding Learning Model into the Kernel . 29 3.2 Assuming Negation Completeness . 32 3.3 Properties of the Framework . 34 3.3.1 Embedding Multiple Learning Models . 34 3.3.2 Averaging Ambiguous Hypotheses . 35 4 Concrete Instances of the Framework 38 4.1 Stump Kernel . 38 4.1.1 Formulation . 38 4.1.2 Power of the Stump Ensemble . 40 4.1.3 Stump Kernel and Radial Basis Function . 43 4.1.4 Averaging Ambiguous Stumps . 44 4.2 Perceptron Kernel . 45 4.2.1 Formulation . 45 4.2.2 Properties of the Perceptron Kernel . 48 4.3 Kernels that Embed Combined Hypotheses . 50 4.3.1 Logic Kernels . 50 4.3.2 Multiplication of Logic Kernels . 51 4.3.3 Laplacian Kernel and Exponential Kernel . 55 4.3.4 Discussion on RBF Kernels . 58 5 Experiments 60 5.1 Setup . 60 5.2 Comparison of Ensemble Learning Algorithms . 62 5.2.1 Experimental Results . 62 5.2.2 Regularization and Sparsity . 63 5.3 Comparison of RBF Kernels . 65 6 Conclusion 67 vii List of Figures 1.1 Illustration of the learning scenario . 3 1.2 Overfitting and underfitting . 5 2.1 Illustration of the margin, where yi = 2 · I[circle is empty] − 1 . 15 2.2 The power of the feature mapping in (2.1) . 17 2.3 LPBoost can only choose one between h1 and h2 . 24 4.1 Illustration of the decision stump s+1;2,α(x) . 39 4.2 The XOR training set. 43 4.3 Illustration of the perceptron p+1,θ,α(x) . 46 4.4 Illustration of AND combination . 52 4.5 Combining s 1;1;2(x) and s+1;2;1(x) . 55 − 5.1 Decision boundaries of SVM-Stump (left) and AdaBoost-Stump (right) on a 2-D twonorm dataset . 64 viii List of Tables 5.1 Details of the datasets . 61 5.2 Test error (%) comparison of ensemble learning algorithms . 63 5.3 Test error (%) comparison on sparsity and regularization . 65 5.4 Test error (%) comparison of RBF kernels . 66 5.5 Parameter selection time (sec.) comparison of RBF kernels . 66 ix List of Algorithms 1 AdaBoost . 27 2 LPBoost . 28 3 SVM-based framework for infinite ensemble learning . 33 1 Chapter 1 Introduction This thesis is about infinite ensemble learning, a promising paradigm in machine learning. In this chapter, we would introduce the learning problem, the ensemble learning paradigm, and the infinite ensemble learning paradigm. We would build up our scheme of notations, and show our motivations for this work. 1.1 The Learning Problem 1.1.1 Formulation In this thesis, we would study the problem of learning from examples (Abu-Mostafa N 1989). For such a learning problem, we are given a training set Z = fzi : zi = (xi; yi)gi=1 which consists of the training examples zi. We assume that the training vectors xi are drawn independently from an unknown probability measure P (x) on X ⊆ RD, X and their labels yi are computed from yi = f(xi). Here f : X ! Y is called the target function, and is also assumed to be unknown. With the given training set, we want to obtain a function g∗ : X ! Y as our inference of the target function. The function g∗ is usually chosen from a collection G of candidate functions, called the learning model. Briefly speaking, the task of the learning problem is to use the information in the training set Z to find some g∗ 2 G that approximates f well. For example, we may want to build a recognition system that transforms an image of a written digit to its intended meaning. This goal is usually called an inverse 2 problem, but we can also formulate it as a learning problem. We first ask someone to write down N digits, and represent their images by the training vectors xi. We then label the digits by yi 2 f0; 1; · · · ; 9g according to their meanings. The target function f here encodes the process of our human-based recognition system. The task of this learning problem would be setting up an automatic recognition system (function) g∗ that is almost as good as our own recognition system, even on the yet unseen images of written digits in the future. Throughout this thesis, we would work on binary classification problems, in which Y = {−1; +1g. We call a function of the form X ! {−1; +1g a classifier, and define the deviation between two classifiers g and f on a point x 2 X to be I[g(x) =6 f(x)].1 The overall deviation, called the out-of-sample error, would be π(g) = I[f(x) =6 g(x)] dP (x): X ZX We say that g approximates f well, or generalizes well, if π(g) is small. We design the learning algorithm A to solve the learning problem. Generally, the algorithm takes the training set Z and the learning model G, and outputs a decision function g∗ 2 G by minimizing a predefined error cost eZ (g). The full scenario of learning is illustrated in Figure 1.1. To obtain a decision function that generalizes well, we ideally desires eZ (g) = π(g) for all g 2 G. However, both f and p are assumed to be unknown, and it is hence X impossible to compute and minimize π(g) directly. A substitute quantity that depends only on Z is called the in-sample error N 1 ν(g) = I[y =6 g(x )] · : i i N i=1 X Many learning algorithms consider ν(g) to be an important part of the error cost, because ν(g) is an unbiased estimate of π(g).
Recommended publications
  • Kitsune: an Ensemble of Autoencoders for Online Network Intrusion Detection
    Kitsune: An Ensemble of Autoencoders for Online Network Intrusion Detection Yisroel Mirsky, Tomer Doitshman, Yuval Elovici and Asaf Shabtai Ben-Gurion University of the Negev yisroel, tomerdoi @post.bgu.ac.il, elovici, shabtaia @bgu.ac.il { } { } Abstract—Neural networks have become an increasingly popu- Over the last decade many machine learning techniques lar solution for network intrusion detection systems (NIDS). Their have been proposed to improve detection performance [2], [3], capability of learning complex patterns and behaviors make them [4]. One popular approach is to use an artificial neural network a suitable solution for differentiating between normal traffic and (ANN) to perform the network traffic inspection. The benefit network attacks. However, a drawback of neural networks is of using an ANN is that ANNs are good at learning complex the amount of resources needed to train them. Many network non-linear concepts in the input data. This gives ANNs a gateways and routers devices, which could potentially host an NIDS, simply do not have the memory or processing power to great advantage in detection performance with respect to other train and sometimes even execute such models. More importantly, machine learning algorithms [5], [2]. the existing neural network solutions are trained in a supervised The prevalent approach to using an ANN as an NIDS is manner. Meaning that an expert must label the network traffic to train it to classify network traffic as being either normal and update the model manually from time to time. or some class of attack [6], [7], [8]. The following shows the In this paper, we present Kitsune: a plug and play NIDS typical approach to using an ANN-based classifier in a point which can learn to detect attacks on the local network, without deployment strategy: supervision, and in an efficient online manner.
    [Show full text]
  • Ensemble Learning
    Ensemble Learning Martin Sewell Department of Computer Science University College London April 2007 (revised August 2008) 1 Introduction The idea of ensemble learning is to employ multiple learners and combine their predictions. There is no definitive taxonomy. Jain, Duin and Mao (2000) list eighteen classifier combination schemes; Witten and Frank (2000) detail four methods of combining multiple models: bagging, boosting, stacking and error- correcting output codes whilst Alpaydin (2004) covers seven methods of combin- ing multiple learners: voting, error-correcting output codes, bagging, boosting, mixtures of experts, stacked generalization and cascading. Here, the litera- ture in general is reviewed, with, where possible, an emphasis on both theory and practical advice, then the taxonomy from Jain, Duin and Mao (2000) is provided, and finally four ensemble methods are focussed on: bagging, boosting (including AdaBoost), stacked generalization and the random subspace method. 2 Literature Review Wittner and Denker (1988) discussed strategies for teaching layered neural net- works classification tasks. Schapire (1990) introduced boosting (see Section 5 (page 9)). A theoretical paper by Kleinberg (1990) introduced a general method for separating points in multidimensional spaces through the use of stochastic processes called stochastic discrimination (SD). The method basically takes poor solutions as an input and creates good solutions. Stochastic discrimination looks promising, and later led to the random subspace method (Ho 1998). Hansen and Salamon (1990) showed the benefits of invoking ensembles of similar neural networks. Wolpert (1992) introduced stacked generalization, a scheme for minimiz- ing the generalization error rate of one or more generalizers (see Section 6 (page 10)).Xu, Krzy˙zakand Suen (1992) considered methods of combining mul- tiple classifiers and their applications to handwriting recognition.
    [Show full text]
  • Ensemble Methods in Data Mining: Improving Accuracy Through Combining Predictions
    Ensemble Methods in Data Mining: Improving Accuracy Through Combining Predictions Synthesis Lectures on Data Mining and Knowledge Discovery Editor Robert Grossman, University of Illinois, Chicago Ensemble Methods in Data Mining: Improving Accuracy Through Combining Predictions Giovanni Seni and John F. Elder 2010 Modeling and Data Mining in Blogosphere Nitin Agarwal and Huan Liu 2009 Copyright © 2010 by Morgan & Claypool All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means—electronic, mechanical, photocopy, recording, or any other except for brief quotations in printed reviews, without the prior permission of the publisher. Ensemble Methods in Data Mining: Improving Accuracy Through Combining Predictions Giovanni Seni and John F. Elder www.morganclaypool.com ISBN: 9781608452842 paperback ISBN: 9781608452859 ebook DOI 10.2200/S00240ED1V01Y200912DMK002 A Publication in the Morgan & Claypool Publishers series SYNTHESIS LECTURES ON DATA MINING AND KNOWLEDGE DISCOVERY Lecture #2 Series Editor: Robert Grossman, University of Illinois, Chicago Series ISSN Synthesis Lectures on Data Mining and Knowledge Discovery Print 2151-0067 Electronic 2151-0075 Ensemble Methods in Data Mining: Improving Accuracy Through Combining Predictions Giovanni Seni Elder Research, Inc. and Santa Clara University John F. Elder Elder Research, Inc. and University of Virginia SYNTHESIS LECTURES ON DATA MINING AND KNOWLEDGE DISCOVERY #2 M &C Morgan& cLaypool publishers ABSTRACT Ensemble methods have been called the most influential development in Data Mining and Machine Learning in the past decade. They combine multiple models into one usually more accurate than the best of its components. Ensembles can provide a critical boost to industrial challenges – from investment timing to drug discovery, and fraud detection to recommendation systems – where predictive accuracy is more vital than model interpretability.
    [Show full text]
  • (Machine) Learning
    A Practical Tour of Ensemble (Machine) Learning Nima Hejazi 1 Evan Muzzall 2 1Division of Biostatistics, University of California, Berkeley 2D-Lab, University of California, Berkeley slides: https://goo.gl/wWa9QC These are slides from a presentation on practical ensemble learning with the Super Learner and h2oEnsemble packages for the R language, most recently presented at a meeting of The Hacker Within, at the Berkeley Institute for Data Science at UC Berkeley, on 6 December 2016. source: https://github.com/nhejazi/talk-h2oSL-THW-2016 slides: https://goo.gl/CXC2FF with notes: http://goo.gl/wWa9QC Ensemble Learning – What? In statistics and machine learning, ensemble methods use multiple learning algorithms to obtain better predictive performance than could be obtained from any of the constituent learning algorithms alone. - Wikipedia, November 2016 2 This rather elementary definition of “ensemble learning” encapsulates quite well the core notions necessary to understand why we might be interested in optimizing such procedures. In particular, we will see that a weighted collection of individual learning algorithms can not only outperform other algorithms in practice but also has been shown to be theoretically optimal. Ensemble Learning – Why? ▶ Ensemble methods outperform individual (base) learning algorithms. ▶ By combining a set of individual learning algorithms using a metalearning algorithm, ensemble methods can approximate complex functional relationships. ▶ When the true functional relationship is not in the set of base learning algorithms, ensemble methods approximate the true function well. ▶ n.b., ensemble methods can, even asymptotically, perform only as well as the best weighted combination of the candidate learners. 3 A variety of techniques exist for ensemble learning, ranging from the classic “random forest” (of Leo Breiman) to “xgboost” to “Super Learner” (van der Laan et al.).
    [Show full text]
  • Ensemble Learning of Named Entity Recognition Algorithms Using Multilayer Perceptron for the Multilingual Web of Data
    Ensemble Learning of Named Entity Recognition Algorithms using Multilayer Perceptron for the Multilingual Web of Data René Speck Axel-Cyrille Ngonga Ngomo Data Science Group, University of Leipzig Data Science Group, University of Paderborn Augustusplatz 10 Pohlweg 51 Leipzig, Germany 04109 Paderborn, Germany 33098 [email protected] [email protected] ABSTRACT FOX’s inner workings. In Section 4, we compare the results achieved Implementing the multilingual Semantic Web vision requires trans- by our evaluation on the silver and gold standard datasets. Finally, forming unstructured data in multiple languages from the Docu- we discuss the insights provided by our evaluation and possible ment Web into structured data for the multilingual Web of Data. We extensions of our approach in Section 5. present the multilingual version of FOX, a knowledge extraction suite which supports this migration by providing named entity 2 RELATED WORK recognition based on ensemble learning for five languages. Our NER tools and frameworks implement a broad spectrum of ap- evaluation results show that our approach goes beyond the per- proaches, which can be subdivided into three main categories: formance of existing named entity recognition systems on all five dictionary-based, rule-based and machine learning approaches languages. In our best run, we outperform the state of the art by a [20]. The first systems for NER implemented dictionary-based ap- gain of 32.38% F1-Score points on a Dutch dataset. More informa- proaches, which relied on a list of named entities (NEs) and tried tion and a demo can be found at http://fox.aksw.org as well as an to identify these in text [1, 38].
    [Show full text]
  • Chapter 7: Ensemble Learning and Random Forest
    Chapter 7: Ensemble Learning and Random Forest Dr. Xudong Liu Assistant Professor School of Computing University of North Florida Monday, 9/23/2019 1 / 23 Notations 1 Voting classifiers: hard and soft 2 Bagging and pasting Random Forests 3 Boosting: AdaBoost, GradientBoost, Stacking Overview 2 / 23 Hard Voting Classifiers In the setting of binary classification, hard voting is a simple way for an ensemble of classifiers to make predictions, that is, to output the majority winner between the two classes. If multi-classes, output the Plurality winner instead, or the winner according another voting rule. Even if each classifier is a weak learner, the ensemble can be a strong learner under hard voting, provided sufficiently many weak yet diverse learners. Voting Classifiers 3 / 23 Training Diverse Classifiers Voting Classifiers 4 / 23 Hard Voting Predictions Voting Classifiers 5 / 23 Ensemble of Weak is Strong? Think of a slightly biased coin with 51% chance of heads and 49% of tails. Law of large numbers: as you keep tossing the coin, assuming every toss is independent of others, the ratio of heads gets closer and closer to the probability of heads 51%. Voting Classifiers 6 / 23 Ensemble of Weak is Strong? Eventually, all 10 series end up consistently above 50%. As a result, the 10,000 tosses as a whole will output heads with close to 100% chance! Even for an ensemble of 1000 classifiers, each correct 51% of the time, using hard voting it can be of up to 75% accuracy. Scikit-Learn: from sklearn.ensemble import VotingClassifier Voting Classifiers 7 / 23 Soft Voting Predictions If the classifiers in the ensemble have class probabilities, we may use soft voting to aggregate.
    [Show full text]
  • Ensemble Learning
    Ensemble Learning Ronald J. Williams CSG220, Spring 2007 Main General Idea • Train several learners (called base learners) L1, L2, ..., Lm to produce different hypotheses h1, h2, ..., hm. • Given a test input x, combine each of these hypotheses h1(x), h2(x), ..., hm(x) in some way. • If the individual hypotheses are different from each other in some way, then the hope is that the overall result is more reliable than that given by any individual hypothesis. CSG220: Machine Learning Ensemble Learning: Slide 2 1 Combining Multiple Hypotheses • One common way to combine hypotheses – weighted “voting”: ⎛ m ⎞ f (x) = σ ⎜∑αihi (x)⎟ ⎝ i=1 ⎠ • Possibilities for σ: • sgn function (for classification) • identity function (for regression) • Possibilities for voting weights α i : • all equal •varying with i, depending on “confidence” • each a function of input x CSG220: Machine Learning Ensemble Learning: Slide 3 Two Different Potential Benefits of an Ensemble • As a way to produce more reliable predictions than any of the individual base learners • As a way to expand the hypothesis class: e.g., hypotheses of the form ⎛ m ⎞ f (x) = σ ⎜∑αihi (x)⎟ ⎝ i=1 ⎠ may be more general than any of the component hypotheses h1, h2, ..., hm. CSG220: Machine Learning Ensemble Learning: Slide 4 2 Expanding the hypothesis class • Suppose our component hypotheses are linear separators in a 2-dimensional space. •Let x = (x1, x2), and consider these three linear separators: h1(x) = sgn(x1 –x2 -0.5) h2(x) = sgn(-x1 + x2 + 0.5) h3(x) = 1 • Then sgn(h1(x)+h2(x)+h3(x)) computes a simple majority classification, and implements the XOR function.
    [Show full text]
  • An Active Learning Approach for Ensemble-Based Data Stream Mining
    An Active Learning Approach for Ensemble-based Data Stream Mining Rabaa Alabdulrahman1, Herna Viktor1 and Eric Paquet1,2 1School of Electrical Engineering and Computer Science, University of Ottawa, Ottawa, Canada 2National Research Council of Canada, Ottawa, Canada Keywords: Online Learning, Data Streams, Active Ensemble Learning. Oracle. Abstract: Data streams, where an instance is only seen once and where a limited amount of data can be buffered for processing at a later time, are omnipresent in today’s real-world applications. In this context, adaptive online ensembles that are able to learn incrementally have been developed. However, the issue of handling data that arrives asynchronously has not received enough attention. Often, the true class label arrives after with a time-lag, which is problematic for existing adaptive learning techniques. It is not realistic to require that all class labels be made available at training time. This issue is further complicated by the presence of late-arriving, slowly changing dimensions (i.e., late-arriving descriptive attributes). The aim of active learning is to construct accurate models when few labels are available. Thus, active learning has been proposed as a way to obtain such missing labels in a data stream classification setting. To this end, this paper introduces an active online ensemble (AOE) algorithm that extends online ensembles with an active learning component. Our experimental results demonstrate that our AOE algorithm builds accurate models against much smaller ensemble sizes, when compared to traditional ensemble learning algorithms. Further, our models are constructed against small, incremental data sets, thus reducing the number of examples that are required to build accurate ensembles.
    [Show full text]
  • Bootstrap Aggregating and Random Forest
    Bootstrap Aggregating and Random Forest Tae-Hwy Lee, Aman Ullah and Ran Wang Abstract Bootstrap Aggregating (Bagging) is an ensemble technique for improving the robustness of forecasts. Random Forest is a successful method based on Bagging and Decision Trees. In this chapter, we explore Bagging, Random Forest, and their variants in various aspects of theory and practice. We also discuss applications based on these methods in economic forecasting and inference. 1 Introduction The last 30 years witnessed the dramatic developments and applications of Bag- ging and Random Forests. The core idea of Bagging is model averaging. Instead of choosing one estimator, Bagging considers a set of estimators trained on the boot- strap samples and then takes the average output of them, which is helpful in improv- ing the robustness of an estimator. In Random Forest, we grow a set of Decision Trees to construct a ‘forest’ to balance the accuracy and robustness for forecasting. This chapter is organized as follows. First, we introduce Bagging and some vari- ants. Second, we discuss Decision Trees in details. Then, we move to Random Forest which is one of the most attractive machine learning algorithms combining Decision Trees and Bagging. Finally, several economic applications of Bagging and Random Forest are discussed. As we mainly focus on the regression problems rather than classification problems, the response y is a real number, unless otherwise mentioned. Tae-Hwy Lee Department of Economics, University of California, Riverside, e-mail: [email protected] Aman Ullah Department of Economics, University of California, Riverside, e-mail: [email protected] Ran Wang Department of Economics, University of California, Riverside, e-mail: ran.wang@email.
    [Show full text]
  • Visual Integration of Data and Model Space in Ensemble Learning
    Visual Integration of Data and Model Space in Ensemble Learning Bruno Schneider* Dominik Jackle¨ † Florian Stoffel‡ Alexandra Diehl§ Johannes Fuchs¶ Daniel Keim|| University of Konstanz, Germany Figure 1: Overview of our tool for exploring ensembles of classifiers. The user can select regions of the classification outputs (1), see how the ensemble classified these regions (2), interact with a preloaded collection of models adding or removing them to update the ensemble (3), and track the performance while interacting with the models (4). ABSTRACT 1INTRODUCTION Ensembles of classifier models typically deliver superior perfor- Given a set of known categories (classes), Classification is defined mance and can outperform single classifier models given a dataset as the process of identifying to which category a new observation be- and classification task at hand. However, the gain in performance longs. In the context of machine learning, classification is performed comes together with the lack in comprehensibility, posing a chal- on the basis of a training set that contains observations whose cate- lenge to understand how each model affects the classification outputs gories are known. A key challenge in classification is to improve the and where the errors come from. We propose a tight visual integra- performance of the classifiers, hence new observations are correctly tion of the data and the model space for exploring and combining assigned to a category. Classification can be performed with a variety classifier models. We introduce a workflow that builds upon the vi- of different methods tailored to the data or the task at hand. Exam- sual integration and enables the effective exploration of classification ples include, among others, decision trees, support vector machines, outputs and models.
    [Show full text]
  • A Survey of Forex and Stock Price Prediction Using Deep Learning
    Review A Survey of Forex and Stock Price Prediction Using Deep Learning Zexin Hu †, Yiqi Zhao † and Matloob Khushi * School of Computer Science, The University of Sydney, Building J12/1 Cleveland St., Camperdown, NSW 2006, Australia; [email protected] (Z.H.); [email protected] (Y.Z.) * Correspondence: [email protected] † The authors contributed equally; both authors should be considered the first author. Abstract: Predictions of stock and foreign exchange (Forex) have always been a hot and profitable area of study. Deep learning applications have been proven to yield better accuracy and return in the field of financial prediction and forecasting. In this survey, we selected papers from the Digital Bibliography & Library Project (DBLP) database for comparison and analysis. We classified papers according to different deep learning methods, which included Convolutional neural network (CNN); Long Short-Term Memory (LSTM); Deep neural network (DNN); Recurrent Neural Network (RNN); Reinforcement Learning; and other deep learning methods such as Hybrid Attention Networks (HAN), self-paced learning mechanism (NLP), and Wavenet. Furthermore, this paper reviews the dataset, variable, model, and results of each article. The survey used presents the results through the most used performance metrics: Root Mean Square Error (RMSE), Mean Absolute Percentage Error (MAPE), Mean Absolute Error (MAE), Mean Square Error (MSE), accuracy, Sharpe ratio, and return rate. We identified that recent models combining LSTM with other methods, for example, DNN, are widely researched. Reinforcement learning and other deep learning methods yielded great returns and performances. We conclude that, in recent years, the trend of using deep-learning-based methods for financial modeling is rising exponentially.
    [Show full text]
  • Outline of Machine Learning
    Outline of machine learning The following outline is provided as an overview of and topical guide to machine learning: Machine learning – subfield of computer science[1] (more particularly soft computing) that evolved from the study of pattern recognition and computational learning theory in artificial intelligence.[1] In 1959, Arthur Samuel defined machine learning as a "Field of study that gives computers the ability to learn without being explicitly programmed".[2] Machine learning explores the study and construction of algorithms that can learn from and make predictions on data.[3] Such algorithms operate by building a model from an example training set of input observations in order to make data-driven predictions or decisions expressed as outputs, rather than following strictly static program instructions. Contents What type of thing is machine learning? Branches of machine learning Subfields of machine learning Cross-disciplinary fields involving machine learning Applications of machine learning Machine learning hardware Machine learning tools Machine learning frameworks Machine learning libraries Machine learning algorithms Machine learning methods Dimensionality reduction Ensemble learning Meta learning Reinforcement learning Supervised learning Unsupervised learning Semi-supervised learning Deep learning Other machine learning methods and problems Machine learning research History of machine learning Machine learning projects Machine learning organizations Machine learning conferences and workshops Machine learning publications
    [Show full text]