Blog Archives

purrr Like a Kitten till the Lake Pipes RoaR

May 2, 2018
By

I really should make a minimal effort to resist opening a data analysis blog post with Beach Boys’ lyrics, but this time the combination is too apt. We use the purrr package to show how to let your pipes roar in R. The tidyverse GitHub site contains a simple example illustrating how well pipes and … Continue reading "purrr...

Read more »

Coming to $terms in R

April 15, 2018
By

A recent analysis I worked on involved building a log regression and some ensemble methods using a data set with about 25 features, in addition to the target. It was an analysis of customer churn in the telecom industry. If you are interested, you can find the problem statement here, the annotated code here, and … Continue reading "Coming...

Read more »

To Loop or Not to Loop?

April 9, 2018
By

The question of whether to loop in R or not, or what are the appropriate circumstances which would lead someone to loop in R, has strong proponents on both sides. Some argue loops are useful in R and there is nothing wrong with using them. On the other side are those who refuse to use … Continue reading "To...

Read more »

Python’s Keras Library in R, Part 2

March 16, 2018
By

So I learned in the previous post that if an R user wants to load the Python keras library into R to run neural net models, it is necessary to load Python first. The keras package in R is an interface with Python, not a standalone package. That’s fine, but it would have been nice … Continue reading "Python’s...

Read more »

Loading Python’s Keras into R, Part 1

March 14, 2018
By

Late last year, Matt Dancho had a post on deep learning celebrating the arrival of the Python keras package for R. It is a very good tutorial on using artificial neural networks (ANN) to solve complicated business problems, well worth checking out. Took More Doing Than I Thought I started working with neural networks over … Continue reading "Loading...

Read more »

Search R-bloggers

Sponsors

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)