Tag Archives: R-Bloggers

Who is The Average Customer?

I hate to be the one to break it to you, but the average customer shouldn’t be that important to you. I’m not writing this to repeat the marketing rhetoric you hear about how “millennials” want massive amounts of choice, personalization, customization, etc. I’m here to tell you that people misunderstand the facts about their business – even when the numbers are correct!

Recently, I was asked to look at marketing performance for a company in Chicago. The company told me, “on average, we make about $100 per transaction.” At first glance, they appeared to be spot on.

Daily averages showed a nice normal distribution with a mean of $100.\

average_orders
Continue reading

100 Days of Code – Completed!

I finished the #100DaysOfCode challenge and it feels great! I will tell you a little a bit about my experience.

Top 5 Takeaways:

  1. Sitting down and writing code every day is not easy
  2. Planning is critical to your success
  3. Staying motivated requires effort
  4. Being excited about your project makes a world of difference
  5. Learning takes time and effort

What did I build?

Continue reading

Looking at Fertility in R

Fertility is something people don’t typically discuss openly in the US, which isn’t a surprise because it is an incredibly personal topic. In fact, it’s really difficult to even write a blog post about, I wrote this over a year ago and I’m only getting around to posting it now. It took us roughly 7 months to conceive a baby, and I’m proud to say we now have a happy baby boy!

 

However, every negative pregnancy test you see takes an emotional toll on you (and can even put strain on some marriages). During that time, I found that research online wasn’t extremely helpful. My wife and I found it relatively difficult to find answers to two very important questions:

  • What are the odds of a couple conceiving each month?
  • How much of a factor does age play?

I need to start this off by saying, I am not a doctor (nor do I play one on TV). In fact, I’m just going to start my exploration of this topic by first reading some blogs on the topic. This isn’t typically a great option, but then again, I’m writing a blog as well… What could go wrong, a blog based off of other blogs which might be discussed in another blog? I digress.

What difference does a woman’s age make?

Continue reading

Exploratory Analysis – When to Choose R, Python, Tableau or a Combination

Not all data analysis tools are created equal.

Recently, I started looking into data sets to compete in Go Code Colorado (check it out if you live in CO). The problem with such diversity in data sets is finding a way to quickly visualize the data and do exploratory analysis. While tools like Tableau make data visualization extremely easy, the data isn’t always properly formatted to be easily consumed. Here’s are a few tips to help speed up your exploratory data analysis!

We’ll use data from two sources to aid with this example:

Picking the right tool

Always be able to answer the following before choosing a tool:

Continue reading

Microsoft Cognitive Services Vision API in R

Microsoft Cognitive Services Vision API in R


A little while ago I did a brief tutorial of the Google Vision API using RoogleVision created by Mark Edmonson. I couldn’t find anything similar to that in R for the Microsoft Cognitive Services API so I thought I would give it a shot. I whipped this example together quickly to give it a proof-of-concept but I could certainly see myself building an R package to support this (unless someone can point to one – and please do if one exists)!

A quick example, sending this image retrieved the location of the human face and created a caption! Here’s my dog lined up next to his doppelganger:

Continue reading