Dashboard BI
Dashboard BI
Advanced Analytics: Fraud detection Example using Benford's Law Follow us on Twitter
In this post we will talk about an R based example which performs Fraud detection using Benford's law on Oracle DV Follow
Desktop.This example also highlights Oracle DV's capability to consume multiple and distinct tabular results, visual charts
returned from a single invocation of R-Script. This example can be downloaded from Oracle BI Public store.
Search This Blog
What does this script do: This script takes financial data (or any other data that satisfies characteristics of Benford's law.
Benford Search
More about these characteristics are described below) which includes financial amounts along with 1 or 2 identifiers and
applies Benford law and returns suspicious transactions.
Blog Archive
It also returns some metrics and plots which depict the expected distribution of data according to Benford's law vis a vis
▼
▼ 2019 (9)
actual observed distribution. These plots are displayed in DV Desktop using R Viz(base64Image) plugin which can be
▼
▼ July (2)
downloaded from Oracle BI Public Store.
Using Right-Click Add Statistics
with Oracle Analy...
Metrics contain information on the expected probability, actual probability, distribution frequency and difference details
along with data summation details. For more details on these metrics please go through the documentation of Unleash your Database power
within OAC using Evalu...
benford.analysis package. This example uses benford.analysis R package, which can be downloaded from CRAN
repository. ►
► June (1)
►
► May (1)
Here is how your DV Desktop will look like after deploying this example:
►
► April (2)
►
► February (2)
►
► January (1)
►
► 2018 (11)
►
► 2017 (22)
►
► 2016 (42)
Popular Posts
Embedding Oracle
DV Projects in
BIEE Dashboards
Embedding DV
Projects directly
into BIEE
dashboards can simply be done
by posting the URL of the project
as an 'Embedded Content' o...
oracledataviz.blogspot.com/search?q=Benford 1/2
31/7/2019 Oracle Underground BI & Dataviz: Search results for Benford
Benford's law can be used to analyze financial data and spot possible red flags. If the digit distribution doesn't look Daum Map Plugin
anything like the distribution predicted by Benford's law then it may mean that the data is manipulated. Financial data is now available on
Oracle BI Public
include Accounts receivable, Accounts payable, sales and expenses data. Store
How does the script work on Oracle DV Desktop Daum Map plug-in
Inputs: This script takes payment amount(in dollars) along with one or more idenitfiers/details. In this example we are for Oracle DV is
now available for download on
passing in the Vendor Number(Identifier1), Invoice Number (Identifier2) and the corporate payment amount as inputs to Oracle BI Public Store . Daum
the data. This script can also be used to perform Fraud detection for other statistical data like census and other surveys map provider has detailed maps
which have the characteristics we discussed above. exclusively fo...
Custom Model
Optional Inputs: num_of_digits: We can send in the number first digits which we would like to analyze Scripts for Oracle
TopPercent : Top N percentage of the Suspicious entries you would like to be returned. Analytics
In this blog post we
Output: This R-Script returns 3 sets of results/information. They are: will discuss how to
use custom
1) Columns Identifier1,Identifier2,Suspicious Amounts return the top N % Suspicious transactions . models in OAC. We will walk-
2) image* columns return the R plots in base 64 encoded image format. R Viz(base64image) custom Viz plugin parses through the process of developing
these base64 encoded image strings and displays the image on DV Desktop canvas. python scripts compa...
3) Columns from Digits to Metrics: return metrics like distribution frequency etc for each first digit(s).
Advanced Analytics:
Association Rule
Please note that this R-Script returns all the these 3 sets of results/information in a single dataframe. And Oracle DV Mining on OracleDV
simultaneously displays these distinct tabular results and image results returned by a single R script. using Custom R-
Scripts
Association Rule Mining is a
Steps to deploy this R-Script plugin in your local OracleDV: common technique used to find
1) Install Advanced Analytics feature in Oracle DV by clicking on the below icon. This will install Oracle R deployment. associations between many
Alternatively you can install Advanced Analytics by running install_advanced_analytics.cmd present in variables. It is intended to identify
strong rules e...
<DV_INSTALL_DIRECTORY>
Understand
Performance of
Oracle DV
Machine Learning
models using
Related Datasets
feature
2) If not installed benford.analysis already, please install it using following instructions
In this blog we dicuss Related
Open R console(double click Rgui.exe present in <Advanced_Analytics_Install_Dir>\bin\x64) and datasets produced by Machine
install benford.analysis Package. Learning algorithms in Oracle
Following are the R commands to install: Data Visualization. Related
datasets are genera...
Set Proxy:
$ Sys.setenv(http_proxy="http://<your_proxy_host>:<port>") OracleDV :
set proxy appropriate to your network settings. Geocode Address
Install Package: data with Custom
R-Script
$ install.packages("benford.analysis")
Pre-requisites :
3) Download Fraud_DetectionBenford_V1.zip from OracleBI Public Store and unzip it. Internet connection
4) Copy R.BenfordFraudDetection.xml to In this blog we will discuss about
<DV_INSTALL_DIRECTORY>\OracleBI1\bifoundation\advanced_analytics\script_repository an exciting possibility on
OracleDV: How to Geocode
5) Download R Viz(Base64Image) custom visualization plugin from Oracle BI Public Store. Instructions to deploy this Address data ...
Custom Viz plugin are described in the Public store.
6) Import the .dva project to Oracle DV. Password for the .dva file is Admin123 Upgrade OBIEE in your
SampleApp V607 to 12.2.1.2
Want to have OBIEE 12.2.1.2 in
your SampleApp V607 and enjoy
VA lightweight SSO (no double
logins when opening VA), or dva
projects impor...
Posted by oraclebitechdemo at 2:01 AM 5 comments:
Home
oracledataviz.blogspot.com/search?q=Benford 2/2