Predictive Analytics World New York 2016 pre-workshop

English: A principal Component Analysis Exampl...
English: A principal Component Analysis Example with air quality data available with R Français : Un exemple d'Analyse en Composante Pricipale avec les données de la qualité de l'air disponibles dans R (Photo credit: Wikipedia)
I am in New York City attending the Predictive Analytics World conference.

Max Kuhn is the speaker at the first session I attended "R for Predictive Modeling: A hands-On Introduction".

Max is a great speaker, and very knowledgeable about the topic. He has loads of experience in doing predictive modeling.

Every time I attend a course like this one, I learn that there is so much more I have to learn.

We covered details of topics covering
Principal component analysis, Feature selection, exploratory data analysis.

Various regression capabilities.

Many of the topics he covered he provided links to other blog posts, and github presentations that he has done it before.

These sessions are always fascinating seeing the variety of ways in which Predictive Analytics is used in many different environments.

I was able to speak to a few folks about the ways in which they are applying predictive analytics, and I look forward to more sessions as the conference proper kicks off tomorrow morning.

Most of the tracks on my schedule for tomorrow are all around uplift modeling I look forward to learning more both about how that works, and how to apply it.


Is Analytics a Noun or a Verb?

English: The syntax tree of noun phrase "...
English: The syntax tree of noun phrase "my neighbour's daughter-in-law" with layered determiner analysis. (Photo credit: Wikipedia)
Is Analytics the name of your department, or do you actually "do" Analytics?

Doing analytics requires you to look at your data, apply some logic, and make or support making a decision with the data.

For many years I have built and maintained analytical platforms. These platforms had the core of a Business Intelligence architecture with some one-offs for the occasional "sophisticated" analysis as needed. I was not specifically doing analytics during this time. I knew many of the tools and techniques that were being applied. At times, I was even the one writing the SQL queries to pull the data together to load into SAS for statistical modeling. However, I rarely took it so far as to actually do the Analytics myself. That was not my role.

Now I am in a position where I am the one doing the Analytics, and I see and recognize the impedance mismatch that occurs when I use the term analytics, versus when some people use the same term.

Data Analytics is a very overloaded term in today's environment.  Yet as sophisticated as we may be in evolving from our ancestors simple things still make a big difference.

Using incredibly simple definitions:
A Noun is a person, place or thing.

A Verb is an action, or state of being.

Analytics can be a noun. "I am in charge of the Analytics department!"

Analytics can also be a verb. "I applied Analytics to the data until it gave me the answer!"

Analysis, or analytical thinking is a way of learning from and understanding the data that we have available to us in order to solve a specific problem or answer a specific question.

I think how this word evolved to be a noun is that there have been times where people with analytical skills(verb) were gathered together in one place. In order to have a question answered you had to go to the Analytics department (now it is a noun - place.)

As this place evolved, the people doing the analysis needed support, programmers, managers, project managers, special coders,etc.

Now you can say you work in Analytics and mean the department. This carries some clout with it, because it sounds as if you have the skills and capabilities of those doing the analysis.

Not necessarily. You may learn some valuable things, and through the natural sequence of apprenticeship you may be able to be the one "doing analytics" at some point.

To me, Analytics is a Verb, and it should only be a verb. Using it in any other context is a disservice to the word.


The Little Data Science Checklist

English: Random data points and their linear r...There are lots of sources online and in book stores that will teach a person how to do Machine Learning, Regression, Text analysis, or any other fascinating topic related to Data Science.

But is that all there is?

Just know apply an algorithm, and you improve the bottom line of your company?

What if you need to justify a project? How do you demonstrate that there is a process that can be followed for data science?

Recently with some colleagues we were discussing this precise topic.

Here is the answer that we came up with:


            What is the question?

            Who asked the question?

            When do they want it?

            How does it provide business value?


            Validation Criteria

            Identify the data

            Collect the data

            Transform, Merge, Munge

            Analyze and explore


            Peer Review

            Visualize and Communicate

            Generate new directions.

            Produce Finding





            Experiment Required

Supporting Data:

            Raw Data


I will pick a section and write more about each of these sections, but this little checklist is a beginning step in applying a Data Science process for an Enterprise. 


The travelling introvert.

United Airlines Boeing 777–200 taking off at A...
On occasion I get to travel for work.

There is a commercial by courtyard where part of the the tag line is: "Some people have to travel for work, some people get to travel for work."

I am most certainly in the latter category.

I think one of the things that makes traveling as an introvert interesting is we do tend to pay attention to our surroundings a little better than others. Especially when I travel alone.

In her book  Susan Cain describes the physiological differentiation from an Extrovert and Introvert. The Introvert can be hyper stimulated by their environment. This stimulation can be managed through training, but at times it can overwhelm those who don't know how to handle it.

Recently I had a chance to travel to Boston for work. I wrote this little snippet on my Facebook page about a little girl I encountered during my layover:

