Coder Social home page Coder Social logo

anhnguyendepocen / hypurrr-ameters Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mrecos/hypurrr-ameters

0.0 0.0 0.0 2.9 MB

R scripts and executable binder for blog post about using Purrr for mapping over ML hyperparameters

HTML 99.77% R 0.23%

hypurrr-ameters's Introduction

Hypurrr-ameter Grid Search with Purrr and Future

Blog post Rmd, R Scripts, and Executable Rstudio Binder!

Description

This repo contains the R code, blog post Rmd file, knit html file, and perhaps most interestingly, a link to launch an Jupyter binder from which you can spin-up an Rstudio session into this repo! From there you can run the code and play with it right in your browser. This cool feature is brought to you by the stellar folks who made the rocker/binder image and those at https://mybinder.org/. This is a really new feature, so hiccups are not unlikely.

This post is based on the hyperparameter grid search example, but I am going to use it as a platform to go over some of the cool features of purrr that make it possible to put such an analysis in this tibble format. Further, I hope this post gives people some examples that make the idea of purrr "click"; I know it took me some time to get there. By no means a primer on purrr, the text will hopefully make some connections between the ideas of list-columns, purrr::map() functions, and purrr:nest() to show off what I interpret as the Tidy-Purrr philosophy. The part about using future to parallelize this routine is presented towards the end of the post.

Link to blog post

Hypurrr-ameter Grid Search with Purrr and Future

Executable RStudio Binder

Binder

Click the button above (into a new tab) to launch this repo into an Rstudio binder in your browser! After clicking the button, wait a moment for the https://mybinder.org/ service to build this repo into a new binder. Once built, this will open a new cloud based Rstudio session right in your browser. From there, you can click in the Files to the RMD folder and then click on the purrr_gridsearch_blog.Rmd to open the blog post markdown. Also, there is a strealined version of the main code example at /CODE/purrr_grid_search_plot.R. Run, edit, modify the code and have fun!

hypurrr-ameters's People

Contributors

mrecos avatar yuvipanda avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.