Beginning Data Science with R by Manas A. Pathak, Springer

Beginnng Data Science With R

Continuing on with the Springer series on Computational Intelligence and Complexity I picked another book on the ever increasing in popularity R.

Besides, I read already several books from other publishers in 2014. The books were aiming at different levels, and at people from different professional backgrounds. Myself, a data practitioner, positioned rather away from being a data scientist, sitting closer to the server side, with periodic ETL or Business Intelligence development tasks at hand professional I started to realize the times have changed: each new project requires new depth and breaths of data analysis. Using Excel and its data add-ons does no longer cut it in. I was aware of tools as MATLAB, SAS and SPSS, but boy they cost!

I was always in love with data, linear, discrete algebra and statistics in general so for me R came to the natural choice. Learning tools as R (not just a new language) is quite an endeavour so I resorted to the World Wisde Web in search for good programming reference for R and was able to encounter numerous posts with recommendations. Then every book I picked did not quite stood to its promises. I was in despair.

But no longer, now when I found Beginning Data Science with R I feel empowered.

I will try to outline why this book does deliver.

All the beginner books I tossed into my tablet expected the reader to have an advanced knowledge in statistics. And far less in R. This is an ill conceived approach to me. In fact, R is a complex language with MANY nuances (not quirks IMO). Yet, there are dozens of ways to arrive to the same thing, like in Perl, but don’t let me get started…

The main idea I try to convey is that there was never a book with a good mix or balance per-se between R as a language and where it fits or excels (or delivers) when it comes to statistics or probalistics. This book does. It is very well-rounded. A reader from each level will find much useful information. So I don’t necessarily consider this book a beginner one. It has many reference links a reader can utilize to widen one’s knowledge. And I had so much fun reading this not terribly long book! All the topics are explained very well, with enough intro and concrete examples. Some chapters I see as a bonus, especially the one on text mining (which some from my G+ post do not consider a part of R) and decision trees. These I liked the most, they are poor fun, short, but very practical. Not to mention useful.

To sum up,

What this book is: a comprehensive, yet short tutorial on practical application of R to the modern data science tasks or projects. The book lays a solid foundation to develop your knowledge in R further on, a good guide for what is possible to extract from R and its CRAN (and the packages ecosystem) or even computational and quantitative science itself. Perhaps this book helps in grasping with Machine Learning as well, and other advanced areas of the Data Science.

What this book is not: a reader would need supplementary material to delve deeper into R as a language and may need  extra practice on concrete or narrowed down, specific tasks/applications.

Who I recommend it to: managers who work on data projects, technical team leaders, CS students, Business Intelligence professionals, beginner architects, general computer academia, statisticians, several categories of scientists or researchers as biologists, lab, criminologists, and also Finance pros or actuarials.

Verdict: 5 out of 5, well done Mr Manas A. Pathak!


R for Cloud Computing by A. Ohri, Springer, Book Review

R for Cloud Computing

R for Cloud Computing is not the first book I am reading on R, however, it is my first from Springer.

I picked this title for review due to several reasons. First, but not the major one is because Springer is viewed as an advanced, specialized or narrow subject book shop rather than popular technology content and/or educational material publisher. Another deal maker is that this book’s title sounded like the next step in the corporate, small business or even personal Computational Statistics space. Not just R itself.

It turned out to be the case!

In short, the main idea of this book is to state and proof that using R in the Cloud is a more than a workable idea, but it is very possible in a vast number of ways. And it is, I now thankfully agree. And the competition is tight.

Why it makes sense? In short, since R’s design (as many other programming languages) is to use the local machine runnable memory (RAM) and CPU by default (as of end of 2014, and except when the Snowfall package is used), one can rip enormous benefits from R any scripts developed locally and deployed to the Cloud (let me stress, without any changes) where there is as much RAM and CPU power at your disposal as you need (or can pay for), and therefore the limit to how much data you can process gets lifted

But let me speculate, what remains to be discovered or seen, as well as it is not mentioned in the book is how parallelized R in the Cloud would work. Personally, it is a huge thing, bigger than harnessing the power of the local GPU. There is some ground work laid: but again, it seems to me not progressing fast enough (perhaps as many other grid computing technologies). To me, passing this milestone is of an utter importance to be able to process the data volumes of 2020 . But please read the book to know more, a lot more.

Another supporting item for the Cloud + R scheme I can add is that most end-results are anyways shared on the Web, either in form of a publication, chart, or even a web application. And the Cloud and Web are close neighbours.