Walking through this long terminal looking for my next gate, bumping into people and trying not to walk on people's feet it's hard to actually notice any individuals. But then I heard it.

I had to look around through the throngs of people to find her, but I was able to zero in on her song.

She was about 2, wearing a Wonder Woman shirt dragging a suitcase that was as big as her while holding mom's hand.

"Just keep swimming, just keep swimming", she sang.
"That's right", the Mom told her "we have a ways to go."
I almost started singing it back to her.
Made my day.

All of my children are grown, and when Finding Nemo came out they were all teenagers. But I can imagine when my kids where younger getting them to sing this song just to keep them occupied during long treks to wherever we needed to go.

There was one other little side jaunt that I was able to make during my short trip for work.

There is no need for a car when I stay in Boston, since my office is quite close to my hotel. However, I needed to get from Logan airport to my hotel.

There is a water taxi service.

It has a very reasonable rate, and you can travel across Boston Harbor. I had heard about it from  a coworker and thought I would try if I got the chance.

This trip, I got the chance.
Boston Harbor at sunset

Follow the signs in Logan for the water taxi till you reach the pier.

Then use the microphone to notify the taxi service what location you are at.

The short ride across the harbor at sunset was magnificent.

The photos I took of the excursion on the water do not do it justice.

To my fellow introverts, I encourage you to try something slightly new the next time you travel. If you have to be uncomfortable for a period of time stepping out of your comfort zone, find something interesting at your travel destination that won't take any time away from your travel objective, and try something new.

Remember, Life is what happens while you are making other plans.



The data guy deals with hardware issues.

Fedora logo
Fedora logo (Photo credit: Wikipedia)

Remember how to do this?

Since moving into our new house, I had a few other priorities to deal with before getting my personal computing equipment in order.

Before the days of "the cloud" if you wanted to do an coding, or data analysis you needed to have a place to put the data you need to analyze, and it had to have a decent amount of memory and processing power in order to do any kind of analysis on data larger than just a few meg.

I had bought a tower some years ago, I used it during some of my consulting projects, as well as some of my personal research (research I should have pursued further, but now apache parquet negates).

It may not be comparable to an EC2 machine, but it gets the job done for me. 1Tb, 4Gig memory, quad CPU. It has been in storage in a box since we moved away from Maryland (3 years ago).

I dusted it off, set it up, brought out its monitor and fired it up.

"It's alive!"

Yay. I have a tower again! (or so I thought).

I connected it to my router, and decided that since this was running like Fedora 12, and the current version of Fedora is 24. Well in order to do that, I need to download the live disk.

After getting DVDR's to write the ISO image onto, I realized something.

I could use the live CD to test my laptop.

<rabbit hole>

My personal laptop died shortly after the move, it has been sitting idly in my office for some time. I had been hoping to replace it, but there are always issues that come up that have a higher priority.

I built a VM on my current machine, and ran the disk checks on the Fedora DVD to make sure it had burned correctly. Then I put it in my personal laptop.

Fedora Lives!

Ok, so now that means that the harddrive in my laptop is gone. So I found a replacement and ordered that.

</rabbit hole>

Now back to the tower. I wanted to get my data off the tower, so I copied everything off.

Bam, machine died.


I mounded a local disk, and copied off everything I needed, then did the Fedora install.

Fedora, up and running!

Bam, machine died.

Ok, let's check some stuff.

Deutsch: Kingston KHX1600c9d3lI tested the memory, and during the test.

Bam, machine died.

Ok, so this machine needs new memory.

Off to Best Buy to get new memory.

While I was at Best Buy, I saw that they also had ddr3 laptop memory. Since I have to replace the hard drive for my laptop, why not do a memory upgrade?

I got the ddr3 for the tower and the laptop, then replaced the memory in the tower.


It's Alive!

Now I can do a Yum update since the machine will be up for a while.

Yum is being deprecated in favor of a tool called DNF.

So DNF Update it is.

Once current, then I need to set this up as a non-gui machine. This is called initlevel 3 in prior versions of Fedora/Red Hat.

Now there is a new tool called systemctl. In order to switch over to more of a server configuration the command is:

systemctl isolate 

Ok, the Tower is now in good shape, so when my laptop harddrive arrived I replaced the hard drive, and added the new 8Gig stick, then installed Fedora.

Up and running after install, the laptop locks up periodically after a few minutes.

Nothing will launch, and it even loses connectivity.


I started to lose faith in Fedora, and try Ubuntu. When Ubuntu live booted, it had memtest86+ on the initial screen. I ran the memory test, and it immediately rebooted.

Let's try that again.

Same result.

Let's assume the memory is bad, and put the old memory back in.

Memory test again?

Now I have Fedora running on my laptop and Tower.

I will be going through migrating some of my R code now onto these machines.

While I am familiar with troubleshooting hardware issues, I am glad this is not something that I do on a daily basis.

It seems like this can be a constant rabbit hole in that, when you uncover one problem, often it exposes a new one.