Open Access. Powered by Scholars. Published by Universities.®

Programming Languages and Compilers Commons™

Open Access. Powered by Scholars. Published by Universities.®

1,853 Full-Text Articles 3,371 Authors 797,974 Downloads 137 Institutions

All Articles in Programming Languages and Compilers

Faceted Search

1,853 full-text articles. Page 50 of 79.

The Noisefiltersr Package: Label Noise Preprocessing In R, Pablo Morales, Julián Luengo, Luís P.F. Garcia, Ana C. Lorena, André C.P.L.F. de Carvalho 2017 University of Granada

The Noisefiltersr Package: Label Noise Preprocessing In R, Pablo Morales, Julián Luengo, Luís P.F. Garcia, Ana C. Lorena, André C.P.L.F. De Carvalho

The R Journal

In Data Mining, the value of extracted knowledge is directly related to the quality of the used data. This makes data preprocessing one of the most important steps in the knowledge discovery process. A common problem affecting data quality is the presence of noise. A training set with label noise can reduce the predictive performance of classification learning techniques and increase the overfitting of classification models. In this work we present the NoiseFiltersR package. It contains the first extensive R implementation of classical and state-of-the-art label noise filters, which are the most common techniques for preprocessing label noise. The algorithms …


Hosting Data Packages Via Drat: A Case Study With Hurricane Exposure Data, G Brooke Anderson, Dirk Eddelbuettel 2017 Colorado State University

Hosting Data Packages Via Drat: A Case Study With Hurricane Exposure Data, G Brooke Anderson, Dirk Eddelbuettel

The R Journal

Data-only packages offer a way to provide extended functionality for other R users. However, such packages can be large enough to exceed the package size limit (5 megabytes) for the Comprehensive R Archive Network (CRAN). As an alternative, large data packages can be posted to additional repostiories beyond CRAN itself in a way that allows smaller code packages on CRAN to access and use the data. The drat package facilitates creation and use of such alternative repositories and makes it particularly simple to host them via GitHub. CRAN packages can draw on packages posted to drat repositories through the use …


Milr: Multiple-Instance Logistic Regression With Lasso Penalty, Ping-Yang Chen, Ching-Chuan Chen, Chun-Hao Yang, Sheng-Mao Chang, Kuo-Jung Lee 2017 National Cheng Kung University

Milr: Multiple-Instance Logistic Regression With Lasso Penalty, Ping-Yang Chen, Ching-Chuan Chen, Chun-Hao Yang, Sheng-Mao Chang, Kuo-Jung Lee

The R Journal

The purpose of the milr package is to analyze multiple-instance data. Ordinary multiple instance data consists of many independent bags, and each bag is composed of several instances. The statuses of bags and instances are binary. Moreover, the statuses of instances are not observed, whereas the statuses of bags are observed. The functions in this package are applicable for analyzing multiple-instance data, simulating data via logistic regression, and selecting important covariates in the regression model. To this end, maximum likelihood estimation with an expectation-maximization algorithm is implemented for model estimation, and a lasso penalty added to the likelihood function is …


Autoimage: Multiple Heat Maps For Projected Coordinates, Joshua P. French 2017 University of Colorado Denver

Autoimage: Multiple Heat Maps For Projected Coordinates, Joshua P. French

The R Journal

Heat maps are commonly used to display the spatial distribution of a response observed on a two-dimensional grid. The autoimage package provides convenient functions for constructing multiple heat maps in unified, seamless way, particularly when working with projected coordinates. The autoimage package natively supports: 1. automatic inclusion of a color scale with the plotted image, 2. construction of heat maps for responses observed on regular or irregular grids, as well as non-gridded data, 3. construction of a matrix of heat maps with a common color scale, 4. construction of a matrix of heat maps with individual color scales, 5. projecting …


Imputets: Time Series Missing Value Imputation In R, Steffen Moritz, Thomas Bartz-Beielstein 2017 Cologne University of Applied Sciences

Imputets: Time Series Missing Value Imputation In R, Steffen Moritz, Thomas Bartz-Beielstein

The R Journal

The imputeTS package specializes on univariate time series imputation. It offers multiple state-of-the-art imputation algorithm implementations along with plotting functions for time series missing data statistics. While imputation in general is a well-known problem and widely covered by R packages, finding packages able to fill missing values in univariate time series is more complicated. The reason for this lies in the fact, that most imputation algorithms rely on inter-attribute correlations, while univariate time series imputation instead needs to employ time dependencies. This paper provides an introduction to the imputeTS package and its provided algorithms and tools. Furthermore, it gives a …


On Some Extensions To Ga Package: Hybrid Optimisation, Parallelisation And Islands Evolution, Luca Scrucca 2017 Università degli Studi di Perugia

On Some Extensions To Ga Package: Hybrid Optimisation, Parallelisation And Islands Evolution, Luca Scrucca

The R Journal

