Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 17

ORACLE DATA MINING

Data Mining:
Data mining is the practice of automatically searching large stores of data to
discover patterns and trends that go beyond simple analysis. It uses
sophisticated mathematical algorithms to segment the data and evaluate the
probability of future events.

The 4 Basic Steps of Data Mining:


1. Setting Objectives‌
2. Data Preparation‌
3. Modelling Data – Algorithms
4. ‌Evaluating Results

Supervised Data Mining:


Supervised learning, also known as directed learning is a learning process
directed by a previously known dependent attribute or target, hence it
attempts to explain the behavior of the target as a function of a set of
independent attributes or predictors

Functions:
 Identifies the attributes that are most important in predicting a target
attribute.
 Assigns items to discrete classes and predicts the class to which an item
belongs
 Approximates and forecasts continuous values
Unsupervised Data Mining:
Unsupervised data mining is a powerful approach in the field of data analysis
that involves the exploration and extraction of patterns and insights from raw
data without the need for predefined labels or target variables

Functions:
 Identifies items (outliers) that do not satisfy the characteristics of
"normal" data
 Finds items that tend to co-occur in the data and specifies the rules that
govern their co-occurrence
 Finds natural groupings in the data
 Creates new attributes (features) using linear combinations of the
original attribute
Oracle Data Miner:
Oracle Data Mining GUI is an extension of Oracle SQL Developer that enables
Data Analysts to work directly with data inside the database
ODM workflows capture and document the user’s methodology and can be
saved and shared with others to automate advanced analytical methodologies

 Download Oracle 11g Enterprise Edition, Release 2 for Windows (or 19c)
 Extract the software on Windows Target Server
 Run setup.exe from the extracted folder
 Open Windows Command Prompt — netca and create listener
 Open Windows Command Prompt — dbca and create database
 Set the SID in the command prompt (set oracle_SID=<SID name>)
 Connect as sys dba (sqlplus / as sysdba)
 Verify db (select_name, open_mode from v$database)
 Download SQL Developer
 Extract SQL Developer
**
Oracle Net Configuration Assistant — netca
Database Configuration Assistant — dbca
Objective 1
Installation of Oracle 19c
Objective 2
Oracle net Configuration
Objective 3
Database Configuration
Objective 4
User Creation and SQL connection

User Creation (SQL Developer):

 Create a new connection for the admin role


 [admin as admin; Role: SYSDBA]
 Test database connectivity
 Create an account for Data Mining
 Drill down on admin >> Other User>>Create User
 Create ‘dmuser’[Default Tablespace: USERS; Temp Tablespace:
TEMP]
 Roles [Granted: CONNECT; Quotas: USERS]
SQL Developer Connection for User:

Create SQL Developer Connection for ODM user (dmuser)


 Create a new connection [ODM user as dmuser; Role: default]
 Save Password
 Test database connectivity
Objective 5
Data Miner Repository
 Display ODM tab [Tools>>Data Miner>>Make Visible]

 Create a new connection [select ‘dmuser’]

 Double click on ‘dmuser’ connection – a pop-up notifies that the Data Miner Repository isn’t
installed.

 Install it (by logging in as admin)

 [Default Tablespace: USERS; Temp Tablespace: TEMP]

 In case ODMRSYS isn’t available, say ok and proceed to launch the installation

 To finish you will be prompted for ‘dmuser’ password

 Create a Data Miner Project

 Right-click ‘dmuser’ and create New Project

You might also like