DM - Weka Reprot
DM - Weka Reprot
DM - Weka Reprot
Submitted By
1. Mrunal Singade 59
2. Nehal Saonerkar 61
3. Prasanna Anjankar 64
4. Savinay Surbhik 72
Submitted to
Data mining is a key part of data analytics overall and one of the core disciplines in data
science, which uses advanced analytics techniques to find useful information in data sets. At
a more granular level, data mining is a step in the knowledge discovery in databases (KDD)
process, a data science methodology for gathering, processing and analyzing data. Data
mining and KDD are sometimes referred to interchangeably, but they're more commonly seen
as distinct things.
Its core elements include machine learning and statistical analysis, along with data
management tasks done to prepare data for analysis. The use of machine learning
algorithms and artificial intelligence (AI) tools has automated more of the process and made
it easier to mine massive data sets, such as customer databases, transaction records and log
files from web servers, mobile apps and sensors.
The data mining process can be broken down into these four primary stages:
Association rule mining: In data mining, association rules are if-then statements that
identify relationships between data elements. Support and confidence criteria are used to
assess the relationships -- support measures how frequently the related elements appear in
a data set, while confidence reflects the number of times an if-then statement is accurate.
Classification: This approach assigns the elements in data sets to different categories
defined as part of the data mining process. Decision trees, Naive Bayes classifiers, k-
nearest neighbor and logistic regression are some examples of classification methods.
Clustering: In this case, data elements that share particular characteristics are grouped
together into clusters as part of data mining applications. Examples include k-means
clustering, hierarchical clustering and Gaussian mixture models.
Regression: This is another way to find relationships in data sets, by calculating predicted
data values based on a set of variables. Linear regression and multivariate regression are
examples. Decision trees and some other classification methods can be used to do
regressions, too.
Sequence and path analysis: Data can also be mined to look for patterns in which a
particular set of events or values leads to later ones.
Neural networks: A neural network is a set of algorithms that simulates the activity of
the human brain. Neural networks are particularly useful in complex pattern recognition
applications involving deep learning, a more advanced offshoot of machine learning.
More effective marketing and sales: Data mining helps marketers better understand
customer behavior and preferences, which enables them to create targeted marketing and
advertising campaigns. Similarly, sales teams can use data mining results to improve lead
conversion rates and sell additional products and services to existing customers.
Better customer service: Thanks to data mining, companies can identify potential
customer service issues more promptly and give contact center agents up-to-date
information to use in calls and online chats with customers.
Improved supply chain management: Organizations can spot market trends and forecast
product demand more accurately, enabling them to better manage inventories of goods and
supplies. Supply chain managers can also use information from data mining to optimize
warehousing, distribution and other logistics operations.
Increased production uptime: Mining operational data from sensors on manufacturing
machines and other industrial equipment supports predictive maintenance applications to
identify potential problems before they occur, helping to avoid unscheduled downtime.
Stronger risk management: Risk managers and business executives can better assess
financial, legal, cybersecurity and other risks to a company and develop plans for
managing them.
Lower costs: Data mining helps drive cost savings through operational efficiencies in
business processes and reduced redundancy and waste in corporate spending.
Weka – Waikato Environment for Knowledge Analysis
Weka is a collection of machine learning algorithms for data mining tasks. The algorithms
can either be applied directly to a dataset or called from your own Java
code. Weka contains tools for data pre-processing, classification, regression, clustering,
association rules, and visualization.
Preprocessing
Data pre-processing is a data mining technique which is used to transform the raw data in a
useful and efficient format.
1. Data Cleaning:
The data can have many irrelevant and missing parts. To handle this part, data cleaning is
done. It involves handling of missing data, noisy data etc.
Noisy data is a meaningless data that can’t be interpreted by machines.It can be generated
due to faulty data collection, data entry errors etc. It can be handled in following ways :
Binning Method: This method works on sorted data in order to smooth it. The whole
data is divided into segments of equal size and then various */methods are performed
to complete the task. Each segmented is handled separately. One can replace all data in
a segment by its mean or boundary values can be used to complete the task.
Clustering: This approach groups the similar data in a cluster. The outliers may be
undetected or it will fall outside the clusters.
2. Data Transformation:
This step is taken in order to transform the data in appropriate forms suitable for mining
process. This involves following ways:
Normalization:
It is done in order to scale the data values in a specified range (-1.0 to 1.0 or 0.0
to 1.0)
Attribute Selection:
In this strategy, new attributes are constructed from the given set of attributes to
help the mining process.
Discretization:
This is done to replace the raw values of numeric attribute by interval levels or
conceptual levels.
3. Data Reduction:
Since data mining is a technique that is used to handle huge amount of data. While working
with huge volume of data, analysis became harder in such cases. In order to get rid of this,
we uses data reduction technique. It aims to increase the storage efficiency and reduce data
storage and analysis costs.
The various steps to data reduction are:
1. Data Cube Aggregation: Aggregation operation is applied to data for the
construction of the data cube.
Here for data mining purpose we will be needing the options like “Preprocess”, “Classify”, “Cluster”
and “Associate”.
Data Pre-Processing
Step 1: Go to the location of your data and select the data file and click on open.
Protocol Type
Server Count
We can see the visualisation of all the the attribute by clicking on the “Visualise All” button.
Data Classification
Step 1: Open the “Classify” tab .
Step 2: Select choose option and select “Naïve bayes” classifier technique.
Step 3: Now select any of the test option form the given menu to classify the dataset and the
click on start
Step 2: Click on choose button and select the required Clustering algorithm.
Step 3: Here we have selected the “SimpleKMeans” Algorithm.