OK, more on the book itself. And may be I shall start from an item I did not expect to find in a Springer book: personal interviews. It seems that every chapter in the book has at least one. This says to me Mr. A. Ohri keeps in close contact with and very well respected by the technology leaders in his area of interests, yet that the author keeps abreast with the latest happenings in the R space. I enjoyed many interviews and found them very technologically tasteful and professional. The most I liked is the one with Jeroen Ooms, the person I admire as an advanced data scientist, the inventor of OpenCPU. How useful all the interviews are, hmm, I will let you to decide.

It is needless to say, Ajay made sure there is comprehensive ground covered of what is available to a person working or planning to with R in the Cloud, and it seems to be a non bias coverage based on a well done, prior research, exactly as I expected it to be seen in a Springer book. I made a dozen of bookmarks or so discovering new articles and projects I was not aware of. Thank you Ajay!

Otherwise, the book is opening for experimentation and thought. It is full of practical examples, tons of relevant reference. Alas, several things did not work for me and some links appeared dead.

In terms of closing, do not expect this book to be at a student’s desk, I mean it is not for learning R, even though there is runnable code in images. It in my opinion is targeting a mature R user who wants to expand one’s horizons or a corporate decision maker willing to take one’s enterprise one notch (well actually a lot) further ahead in the game.

My verdict: 4 out of 5. A deserving read, even though more like a collection of stories and collection of technologies. A possibly convincing approach and sure inspiring to take the R community to new heights.

Building Scalable Apps with Redis and Node.js by Joshua Johanan, Packt Publishing Book Review

Node.js, Redis is the powerful formula. Don’t be confused nor intimidated by so many XYZ.js offerings, Node.js is standing well out of the crowd. Why this book is one of the many examples, how? Read it. I jump forward and say it is a 5 star, rare gem I do not see often nowadays. And this book does not cover just Node.js and Redis. This book touches so many other not less important components you actually should be able to build your entire enterprise right after you are done with reading this book and implementing what Joshua covered. An awesome, wonderful masterpiece!

More on the book specifics:

The ebook version that I reviewed has 316 pages (in my built-in PDF Viewer of Ubuntu), 10 chapters, no appendix.

Like I said, apart from Node.js and Redis, the following technologies are covered:

– RabbitMQ

– Grunt

– Socket.IO

– How to use Developer Tools to troubleshoot your application

– How to debug both in Node.js and the client side JavaScript

– Backbone.js



I am sure I missed an item or two. Impressed already? I was.

The reader using either major OS is covered. Some Python was interfaced, but you must feel at home regardless of your level of familiarity with it.

You get your application pretty much ready to be deployed and even scale out and up in Chapter 9. You learn to cope with issues in the last chapter, but before you deploy the app, JavaScript best practices get covered.

I hope you pick a copy of the book and enjoy, best build the app or even your own future multimillion ready to go IPO cool app.

Again, 5 out of 5 stars/badges of honour!

Modern Perl Best Practices 50 Tips for Writing More Efficient, Robust, and Maintainable Perl Code by Damian Conway, O’Reilly Media Video Review

50 Tips for Writing More Efficient, Robust, and Maintainable Perl Code

This is my second video from Damian within a year. I decided to watch the author delivering educational content on Perl best practices this time. As a database practitioner myself I must state following best practices is a big thing, it is like that safety net you may have been seeing in circus. It is not much about standards, but more on how to deliver more aligned code that is ready to read and thus understand by others, or yourself after a while, most importantly, it guards you against common pitfalls programming in one language or another. It also transparently makes you a better developer at the same time. With initially substantial and then little effort. So learn and stick to it. Damian has made an awesome job delivering a ton of useful and thoughtful insight, concrete examples on so many topics. I wish I could have such a teacher when I was studying. Each video chapter ends with a summary outlining the most important topics which makes it easy to revisit the key points after a while.

Perl, notoriously known as one of the most difficult languages to read if produced by other programmers (100s of ways to do the same thing). Modern Perl is not an escape from the old. The video is going to stay as important today is it could be years ago (if were around) or in a decade. It must be a good investment into your career.

I liked and re-watched the both chapters on Subroutines (so commonly found), and also I/O (for being a tad complex). But the even the topic on Built-Ins unexpectedly was very informative. Even the chapter on naming was something to fill in with in gaps of the knowledge. Error Handling is a must to watch. I believe each other will have something to complement with.

I have a thought that this video not only applies to Perl developers, but all/any developers who code in an imperative language. And I also think this video is quite unique in terms of content and coverage.

I do not see how it can be any better, I did not code 10K hours in Perl and I am fully aware Damian is a skilled (top notch) developer who must be listened to.

A 5 out of 5 mark from me.

Disclaimer: I received this video for free for the review purpose as per the O’Reilly Reader Reviewer program.

NetBeans IDE 8 Cookbook by David Salter and Rhawi Dantas, Packt Publishing Book Review