Genetic algorithms are stochastic iterative algorithms in which a population of individuals evolve by emulating the process of biological evolution and natural selection. The R package GA provides a collection of general purpose functions for optimisation using genetic algorithms. This paper describes some enhancements recently introduced in version 3 of the package. In particular, hybrid GAs have been implemented by including the option to perform local searches during the evolution. This allows to combine the power of genetic algorithms with the speed of a local optimiser. Another major improvement is the provision of facilities for parallel computing. Parallelisation has been …


Dgaselid: An R Package For Selecting A Variable Number Of Features In High Dimensional Data, Nicolae Teodor Melita, Stefan Holban 2017 Politehnica University of Timisoara

Dgaselid: An R Package For Selecting A Variable Number Of Features In High Dimensional Data, Nicolae Teodor Melita, Stefan Holban

The R Journal

The dGAselID package proposes an original approach to feature selection in high dimensional data. The method is built upon a diploid genetic algorithm. The genotype to phenotype mapping is modeled after the Incomplete Dominance Inheritance, over passing the necessity to define a dominance scheme. The fitness evaluation is done by user selectable supervised classifiers, from a broad range of options. Cross validation options are also accessible. A new approach to crossover, inspired from the random assortment of chromosomes during meiosis is included. Several mutation operators, inspired from genetics, are also proposed. The package is fully compatible with the data formats …


Orthopanels: An R Package For Estimating A Dynamic Panel Model With Fixed Effects Using The Orthogonal Reparameterization Approach, Mark Pickup, Paul Gustafson, Davor Cubranic, Geoffrey Evans 2017 Simon Fraser University

Orthopanels: An R Package For Estimating A Dynamic Panel Model With Fixed Effects Using The Orthogonal Reparameterization Approach, Mark Pickup, Paul Gustafson, Davor Cubranic, Geoffrey Evans

The R Journal

This article describes the R package OrthoPanels, which includes the function opm(). This function implements the orthogonal reparameterization approach recommended by Lancaster(2002) to estimate dynamic panel models with fixed effects(and optionally: wave specific intercepts). This article provides a statistical description of the orthogonal reparameterization approach, a demonstration of the package using real-world data, and simulations comparing the estimator to the known-to-be-biased OLSestimator and the commonly used GMM estimator.


Editorial, Roger Bivand 2017 R Project

Editorial, Roger Bivand

The R Journal

This new issue, Volume 9, Issue 1, of the R Journal contains 33 contributed research articles, like the second issue of 2016. Most of the articles present R packages, and cover a very wide range of uses of R. Our journal continues to be critically dependent on its readers, authors, reviewers and editors. Annual submission numbers have grown markedly, but the rate of growth is less than that of the number of CRAN packages. Table 1 shows the outcomes of submitted contributed articles by year of submission. The proportion of submissions reaching publication has been roughly half since 2012.


The Mosaic Package: Helping Students To Think With Data Using R, Randall Pruim, Daniel T. Kaplan, Nicholas J. Horton 2017 Calvin College

The Mosaic Package: Helping Students To Think With Data Using R, Randall Pruim, Daniel T. Kaplan, Nicholas J. Horton

The R Journal

The mosaic package provides a simplified and systematic introduction to the core functional ity related to descriptive statistics, visualization, modeling, and simulation-based inference required in first and second courses in statistics. This introduction to the package describes some of the guiding principles behind the design of the package and provides illustrative examples of several of the most important functions it implements. These can be combined to help students “think with data" using R in their early course work, starting with simple, yet powerful, declarative commands.


Multilabel Classification With R Package Mlr, Philipp Probst, Quay Au, Giuseppe Casalicchio, Clemens Stachl, Bernd Bischl 2017 LMUMunich

Multilabel Classification With R Package Mlr, Philipp Probst, Quay Au, Giuseppe Casalicchio, Clemens Stachl, Bernd Bischl

The R Journal

We implemented several multilabel classification algorithms in the machine learning package mlr. The implemented methods are binary relevance, classifier chains, nested stacking, dependent binary relevance and stacking, which can be used with any base learner that is accessible in mlr. Moreover, there is access to the multilabel classification versions of random ForestSRC and rFerns. All these methods can be easily compared by different implemented multilabel performance measures and resampling methods in the standardized mlr framework. In a benchmark experiment with several multilabel datasets, the performance of the different methods is evaluated.


Weighted Effect Coding For Observational Data With Wec, Rense Nieuwenhuis, Manfred te Grotenhuis, Ben Pelzer 2017 Stockholm University

Weighted Effect Coding For Observational Data With Wec, Rense Nieuwenhuis, Manfred Te Grotenhuis, Ben Pelzer

The R Journal

Weighted effect coding refers to a specific coding matrix to include factor variables in generalised linear regression models. With weighted effect coding, the effect for each category represents the deviation of that category from the weighted mean (which corresponds to the sample mean). This technique has particularly attractive properties when analysing observational data, that commonly are unbalanced. The wec package is introduced, that provides functions to apply weighted effect coding to factor variables, and to interactions between (a.) a factor variable and a continuous variable and between (b.) two factor variables.


Pdp: An R Package For Constructing Partial Dependence Plots, Brandon M. Greenwell 2017 Infoscitex

