2644 search results for "map"

Create SQL Rules from rpart model

July 19, 2013
By

Mapping output of rpart tree to SQL statements is not easy. In rpart package you have to print out rules and then manually write SQL CASE statement. Fortunately, we can write new function to do this job. To test the function, I will use dataset german...

Read more »

Using the power of sound to figure out which Simpsons character is speaking

July 18, 2013
By
Using the power of sound to figure out which Simpsons character is speaking

In a previous post, I looked at transcripts of Simpsons episodes and tried to figure out which character was speaking which line. This worked decently, but it wasn’t great. It gave us memorable scenes like this one: Homer : D'oh! A deer! A female deer. Marge : Son, you're okay! Bart : Dad, I can't let...

Read more »

Using the power of sound to figure out which Simpsons character is speaking

July 18, 2013
By
Using the power of sound to figure out which Simpsons character is speaking

Update: you can find the next post in this series here. In a previous post, I looked at transcripts of Simpsons episodes and tried to figure out which character was speaking which line. This worked decently, but it wasn't great. It gave us memorable scenes like this one: Homer : D'oh! A deer! A female deer. Marge : Son, you're okay! Bart...

Read more »

Using the power of sound to figure out which Simpsons character is speaking

July 18, 2013
By
Using the power of sound to figure out which Simpsons character is speaking

Update: you can find the next post in this series here. In a previous post, I looked at transcripts of Simpsons episodes and tried to figure out which character was speaking which line. This worked decently, but it wasn't great. It gave us memorable scenes like this one: Homer : D'oh! A deer! A female deer. Marge : Son, you're okay! Bart...

Read more »

Subtle Variable Scoping in R

July 17, 2013
By

  A languages manual usually defines how a language behaves, but does not warn you in cases where you assume a feature should be supported but isn’t. As an example, I will talk about the subtle variable scoping in R language. {} code blocks A lot of programmers coming from C/C++/Java will assume that code...

Read more »

Reflections on UseR! 2013

July 12, 2013
By

This week I’ve been at the R Users conference in Albacete, Spain. These conferences are a little unusual in that they are not really about research, unlike most conferences I attend. They provide a place for people to discuss and exchange ideas on how R can be used. Here are some thoughts and highlights of the conference, in no...

Read more »

Popularity bigdata / large data packages in R and ffbase useR presentation

Popularity bigdata / large data packages in R and ffbase useR presentation

(This article was first published on BNOSAC - Belgium Network of Open Source Analytical Consultants, and kindly contributed to R-bloggers) A few weeks ago, Rstudio released it's download logs, showing who downloaded R packages through their CRAN mirror. More info: http://blog.rstudio.org/2013/06/10/rstudio-cran-mirror/ This is very nice information and it can be used to show the popularity of packages with R, which has...

Read more »

Visualizing a tiny slice of India’s demographics with information from Wikipedia

July 10, 2013
By
Visualizing a tiny slice of India’s demographics with information from Wikipedia

This post presents a tiny slice of a complex and diverse India using charts. (Data retrieval from Wikipedia on 9 July, 2013 and the analysis were performed using R; charts were generated using ggplot2, googleVis and wordcloud. More information can be f...

Read more »

Unicode Tips in Python 2 and R

July 9, 2013
By
Unicode Tips in Python 2 and R

Most of time, I don’t need to deal with different encodings at all. When possible, I use ASCII characters. And when there is a little processing in Chinese characters or other Unicode characters, I use .Net languages or JVM languages, in which every string is Unicode and of course when the characters are displayed they are displayed as characters...

Read more »

A possibility for use R and Hadoop together

July 8, 2013
By

(This article was first published on Milano R net, and kindly contributed to R-bloggers) As mentioned in the previous article, a possibility for dealing with some Big Data problems is to integrate R within the Hadoop ecosystem. Therefore, it’s necessary to have a bridge between the two environments. It means that R should be capable of handling data the...

Read more »