3.1 Classification Use Case

A retail store has information about its customers' behavior and the purchases they make. Now with the available data, they want you to analyze and identify the type of customers most likely to be positive responders to an Affinity Card loyalty program. High Affinity Card responders are defined as those customers who, when given a loyalty or affinity card, hyper-respond, that is, increase purchases more than the Affinity Card program's offered discount. In our data set, a responder is designated with value 1, and a non-responder with value 0. In this use case, you will demonstrate how to identify such customers using the Support Vector Machine model.

Related Contents

Topic Link
OML4R GitHub Example Classification Support Vector Machines (SVMs)
About Support Vector Machines (SVMs) Classification Support Vector Machines (SVMs)
Shared Settings Shared Settings

Before you start your OML4R use case journey, ensure that you have the following:

  • Data Set

    The data set used for this use case is from the SH schema. The SH schema can be readily accessed in Oracle Autonomous Database. For on-premises databases, the schema is installed during the installation or can be manually installed by downloading the scripts.

  • Database
    Select or create database out of the following options:
  • Machine Learning Tools
    Depending on your database selection,
  • Other Requirements

    Data Mining Privileges (this is automatically set for ADW). See System Privileges for Oracle Machine Learning for SQL.