Unconf18 projects 4: umapr, greta, roomba, proxy-bias-vignette, http caching

[This article was first published on rOpenSci - open tools for open science, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

For the fourth and last day of project recaps from this year’s unconf, here is an overview of the next five projects.

In the spirit of exploration and experimentation at rOpenSci unconferences, these projects are not necessarily finished products or in scope for rOpenSci packages.


Summary: 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.

Team: Angela Li, Ju Kim, Malisa Smith, Sean Hughes, Ted Laderas

code: https://github.com/ropenscilabs/umapr

umapr_team umapr team picture by Mauro Lepore


Summary: 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 greta, including:

In addition, they created a new type of sampler for Random Walk Metropolis Hastings (https://github.com/ropenscilabs/greta/tree/samplers).

Team: Michael Quinn, David Smith, Shirin Glander, Matt Mulvahill, Tiphaine Martin

code: https://github.com/ropenscilabs/greta/tree/unconf#work-during-ropensci-unconference-2018


roomba hex logo

Summary: 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 eg

Team: Amanda Dobbyn, Christine Stawitz, Isabella Velasquez, Jim Hester, Laura DeCicco

code: https://github.com/ropenscilabs/roomba

roomba_team 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

code: https://github.com/ropenscilabs/proxy-bias-vignette

http caching

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

To leave a comment for the author, please follow the link and comment on their blog: rOpenSci - open tools for open science.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)