Every developer should eventually master at least one IDE. I know many who never bothered. And I do not say you are less productive using only Emacs or VIM. But at times you have to rely on support of a productivity tool. Yet, it seems nowadays it is not quite possible to imaging developing for an enterprise and not utilizing an IDE. Reason is there are so many kinds of projects, not working with an IDE makes even at times impossible to deliver on time. Luckily there is one such book that will help you master one of the best IDEs around: NetBeans. Backed by the well known Oracle Copr. with its roots originating in Xelfi editor a decade ago it became a mature and popular development environment. I must add the book luckily covers the freshly released (Fall 2014) version 8 of the NetBeans IDE.
So more on the book: it covers seemingly as wide range of topics as one can imagine (or not) using at any workplace, from installing the IDE and writing its plug-ins (modules) to using WebServices and JavaFX UI development.
And the material is covered very nicely by David and Rhawi. The book is easy to follow and repeat exercises. The book has plenty if high-res images and is so well structured it makes a come back very easy (I needed a few re-visits to accomplish a task or two). What I liked the most was working with the RESTfull services (not only fun, but it delivers a great automation examples). Testing and profiling was a great skill to learn, a very important aspect, too, not just fun. Version control was very useful and the authors covered a lot of ground and many providers (I only expected Git covered). The enterprise Java was a tad more difficult to grasp, but again having such great teachers it is not intimidating at all.
In short, my verdict is 5 out 5. It is a great book especially for students and those who depart from other IDEs. I must say I liked NetBeans very much, even though I clocked more hours using the Visual Studio and Eclipse.

5 free eBooks or Video downloads in the first month of a new annual subscription!

Heads up!

An awesome deal: Packt Publishing is offering 5 free eBooks or Video downloads in the first month of a new annual subscription – up to $150 worth of extra content.

That’s in addition to one free download a month for the rest of the year!

Offer Expires Nov 4th.

Getting Started with Red Hat Enterprise Virtualization by Pradeep Subramanian, Packt Publishing Book Review

