Flux Redis

It is interesting that we can find flux topology example for HBase and Kafka but it’s hard to find one for Redis.

Read More

Pattern Mining using Apriori algorithm

Given an input file which is an attributes list of one place. The attributes of the place consists of a number of category instances. Each line represents one place. Examples are as following:

Read More

NLP with R part 1 Word Cloud

We’ll start with downloading the text data from SwiftKey link . The data includes blogs, news and twitters text files. They are available in multiple languages but We’ll only deal with the data files in English. Then I’ll analyze the data using text mining and NLP approaches to discover the structure in the data and how words are put together. After that, I’ll be building a predictive text model to predict the most likely next word. Finally, I’ll create a data product using shiny app (covered in part 2).

Read More

Take a quick look at MPG using box plot, t-test and build a regression model

This project assumes that you work for Motor Trend, a magazine about the automobile industry. Looking at a data set (mtcars from datasets library) of a collection of cars, they are interested in exploring the relationship between a set of variables and miles per gallon (MPG) (outcome). They are particularly interested in the following two questions:

Read More

Create a map marked with UofT using leaflet

The requirements to this assignment in DS course by JHU:

  1. Create a web page using R Markdown that features a map created with Leaflet.
  2. Host your webpage on either GitHub Pages, RPubs, or NeoCities.
  3. Your webpage must contain the date that you created the document, and it must contain a map created with Leaflet.
Read More

Airquality Dataset Viz with Vega-lite

This project is a final project for Data Viz course by UIUC in Coursera. The purpose of the project is to practice narrative visualization structure using Java script plus Vega/Vega-lite libraries.

Read More

NOAA Storm Data Analysis

Storms and other severe weather events can cause both public health and economic problems for communities and municipalities. Many severe events can result in fatalities, injuries, and property damage, and preventing such outcomes to the extent possible is a key concern.

Read More

Central Limit Theorem(CLT) test with R

In this simple note, I will investigate the exponential distribution in R and compare it with the Central Limit Theorem(CLT). CLT tells us that sample mean distribution is a normal distribution when sample size is large enough (for example >30). Expected value of sample mean distribution is used to estimate population mean. Sample mean variance is population variance divided by sample size.

Read More