Exposing and Fixing Causes of Inconsistency and Nondeterminism in Clustering Implementations
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
Robustbase: Basic Robust Statistics
Package ‘robustbase’ June 2, 2021 Version 0.93-8 VersionNote Released 0.93-7 on 2021-01-04 to CRAN Date 2021-06-01 Title Basic Robust Statistics URL http://robustbase.r-forge.r-project.org/ Description ``Essential'' Robust Statistics. Tools allowing to analyze data with robust methods. This includes regression methodology including model selections and multivariate statistics where we strive to cover the book ``Robust Statistics, Theory and Methods'' by 'Maronna, Martin and Yohai'; Wiley 2006. Depends R (>= 3.5.0) Imports stats, graphics, utils, methods, DEoptimR Suggests grid, MASS, lattice, boot, cluster, Matrix, robust, fit.models, MPV, xtable, ggplot2, GGally, RColorBrewer, reshape2, sfsmisc, catdata, doParallel, foreach, skewt SuggestsNote mostly only because of vignette graphics and simulation Enhances robustX, rrcov, matrixStats, quantreg, Hmisc EnhancesNote linked to in man/*.Rd LazyData yes NeedsCompilation yes License GPL (>= 2) Author Martin Maechler [aut, cre] (<https://orcid.org/0000-0002-8685-9910>), Peter Rousseeuw [ctb] (Qn and Sn), Christophe Croux [ctb] (Qn and Sn), Valentin Todorov [aut] (most robust Cov), Andreas Ruckstuhl [aut] (nlrob, anova, glmrob), Matias Salibian-Barrera [aut] (lmrob orig.), Tobias Verbeke [ctb, fnd] (mc, adjbox), Manuel Koller [aut] (mc, lmrob, psi-func.), Eduardo L. T. Conceicao [aut] (MM-, tau-, CM-, and MTL- nlrob), Maria Anna di Palma [ctb] (initial version of Comedian) 1 2 R topics documented: Maintainer Martin Maechler <[email protected]> Repository CRAN Date/Publication 2021-06-02 10:20:02 UTC R topics documented: adjbox . .4 adjboxStats . .7 adjOutlyingness . .9 aircraft . 12 airmay . 13 alcohol . 14 ambientNOxCH . 15 Animals2 . 18 anova.glmrob . 19 anova.lmrob . -
A Practical Guide to Support Predictive Tasks in Data Science
A Practical Guide to Support Predictive Tasks in Data Science Jose´ Augusto Camaraˆ Filho1, Jose´ Maria Monteiro1,Cesar´ Lincoln Mattos1 and Juvencioˆ Santos Nobre2 1Department of Computing, Federal University of Ceara,´ Fortaleza, Ceara,´ Brazil 2Department of Statistics and Applied Mathematics, Federal University of Ceara,´ Fortaleza, Ceara,´ Brazil Keywords: Practical Guide, Prediction, Data Science. Abstract: Currently, professionals from the most diverse areas of knowledge need to explore their data repositories in order to extract knowledge and create new products or services. Several tools have been proposed in order to facilitate the tasks involved in the Data Science lifecycle. However, such tools require their users to have specific (and deep) knowledge in different areas of Computing and Statistics, making their use practically unfeasible for non-specialist professionals in data science. In this paper, we propose a guideline to support predictive tasks in data science. In addition to being useful for non-experts in Data Science, the proposed guideline can support data scientists, data engineers or programmers which are starting to deal with predic- tive tasks. Besides, we present a tool, called DSAdvisor, which follows the stages of the proposed guideline. DSAdvisor aims to encourage non-expert users to build machine learning models to solve predictive tasks, ex- tracting knowledge from their own data repositories. More specifically, DSAdvisor guides these professionals in predictive tasks involving regression and classification. 1 INTRODUCTION dict the future, and create new services and prod- ucts (Ozdemir, 2016). Data science makes it pos- Due to a large amount of data currently available, sible to identifying patterns hidden and obtain new arises the need for professionals of different areas to insights hidden in these datasets, from complex ma- extract knowledge from their repositories to create chine learning algorithms. -
Detecting Outliers in Weighted Univariate Survey Data
Detecting outliers in weighted univariate survey data Anna Pauliina Sandqvist∗ October 27, 2015 Preliminary Version Abstract Outliers and influential observations are a frequent concern in all kind of statistics, data analysis and survey data. Especially, if the data is asymmetrically distributed or heavy- tailed, outlier detection turns out to be difficult as most of the already introduced methods are not optimal in this case. In this paper we examine various non-parametric outlier detec- tion approaches for (size-)weighted growth rates from quantitative surveys and propose new respectively modified methods which can account better for skewed and long-tailed data. We apply empirical influence functions to compare these methods under different data spec- ifications. JEL Classification: C14 Keywords: Outlier detection, influential observation, size-weight, periodic surveys 1 Introduction Outliers are usually considered to be extreme values which are far away from the other data points (see, e.g., Barnett and Lewis (1994)). Chambers (1986) was first to differentiate between representative and non-representative outliers. The former are observations with correct values and are not considered to be unique, whereas non-representative outliers are elements with incorrect values or are for some other reasons considered to be unique. Most of the outlier analysis focuses on the representative outliers as non-representatives values should be taken care of already in (survey) data editing. The main reason to be concerned about the possible outliers is, that whether or not they are included into the sample, the estimates might differ considerably. The data points with substantial influence on the estimates are called influential observations and they should be ∗Authors address: KOF Swiss Economic Institute, ETH Zurich, Leonhardstrasse 21 LEE, CH-8092 Zurich, Switzerland. -
Outlier Detection
OUTLIER DETECTION Short Course Session 1 Nedret BILLOR Auburn University Department of Mathematics & Statistics, USA Statistics Conference, Colombia, Aug 8‐12, 2016 OUTLINE Motivation and Introduction Approaches to Outlier Detection Sensitivity of Statistical Methods to Outliers Statistical Methods for Outlier Detection Outliers in Univariate data Outliers in Multivariate Classical and Robust Statistical Distance‐ based Methods PCA based Outlier Detection Outliers in Functional Data MOTIVATION & INTRODUCTION Hadlum vs. Hadlum (1949) [Barnett 1978] Ozone Hole Case I: Hadlum vs. Hadlum (1949) [Barnett 1978] The birth of a child to Mrs. Hadlum happened 349 days after Mr. Hadlum left for military service. Average human gestation period is 280 days (40 weeks). Statistically, 349 days is an outlier. Case I: Hadlum vs. Hadlum (1949) [Barnett 1978] − blue: statistical basis (13634 observations of gestation periods) − green: assumed underlying Gaussian process − Very low probability for the birth of Mrs. Hadlums child for being generated by this process − red: assumption of Mr. Hadlum (another Gaussian process responsible for the observed birth, where the gestation period responsible) − Under this assumption the gestation period has an average duration and highest‐possible probability Case II: The Antarctic Ozone Hole The History behind the Ozone Hole • The Earth's ozone layer protects all life from the sun's harmful radiation. Case II: The Antarctic Ozone Hole (cont.) . Human activities (e.g. CFS's in aerosols) have damaged this shield. Less protection from ultraviolet light will, over time, lead to higher skin cancer and cataract rates and crop damage. Case II: The Antarctic Ozone Hole (cont.) Molina and Rowland in 1974 (lab study) and many studies after this, demonstrated the ability of CFC's (Chlorofluorocarbons) to breakdown Ozone in the presence of high frequency UV light . -
Mining Software Engineering Data for Useful Knowledge Boris Baldassari
Mining Software Engineering Data for Useful Knowledge Boris Baldassari To cite this version: Boris Baldassari. Mining Software Engineering Data for Useful Knowledge. Machine Learning [stat.ML]. Université de Lille, 2014. English. tel-01297400 HAL Id: tel-01297400 https://tel.archives-ouvertes.fr/tel-01297400 Submitted on 4 Apr 2016 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. École doctorale Sciences Pour l’Ingénieur THÈSE présentée en vue d’obtenir le grade de Docteur, spécialité Informatique par Boris Baldassari Mining Software Engineering Data for Useful Knowledge preparée dans l’équipe-projet SequeL commune Soutenue publiquement le 1er Juillet 2014 devant le jury composé de : Philippe Preux, Professeur des universités - Université de Lille 3 - Directeur Benoit Baudry, Chargé de recherche INRIA - INRIA Rennes - Rapporteur Laurence Duchien, Professeur des universités - Université de Lille 1 - Examinateur Flavien Huynh, Ingénieur Docteur - Squoring Technologies - Examinateur Pascale Kuntz, Professeur des universités - Polytech’ Nantes - Rapporteur Martin Monperrus, Maître de conférences - Université de Lille 1 - Examinateur 2 Preface Maisqual is a recursive acronym standing for “Maisqual Automagically Improves Software QUALity”. It may sound naive or pedantic at first sight, but it clearly stated at one time the expectations of Maisqual. -
Building a Classification Model Using Affinity Propagation
Georgia Southern University Digital Commons@Georgia Southern Electronic Theses and Dissertations Graduate Studies, Jack N. Averitt College of Spring 2019 Building A Classification Model Using ffinityA Propagation Christopher R. Klecker Follow this and additional works at: https://digitalcommons.georgiasouthern.edu/etd Part of the Other Computer Engineering Commons Recommended Citation Klecker, Christopher R., "Building A Classification Model Using ffinityA Propagation" (2019). Electronic Theses and Dissertations. 1917. https://digitalcommons.georgiasouthern.edu/etd/1917 This thesis (open access) is brought to you for free and open access by the Graduate Studies, Jack N. Averitt College of at Digital Commons@Georgia Southern. It has been accepted for inclusion in Electronic Theses and Dissertations by an authorized administrator of Digital Commons@Georgia Southern. For more information, please contact [email protected]. BUILDING A CLASSIFICATION MODEL USING AFFINITY PROPAGATION by CHRISTOPHER KLECKER (Under the Direction of Ashraf Saad) ABSTRACT Regular classification of data includes a training set and test set. For example for Naïve Bayes, Artificial Neural Networks, and Support Vector Machines, each classifier employs the whole training set to train itself. This thesis will explore the possibility of using a condensed form of the training set in order to get a comparable classification accuracy. The technique explored in this thesis will use a clustering algorithm to explore which data records can be labeled as exemplar, or a quality of multiple records. For example, is it possible to compress say 50 records into one single record? Can a single record represent all 50 records and train a classifier similarly? This thesis aims to explore the idea of what can label a data record as exemplar, what are the concepts that extract the qualities of a dataset, and how to check the information gain of one set of compressed data over another set of compressed data. -
Robust Statistics Part 1: Introduction and Univariate Data General References
Robust Statistics Part 1: Introduction and univariate data Peter Rousseeuw LARS-IASC School, May 2019 Peter Rousseeuw Robust Statistics, Part 1: Univariate data LARS-IASC School, May 2019 p. 1 General references General references Hampel, F.R., Ronchetti, E.M., Rousseeuw, P.J., Stahel, W.A. Robust Statistics: the Approach based on Influence Functions. Wiley Series in Probability and Mathematical Statistics. Wiley, John Wiley and Sons, New York, 1986. Rousseeuw, P.J., Leroy, A. Robust Regression and Outlier Detection. Wiley Series in Probability and Mathematical Statistics. John Wiley and Sons, New York, 1987. Maronna, R.A., Martin, R.D., Yohai, V.J. Robust Statistics: Theory and Methods. Wiley Series in Probability and Statistics. John Wiley and Sons, Chichester, 2006. Hubert, M., Rousseeuw, P.J., Van Aelst, S. (2008), High-breakdown robust multivariate methods, Statistical Science, 23, 92–119. wis.kuleuven.be/stat/robust Peter Rousseeuw Robust Statistics, Part 1: Univariate data LARS-IASC School, May 2019 p. 2 General references Outline of the course General notions of robustness Robustness for univariate data Multivariate location and scatter Linear regression Principal component analysis Advanced topics Peter Rousseeuw Robust Statistics, Part 1: Univariate data LARS-IASC School, May 2019 p. 3 General notions of robustness General notions of robustness: Outline 1 Introduction: outliers and their effect on classical estimators 2 Measures of robustness: breakdown value, sensitivity curve, influence function, gross-error sensitivity, maxbias curve. Peter Rousseeuw Robust Statistics, Part 1: Univariate data LARS-IASC School, May 2019 p. 4 General notions of robustness Introduction What is robust statistics? Real data often contain outliers. -
Unsupervised Anomaly Detection in Receipt Data
DEGREE PROJECT IN COMPUTER SCIENCE AND ENGINEERING, SECOND CYCLE, 30 CREDITS STOCKHOLM, SWEDEN 2017 Unsupervised Anomaly Detection in Receipt Data ANDREAS FORSTÉN KTH ROYAL INSTITUTE OF TECHNOLOGY SCHOOL OF COMPUTER SCIENCE AND COMMUNICATION Unsupervised anomaly detection in receipt data ANDREAS FORSTÉN Master in Computer Science Date: September 17, 2017 Supervisor: Professor Örjan Ekeberg Examiner: Associate Professor Mårten Björkman Swedish title: Oövervakad anomalidetektion i kvittodata School of Computer Science and Communication iii Abstract With the progress of data handling methods and computing power comes the possibility of automating tasks that are not necessarily han- dled by humans. This study was done in cooperation with a company that digitalizes receipts for companies. We investigate the possibility of automating the task of finding anomalous receipt data, which could automate the work of receipt auditors. We study both anomalous user behaviour and individual receipts. The results indicate that automa- tion is possible, which may reduce the necessity of human inspection of receipts. Keywords: Anomaly detection, receipt, receipt digitalization, au- tomatization iv Sammanfattning Med de framsteg inom datahantering och datorkraft som gjorts så kommer också möjligheten att automatisera uppgifter som ej nödvän- digtvis utförs av människor. Denna studie gjordes i samarbete med ett företag som digitaliserar företags kvitton. Vi undersöker möjligheten att automatisera sökandet av avvikande kvittodata, vilket kan avlas- ta revisorer. Vti studerar både avvikande användarbeteenden och in- dividuella kvitton. Resultaten indikerar att automatisering är möjligt, vilket kan reducera behovet av mänsklig inspektion av kvitton. Nyckelord: Anomalidetektion, kvitto, kvittodigitalisering, automa- tisering Contents 1 Introduction 1 1.1 Problem description . .1 1.2 Ethical considerations . -
A Robust Density-Based Clustering Algorithm for Multi-Manifold Structure
A Robust Density-based Clustering Algorithm for Multi-Manifold Structure Jianpeng Zhang, Mykola Pechenizkiy, Yulong Pei, Julia Efremova Department of Mathematics and Computer Science Eindhoven University of Technology, 5600 MB Eindhoven, the Netherlands {j.zhang.4, m.pechenizkiy, y.pei.1, i.efremova}@tue.nl ABSTRACT ing methods is K-means [8] algorithm. It attempts to cluster In real-world pattern recognition tasks, the data with mul- data by minimizing the distance between cluster centers and tiple manifolds structure is ubiquitous and unpredictable. other data points. However, K-means is known to be sensi- Performing an effective clustering on such data is a challeng- tive to the selection of the initial cluster centers and is easy ing problem. In particular, it is not obvious how to design to fall into the local optimum. K-means is also not good a similarity measure for multiple manifolds. In this paper, at detecting non-spherical clusters which has poor ability to we address this problem proposing a new manifold distance represent the manifold structure. Another clustering algo- measure, which can better capture both local and global s- rithm is Affinity propagation (AP) [6]. It does not require to patial manifold information. We define a new way of local specify the initial cluster centers and the number of clusters density estimation accounting for the density characteristic. but the AP algorithm is not suitable for the datasets with ar- It represents local density more accurately. Meanwhile, it is bitrary shape or multiple scales. Other density-based meth- less sensitive to the parameter settings. Besides, in order to ods, such as DBSCAN [5], are able to detect non-spherical select the cluster centers automatically, a two-phase exem- clusters using a predefined density threshold. -
Package 'Robustbase'
Package ‘robustbase’ March 6, 2013 Version 0.9-7 Date 2012-03-06 Title Basic Robust Statistics Author Original code by many authors, notably Peter Rousseeuw and Christophe Croux, see file ’Copyrights’; Valentin Todorov <[email protected]>, Andreas Ruckstuhl <[email protected]>, Matias Salibian-Barrera <[email protected]>, Tobias Verbeke <[email protected]>, Manuel Koller <[email protected]>, Martin Maechler Maintainer Martin Maechler <[email protected]> URL http://robustbase.r-forge.r-project.org/ Description ‘‘Essential’’ Robust Statistics. The goal is to provide tools allowing to analyze data with robust methods. This includes regression methodology including model selections and multivariate statistics where we strive to cover the book ‘‘Robust Statistics, Theory and Methods’’ by Maronna, Martin and Yohai; Wiley 2006. Depends R (>= 2.15.1), stats, graphics, methods Imports stats, graphics, utils Suggests grid, MASS, lattice, boot, cluster, Matrix, MPV, xtable,ggplot2, RColorBrewer, reshape2, sfsmisc LazyData yes License GPL (>= 2) NeedsCompilation yes Repository CRAN Date/Publication 2013-03-06 15:19:29 1 2 R topics documented: R topics documented: adjbox . .4 adjboxStats . .7 adjOutlyingness . .8 aircraft . 10 airmay . 11 alcohol . 12 ambientNOxCH . 13 Animals2 . 16 anova.glmrob . 17 anova.lmrob . 19 bushfire . 21 carrots . 22 chgDefaults-methods . 23 cloud . 23 coleman . 24 condroz . 25 covMcd . 26 covOGK . 28 CrohnD . 31 cushny . 32 delivery . 33 education . 34 epilepsy . 35 exAM............................................ 36 functionX-class . 37 functionXal-class . 38 glmrob . 38 glmrobMqle.control . 43 h.alpha.n . 44 hbk ............................................. 45 heart . 46 huberM . 47 kootenay . 48 lactic . 50 lmrob . 50 lmrob..D..fit . 54 lmrob..M..fit . -
Density-Based Algorithms for Active and Anytime Clustering
Density-based Algorithms for Active and Anytime Clustering Mai Thai Son M¨unchen2014 Density-based Algorithms for Active and Anytime Clustering Mai Thai Son Dissertation an der Fakult¨atF¨urMathematik, Informatik und Statistik, Institut F¨urInformatik der Ludwig{Maximilians{Universit¨at M¨unchen vorgelegt von Mai Thai Son aus Vietnam M¨unchen, den 09 Sep 2013 Erstgutachter: Prof. Dr. Christian B¨ohm Zweitgutachter: Prof. Dr. Xiaowei Xu Tag der m¨undlichen Pr¨ufung:26 Sep 2014 Abstract Data intensive applications like biology, medicine, and neuroscience require effec- tive and efficient data mining technologies. Advanced data acquisition methods produce a constantly increasing volume and complexity. As a consequence, the need of new data mining technologies to deal with complex data has emerged dur- ing the last decades. In this thesis, we focus on the data mining task of clustering in which objects are separated in different groups (clusters) such that objects in- side a cluster are more similar than objects in different clusters. Particularly, we consider density-based clustering algorithms and their applications in biomedicine. The core idea of the density-based clustering algorithm DBSCAN is that each object within a cluster must have a certain number of other objects inside its neighborhood. Compared with other clustering algorithms, DBSCAN has many attractive benefits, e.g., it can detect clusters with arbitrary shape and is robust to outliers, etc. Thus, DBSCAN has attracted a lot of research interest during the last decades with many extensions and applications. In the first part of this thesis, we aim at developing new algorithms based on the DBSCAN paradigm to deal with the new challenges of complex data, particularly expensive distance measures and incomplete availability of the distance matrix. -
Statistically Rigorous Testing of Clustering Implementations
Statistically Rigorous Testing of Clustering Implementations Xin Yin Vincenzo Musco Iulian Neamtiu Usman Roshan Department of Computer Science New Jersey Institute of Technology Newark, NJ, USA fxy258, vincenzo.a.musco, ineamtiu, [email protected] Abstract—Clustering is a widely used AI technique, but defin- propose an approach that can expose substantial and system- ing clustering correctness, as well as verifying and validating clus- atic issues with clustering algorithms’ actual implementations, tering implementations, remains a challenge. To address this, we e.g., wide variations across runs for theoretically-stable, deter- propose a statistically rigorous approach that couples differential clustering with statistical hypothesis testing, namely we conduct ministic algorithms, widely different outcomes for different statistical hypothesis testing on the outcome (distribution) of implementations of the same algorithm, or consistently poor differential clustering to reveal problematic outcomes. performance in specific implementations. We employed this approach on widely-used clustering algo- Our approach leverages the wide availability of clustering rithms implemented in popular ML toolkits; the toolkits were implementations and datasets with ground truth, coupled with tasked with clustering datasets from the Penn Machine Learning a statistics-driven approach to help developers (or toolkit Benchmark. The results indicate that there are statistically signif- icant differences in clustering outcomes in a variety of scenarios testers) find statistically