Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Case Studies in Data Mining with R
Rating: 4.1 out of 5(87 ratings)
2,281 students

Case Studies in Data Mining with R

Learn to use the "Data Mining with R" (DMwR) package and R software to build and evaluate predictive data mining models.
Last updated 8/2020
English

What you'll learn

  • Understand how to implement and evaluate a variety of predictive data mining models in three different domains, each described as extended case studies: (1) harmful plant growth; (2) fraudulent transaction detection; and (3) stock market index changes.
  • Perform sophisticated data mining analyses using the "Data Mining with R" (DMwR) package and R software.
  • Have a greatly expanded understanding of the use of R software as a comprehensive data mining tool and platform.
  • Understand how to implement and evaluate supervised, semi-supervised, and unsupervised learning algorithms.

Course content

15 sections136 lectures21h 53m total length
  • Course Overview1:35
  • Introduction to R for Data Mining15:57
  • Data Structures: Vectors (part 1)8:41

    A vector is a sequence of data elements of the same basic type. Members in a vector are officially called components. Nevertheless, we will just call them members in this site.

    Here is a vector containing three numeric values 2, 3 and 5.

    > c(2, 3, 5)
    [1] 2 3 5

    And here is a vector of logical values.

    > c(TRUE, FALSE, TRUE, FALSE, FALSE)
    [1] TRUE FALSE TRUE FALSE FALSE

    A vector can contain character strings.

    > c("aa", "bb", "cc", "dd", "ee")
    [1] "aa" "bb" "cc" "dd" "ee"

  • Data Structures: Vectors (part 2)9:35
  • Factors (part 1)8:20

    The function factor is used to encode a vector as a factor (the terms 'category' and 'enumerated type' are also used for factors). If argument ordered is TRUE, the factor levels are assumed to be ordered. For compatibility with S there is also a function ordered.

    is.factor, is.ordered, as.factor and as.ordered are the membership and coercion functions for these classes.

  • Factors (part 2)10:31
  • Generating Sequences13:42

    seq() is the R function that will produce an enumerated vector.

  • Indexing (aka Subscripting or Subsetting)7:53

    Given a vector of data one common task is to isolate particular entries or censor items that meet some criteria.

  • Data Structures: Matrices and Arrays (part 1)8:22

    A matrix is a collection of data elements arranged in a two-dimensional rectangular layout.

  • Data Structures: Matrices and Arrays (part 2)7:41

    An array in R can have one, two or more dimensions. It is simply a vector which is stored with additional attributes giving the dimensions (attribute "dim") and optionally names for those dimensions (attribute "dimnames").

  • Data Structures: Lists13:09

    A list is an R structure that may contain object of any other types, including other lists. Lots of the modeling functions (like t.test() for the t test or lm() for linear models) produce lists as their return values, but you can also construct one yourself:

     mylist <- list (a = 1:5, b = "Hi There", c = function(x) x * sin(x)) 
  • Data Structures: Dataframes (part 1)9:38

    A data frame is a list of variables of the same number of rows with unique row names, given class "data.frame". If no variables are included, the row names determine the number of rows.

  • Data Structures: Dataframes (part 2)10:11
  • Creating New Functions12:14

Requirements

  • Students will need to install no-cost R software and the no-cost RStudio IDE (instructions are provided).

Description

Case Studies in Data Mining was originally taught as three separate online data mining courses. We examine three case studies which together present a broad-based tour of the basic and extended tasks of data mining in three different domains: (1) predicting algae blooms; (2) detecting fraudulent sales transactions; and (3) predicting stock market returns. The cumulative "hands-on" 3-course fifteen sessions showcase the use of Luis Torgo's amazingly useful "Data Mining with R" (DMwR) package and R software. Everything that you see on-screen is included with the course: all of the R scripts; all of the data files and R objects used and/or referenced; as well as all of the R packages' documentation. You can be new to R software and/or to data mining and be successful in completing the course. The first case study, Predicting Algae Blooms, provides instruction regarding the many useful, unique data mining functions contained in the R software 'DMwR' package. For the algae blooms prediction case, we specifically look at the tasks of data pre-processing, exploratory data analysis, and predictive model construction. For individuals completely new to R, the first two sessions of the algae blooms case (almost 4 hours of video and materials) provide an accelerated introduction to the use of R and RStudio and to basic techniques for inputting and outputting data and text. Detecting Fraudulent Transactions is the second extended data mining case study that showcases the DMwR (Data Mining with R) package. The case is specific but may be generalized to a common business problem: How does one sift through mountains of data (401,124 records, in this case) and identify suspicious data entries, or "outliers"? The case problem is very unstructured, and walks through a wide variety of approaches and techniques in the attempt to discriminate the "normal", or "ok" transactions, from the abnormal, suspicious, or "fraudulent" transactions. This case presents a large number of alternative modeling approaches, some of which are appropriate for supervised, some for unsupervised, and some for semi-supervised data scenarios. The third extended case, Predicting Stock Market Returns is a data mining case study addressing the domain of automatic stock trading systems. These four sessions address the tasks of building an automated stock trading system based on prediction models that utilize daily stock quote data. The goal is to predict future returns for the S&P 500 market index. The resulting predictions are used together with a trading strategy to make decisions about generating market buy and sell orders. The case examines prediction problems that stem from the time ordering among data observations, that is, from the use of time series data. It also exemplifies the difficulties involved in translating model predictions into decisions and actions in the context of 'real-world' business applications.

Who this course is for:

  • The course is appropriate for anyone seeking to expand their knowledge and analytical skills related to conducting predictive data mining analyses.
  • The course is appropriate for undergraduate students seeking to acquire additional in-demand job skill sets for business analytics.
  • The course is appropriate for graduate students seeking to acquire additional data analysis skills.
  • Knowledge of R software is not required to successfully complete this course.
  • The course is appropriate for practicing business analytics professionals seeking to acquire additional job skill sets.