300 search results for "pca"

Feature Engineering versus Feature Extraction: Game On!

August 3, 2015
By
Feature Engineering versus Feature Extraction: Game On!

"Feature engineering" is a fancy term for making sure that your predictors are encoded in the model in a manner that makes it as easy as possible for the model to achieve good performance. For example, if your have a date field as a predictor and there are larger differences in response for the weekends versus the weekdays, then...

Read more »

Seattle’s Fremont Bridge Bicyclists Again in the News

August 2, 2015
By
Seattle’s Fremont Bridge Bicyclists Again in the News

Back in 2013, David Smith had done analysis of bicycle trips across Seattle’s Fremont bridge. More recently, Jake Vanderplas (creator of Python’s very popular Scikit-learn package) wrote a nice blog post on “Learning Seattle Work habits from bicycle counts” at … Continue reading →

Read more »

R tutorial on the Apply family of functions

July 28, 2015
By
R tutorial on the Apply family of functions

Introduction In our previous tutorial Loops in R: Usage and Alternatives , we discussed one of the most important constructs in programming: the loop.  Eventually we deprecated the usage of loops in R in favor of vectorized functions. In this post we highlight some of the most used vectorized functions: the apply functions. In the present post we show the use The post

Read more »

Pull the (character) strings with stringi 0.5-2

June 23, 2015
By

A reliable string processing toolkit is a must-have for any data scientist. A new release of the stringi package is available on CRAN (please wait a few days for Windows and OS X binary builds). As for now, about 850…Read more ›

Read more »

Tips & Tricks 9: Shape Changes and Hypothetical Shapes

June 18, 2015
By
Tips & Tricks 9: Shape Changes and Hypothetical Shapes

Geomorph users,This month's tips and tricks was prompted by a user email from Tim Astrop, thanks Tim!How can I create a hypothetical shape representing a point in shape space?Today we will use some relatively simple R code to create a shape based on position in a Principal Component (PC) shape space and visualise this shape as a change from the mean using...

Read more »

Interactive maps for the web in R

May 15, 2015
By
Interactive maps for the web in R

Static MapsIn the last post I showed how to download economic data from the World Bank's website and create choropleth maps in R (Global Economic Maps).In this post I want to focus more on how to visualize those maps.Sp PackageProbably the simplest way...

Read more »

Reinventing the wheel for ordination biplots with ggplot2

May 14, 2015
By
Reinventing the wheel for ordination biplots with ggplot2

I’ll be the first to admit that the topic of plotting ordination results using ggplot2 has been visited many times over. As is my typical fashion, I started creating a package for this purpose without completely searching for existing solutions. Specifically, the ggbiplot and factoextra packages already provide almost complete coverage of plotting results from

Read more »

Global Economic Maps

May 12, 2015
By
Global Economic Maps

IntroductionIn this post I am going to show how to extract data from web pages in table format, transform these data into spatial objects in R and then plot them in maps.ProcedureFor this project we need the following two packages: XML and raster.The first package is used to extract data from HTML pages, in particular from the sections marked...

Read more »

7 new R jobs (2015-05-11)

May 11, 2015
By
7 new R jobs (2015-05-11)

This is the bimonthly post (for 2015-05-11) for new R Jobs from R-users.com. Employers: visit this link to post a new R job to the R community (it’s free and quick). Job seekers: please follow the links below to learn more and apply for your job of interest (or visit previous R jobs posts). Full-Time Research & Analytics Manager Medallia, Inc. – Posted by pkriss Palo Alto California, United States 10...

Read more »

Odd Connections Inside The NASDAQ-100

May 8, 2015
By
Odd Connections Inside The NASDAQ-100

Distinguishing the signal from the noise requires both scientific knowledge and self-knowledge (Nate Silver, author of The Signal and the Noise) Analyzing the evolution of NASDAQ-100 stock prices can discover some interesting couples of companies which share a strong common trend despite of belonging to very different sectors. The NASDAQ-100 is made up of 107 … Continue reading...

Read more »