June 8, 2018 From rOpenSci (https://ropensci.org/blog/2018/06/08/unconf_recap_4/). Except where otherwise noted, content on this site is licensed under the CC-BY license.
In the spirit of exploration and experimentation at rOpenSci unconferences, these projects are not necessarily finished products or in scope for rOpenSci packages.
umapr wraps the Python implementation of UMAP to make the algorithm accessible from within R, leveraging
reticulate to interface with Python. Uniform Manifold Approximation and Projection (UMAP) is a non-linear dimensionality reduction algorithm. It is similar to t-SNE but computationally more efficient.
umapr team picture by Mauro Lepore
greta is an R package for writing statistical models and fitting them by MCMC. We luckily had the
greta creator at the unconf: Nick Golding. The unconf team worked on contributing tutorials/vignettes to
In addition, they created a new type of sampler for Random Walk Metropolis Hastings (https://github.com/ropenscilabs/greta/tree/samplers).
roomba is a package to transform large, multi-nested lists into a more user-friendly format (i.e. a tibble) in R.
roomba::roomba() searches deeply-nested list for names and returns a tibble with the associated column titles. It handles empty values gracefully by substituting
NULL values with
NA or user-specified values.
roomba team picture by Mauro Lepore
Summary: Paige Bailey worked on a tutorial/vignette designed to assist with spotting and preventing proxy bias. From Paige:
Machine Learning systems often inherit biases against protected classes and historically disparaged groups via their training data (Datta et al. 2017). Though some biases in features are straightforward to detect (ex: age, gender, race), others are not explicit and rely on subtle correlations in machine learning algorithms to understand. The incorporation of unintended bias into predictive models is called proxy discrimination.
In this vignette, Paige implemented an example machine learning model using decision trees, which determines whether its classification for loan recipients is biased against certain groups.
Check out the Jupyter Notebook to get started.
Team: Paige Bailey
Summary: I didn’t write much code at this unconf, but since Hadley was around, I was inspired to try to integrate httr into vcr/webmockr for HTTP request caching/mocking. I started the integration, but it’s not quite done yet. Check out development in the webmockr adapter-httr branch and examples. See also curl package integration work in webmockr adapter-curl branch
Team: Scott Chamberlain