Pdp: An R Package For Constructing Partial Dependence Plots, Brandon M. Greenwell

The R Journal

Complex nonparametric models—like neural networks, random forests, and support vector machines—are more common than ever in predictive analytics, especially when dealing with large observational databases that don’t adhere to the strict assumptions imposed by traditional statistical techniques (e.g., multiple linear regression which assumes linearity, homoscedasticity, and normality). Unfortunately, it can be challenging to understand the results of such models and explain them to management. Partial dependence plots offer a simple solution. Partial dependence plots are low dimensional graphical renderings of the prediction function so that the relationship between the outcome and predictors of interest can be more easily understood. These …


R Foundation News, Torsten Hothorn 2017 Universität Zürich

R Foundation News, Torsten Hothorn

The R Journal

Donations and members

Donations

Supporting benefactors

Supporting institutions

Supporting members


Checkmate: Fast Argument Checks For Defensive R Programming, Michel Lang 2017 TU Dortmund University

Checkmate: Fast Argument Checks For Defensive R Programming, Michel Lang

The R Journal

Dynamically typed programming languages like R allow programmers to write generic, flexible and concise code and to interact with the language using an interactive Readeval-print-loop (REPL). However, this flexibility has its price: As the R interpreter has no information about the expected variable type, many base functions automatically convert the input instead of raising an exception. Unfortunately, this frequently leads to runtime errors deeper down the call stack which obfuscates the original problem and renders debugging challenging. Even worse, unwanted conversions can remain undetected and skew or invalidate the results of a statistical analysis. As a resort, assertions can be …


Retrieval And Analysis Of Eurostat Open Data With The Eurostat Package, Leo Lahti, Janne Huovari, Markus Kainu, Przemysław Biecek 2017 University of Turku

Retrieval And Analysis Of Eurostat Open Data With The Eurostat Package, Leo Lahti, Janne Huovari, Markus Kainu, Przemysław Biecek

The R Journal

The increasing availability of open statistical data resources is providing novel opportunities for research and citizen science. Efficient algorithmic tools are needed to realize the full potential of the new information resources. We introduce the eurostat R package that provides a collection of custom tools for the Eurostat open data service, including functions to query, download, manipulate, and visualize these data sets in a smooth, automated and reproducible manner. The online documentation provides detailed examples on the analysis of these spatio-temporal data collections. This work provides substantial improvements over the previously available tools, and has been extensively tested by an …


Emsaov: An R Package For The Analysis Of Variance With The Expected Mean Squares And Its Shiny Application, Hye-Min Choe, Mijeong Kim, Eun-Kyung Lee 2017 Ewha Womans University

Emsaov: An R Package For The Analysis Of Variance With The Expected Mean Squares And Its Shiny Application, Hye-Min Choe, Mijeong Kim, Eun-Kyung Lee

The R Journal

EMSaov is a new R package that we developed to provide users with an analysis of variance table including the expected mean squares (EMS) for various types of experimental design. It is not easy to find the appropriate test, particularly the denominator for the F statistic that depends on the EMS, when some variables exhibit random effects or when we use a special experimental design such as nested design, repeated measures design, or split-plot design. With EMSaov, a user can easily f ind the F statistic denominator and can determine how to analyze the data when using a special …


Changes On Cran, Kurt Hornik, Uwe Ligges, Achim Zeileis 2017 WU Wirtschaftsuniversität Wien

Changes On Cran, Kurt Hornik, Uwe Ligges, Achim Zeileis

The R Journal

In the past 4 months, 794 new packages were added to the CRAN package repository. 16 packages were unarchived, 98 archived and 1 removed. The following shows the growth of the number of active packages in the CRAN package repository:


Smoof: Single- And Multi-Objective Optimization Test Functions, Jakob Bossek 2017 University of Munster

Smoof: Single- And Multi-Objective Optimization Test Functions, Jakob Bossek

The R Journal

Benchmarking algorithms for optimization problems usually is carried out by running the algorithms under consideration on a diverse set of benchmark or test functions. A vast variety of test functions was proposed by researchers and is being used for investigations in the literature. The smoof package implements a large set of test functions and test function generators for both the single and multi-objective case in continuous optimization and provides functions to easily create own test functions. Moreover, the package offers some additional helper methods, which can be used in the context of optimization.


Counterfactual: An R Package For Counterfactual Analysis, Mingli Chen, Victor Chernozhukov, Iván Fernández-Val, Blaise Melly 2017 University of Warwick

Counterfactual: An R Package For Counterfactual Analysis, Mingli Chen, Victor Chernozhukov, Iván Fernández-Val, Blaise Melly

The R Journal

The Counterfactual package implements the estimation and inference methods of Cher nozhukov et al. (2013) for counterfactual analysis. The counterfactual distributions considered are the result of changing either the marginal distribution of covariates related to the outcome variable of interest, or the conditional distribution of the outcome given the covariates. They can be applied to estimate quantile treatment effects and wage decompositions. This paper serves as an introduction to the package and displays basic functionality of the commands contained within.


Digital Commons powered by bepress