Hands-On Data Science with R

Dr Graham Williams, PhD (ANU, Machine Learning), BSc (Maths, Hons)
Chief Data Scientist, Togaware and Australian Taxation Office
Adjunct Professor, Australian National University and University of Canberra
International Visiting Professor, Chinese Academy of Sciences

Our goal here is to provide introductory material to cost effectively kick start an organization's entry into Data Science.

In addition to the extensive material available here on our web site we provide a unique offering of in-situ hands-on training. We offer traditional out-of-office training courses, but we find more effective learning can occur hands-on in-situ. We offer one of the world's leading Data Scientists to work alongside and mentor your staff over one or two weeks. We work confidentially on actual projects, with training "on-the-job" provided by a professional with 30 years experience in the industry and author of the best selling book on Data Mining with Rattle and R. Contact Togaware Training at training@togaware.com for details.

Our on-line resources, including OnePageR, weaves together a collection of freely available and open source tools for the Data Scientist. The tools are all part of the R Statistical Software Suite. Each chapter is made up of multiple pages, but each page within a chapter is a one page guide that covers a particular aspect of the topic. They are a great place to start, before engaging our hands-on training experts.

The OnePageRs can be worked through as a hands-on guide and then used as a reference guide. Each page aims to be a bite sized chunk for hands-on learning, building on what has gone before. Many chapters also have a lecture pack and a laboratory session where a number of tasks can be completed. The R code sitting behind each OnePageR chapter is also provided and can be easily run standalone to replicate the material presented in the chapter.

The material is always under development! Chapters will change (and hopefully improve) regularly. Links preceded with a * are more well developed. All of the material is provided under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License allowing access to everyone for any purpose (except commercial) and is provided at no cost. You can assist in helping cover the costs of providing this material through a $40 contribution using PayPal. Your support encourages further development of this resource as does feedback, suggestions, and ideas, which are always welcome.

Refer to the Data Mining Survival Guide or my book on Data Mining with Rattle and R: The Art of Excavating Data for Knowledge Discovery (Use R) for related material.

Many of the initial chapters were developed and tested whilst visiting the Shenzhen Institutes of Advanced Technology as an International Visiting Professor of the Chinese Academy of Sciences.

The data used across the chapters is available for download as data.zip.

Enjoy!

  1. Getting Started as a Data Scientist
    1. An Introduction to Data Mining: *Lecture
    2. Introducing Data Science, Rattle and R: *Lecture - *OnePageR - *R
    3. Rattle to R: *OnePageR - *R
  2. R for the Eager Data Scientist
    1. A Template for Preparing Data: *OnePageR - *R
    2. A Template for Building Models: *OnePageR - *R
    3. Case Studies: *OnePageR - *R
    4. Basic R Tips and Tricks OnePageR - R
  3. Dealing With Data
    1. Reading Data into R: *OnePageR - *R
    2. Exploring and Summarising Data: *OnePageR - *R
    3. Visualising Data with GGPlot2: *OnePageR - *R
    4. Transforming Data: *OnePageR - *R
  4. Descriptive Analytics
    1. Cluster Analysis: *Lecture - OnePageR - R
    2. Association Analysis: *Lecture - OnePageR - R
  5. Predictive Analytics
    1. Decision Trees: *Lecture - *OnePageR - *R - *Rattle
    2. Ensembles of Decision Trees: *Lecture - *OnePageR - *R
    3. Support Vector Machines
    4. Neural Networks
    5. Naive Bayes: OnePageR - R
    6. Evaluating Models: *OnePageR - *R
    7. Scoring (R)
    8. PMML (R) Exporting Models for Deployment
  6. Advanced Analytics
    1. Text Mining: *OnePageR - *R
    2. Social Network Analysis: OnePageR - R
    3. Genetic Programming: OnePageR - R
  7. Advanced R
    1. Strings: OnePageR, R
    2. Dates and Time: *OnePageR - *R
    3. Spatial Data *OnePageR - *R
    4. Big Data *OnePageR - *R
    5. Exploring Different Plots: OnePageR - R
    6. Writing Functions: OnePageR - R
    7. Parallel Processing: OnePageR - R
    8. Environments: *OnePageR - R
  8. Expert R
    1. Packaging (R) Pulling it Together into a Package
    2. Doing R with Style: *OnePageR - *R
    3. Literate Data Science with KnitR: *Lecture - *OnePageR - *R

Other great resources for modular approaches to learning R include:


Other Togaware resources:


Local package archive:

Creative Commons License

Shop at Amazon

    The following advertisement is not endorsed by Togaware.