Even though the virtualization has began in the 60-ies (, the advancements in the OS, computer capacity and especially the CPU capabilities have opened a whole slew of possibilities to the modern IT shops and especially to the SMBs.

RedHat’s implementation is one of the most robust, yet prominent offerings in this area. It allows to provision such logical components as data centres, clusters, hosts, storage, networks, disks and more. And it is not limited to running only the Linux based OSes, Windows 8 or Windows Server 2012 are also supported (well, there is no possibility to accessed them via VNC yet).

Virtualization is great in balancing production loads, providing HA or in scenarios as conducting a POC, temporal machines spawning or on demand scaling out/up.

The chapter 2 on installing RHEV is the most important to understanding how the RedHat’s technology works.

Chapter 4 – Creating Virtual Machines I expect to be the most re-visited as it will be the most often used procedure by an administrator, and I suspect is the centrepiece of the book. It covers both, creating a custom OS image or a template to be re-used.

Chapter 5 – High Availability is my favourite, it was also fun to learn about live migrations, fencing and Resilient Policies, features I even did not expect exists in RedHat virtualization offering. This chapter also contains several very valid gotchas to using the HA mode effectively.

Chapter 5 – Advanced Storage and Networking Features is really a showcase of the RedHat virtualization capabilities and also would be very valuable to the not so technical audience to get familiar with what it offers and how it can help deliver greater flexibility across an enterprise.

Chapter 7, 8 are targeting primarily the RedHat virtualization system administrators, and it appears having superb capabilities to managing its resources and users. Chapter 8 explains how to use Quotas and assign resources.

Chapter 9 makes you start mastering the CLI, as everything Linux command line is the king, as while a GUI is great, the command line offers greater productivity and most importantly – automation, but do not stop there as it is a beginning to start writing automation scripts which sooner or later would necessary.

The book then naturally flows into the chapter on troubleshooting. This chapter, I deem, is absolutely making sense as many things can and undoubtedly some day bound to go awry. Make sure you read this chapter carefully, and in advance of the unforeseen.

The story ends with a short, but helpful chapter on setting the storage peripherals as iSCSI, NAS and NFS. Like the others, this chapter exposes a plethora of command line commands to set everything up you may need. So it is a good idea to read it even if there are no plans to manipulate on directory management or configuring storage, after all, you never know when it may become handy.

Having 178 pages in the book Pradeep Subramanian actually managed to packed quite a lot of insight and knowledge that I expect will trigger several “aha” moments in your IT life.

In my opinion, overall, since it is quite tedious to install and support RedHat EV this book should be invaluable.

Good style, concise and friendly writing, a 5 out 5!

R Graph Essentials by David Alexander Lillis, Packt Publishing Book Review

R as a language has experienced an explosion in adoption in the last several years, and this is despite the proliferation of the spreadheet applications, most notably the Microsoft’s Excel. Besides, R Bloggers came up with a 14 bullet points list explaining why. While I do not agree with all the 14 points I admit that R has many unique capabilities, and one of them is its graphing (or charting, if you wish). R Graph Essentials is the book that aims straight at this strength making you very proficient in producing useful, awesomely looking and most importantly professional grade plots, charts or graphs.

I must say Having David Alexander (the author) on board with you means you are bound to success, I liked his style of writing a lot. David possesses all the necessary skills to cover such a wide topic efficiently, accurately and comprehensively. I admit I had little issues producing most of the plots from the book. On one occasion only I got stuck with qplot not working, but Packt and the awesome R community on G+ replied quickly putting me back on tracks to charting by explaining that I need to install ggplot2. A big thank you!

I advocate the book is best read with your R Studio humming alongside as you will have a ton of fun producing interesting graphs. And it is not important if you run a Linux or Windows.

It was very convenient to have the datasets used for examples saved for later use (I recommend R Studio as one of the reasons as saving the state between sessions in it is trivial). The topics I wish the author could cover is how to put the graphics on the web and make the data obtained from a database, but the book explains how to get your data from files.

In terms of closing, I have to say I benefited a lot from this book. As I work with data most of my time I was able to produce super nice histograms of table data (off flat files) which helped me get better insight into the selectivity of my data and this resulted in better and mew indexes yet some indexes even were removed in our SQL Server databases.

My next to do as pet project is to visualize data movements. I trust it will be a lot of fun and this is all thanks to this book.

Five out of five!

Using Flume: Flexible, Scalable, and Reliable Data Streaming by Hari Shreedharan, O’Reilly Media Book Review

Flexible, Scalable, and Reliable Data Streaming

Using Flume is one of the books from the so called Big Data series. Flume is one of the graduated projects from the Apache foundation incubator and as of time of this writing is at version 1.5 which means (in the OSS terms) a mature product. How battle tested it is I cannot say as I am not using it, but our world increasingly relies on fast and distributed methods of log data processing. I truly believe it is worth investing time in learning tomorrow’s technology and propose using it at the right moment and opportunity. I am confident my own journey through data will naturally take me to using Flume some day, and I may not be surprised if it is happening soon. This book I am sure is going to take a Big Data practitioner (like myself) a step or two further regardless. If you are looking at entering a project or POC involving Flume, then this book is a must. If you are using it already this book is worth your buck too and not only for “just in case”. The work of Hari (who worked at such iconic companies as Yahoo! before Cloudera) is probably fundamental to Flume. Here is why it helps:

  • Assessing whether Flume is the appropriate fit to address your project/business needs/goals;
  • The book has seemingly enough code (Java only) to create simple Flume extensions or indices
  • Full coverage of the three popular data serializations techniques
  • Persisting logs and even in-transit processing
  • Optimization of Flume
  • Performance tuning and monitoring

If you want to know why I gave this book a 4 out of 5 star rating is because

  1. The structure, or flow of the book I see supposed to be different, 1st should be basics 1st, it is not too logically outlined
  2. The book is a tad dry (to my taste maybe), what I mean there are no practical, “from the trenches” examples on why this and that setup, configuration is needed in what circumstances;
  3. Java centric and discusses only the Apache products

Disclaimer: I received a free copy of this book in exchange of writing a review as per the reader review program rules.

Python for Secret Agents By Steven F. Lot, Packt Publishing Book Review

Attention! A fun, quality read!

And this book is about learning Python, but in such a way you will be hardly able to put the book aside. So do not be fooled by the title. Yes, you will learn about modules, classes and even unit tests!And eventhough Python for Secret Agents isseeminglyaimedat beginner programmers it shouldbe pure fun for the rest of us. In my view this book constitutes serious workcovering such important and frequently used techniques as accessingremote data, getting files over FTP, RESTAPIs, JSON(including serialization), ZIParchives, Geospatialcalculationsor simply teaching such common techniques as file path processing, numericalcomputations, listsand dictionaries or Unit Testing. And clever statistical data processing, too. NumPy,SciPylibraries are covered which is a great plus.

I was able to extract a ton of useful approaches to dealing with web data – BeatifulSoup is among the ones. The book became more and more exiting as I progressed through it until that all unfolded into one aha moment and finally exploded in a-la Cirque De Soleil kind of finale – last chapter: “A Spymaster’s More SensitiveAnalyses”. 

A great, great rare read I did not experience for a long time. Thank you Steven F. Lott! I am looking forward to reading more books from you.

For the sake of this review and by means to downgrade my mark if I had to mention a few deficiencies that would be the lack of sample output (I just not always had the time for running each code example), nor does it provide examples on how towork with shape data (geolocations), but the Shapes is old school.

So all in all it is worth your buck.

Five out of five!