Data Mining (2) --- data

Source: Internet
Author: User

In the previous article, we roughly introduced some knowledge about data mining. Let's talk about the data problems in data mining.

There is no doubt that in data mining, data is the top priority. in data mining, the preliminary work of data will basically take a lot of time.DatasetIt can be viewed as a collection of data objects. A data object is simply a set of object attributes.AttributeWe can also be called variables, features, fields or dimensions. Attribute types include nominal (nouns), numberic (numeric), and can also be subdivided.

 1. Dataset

There are many types of data sets we mine, such:

1) Record Data: Record Data is a collection of records. Each record contains a fixed set of data fields. Such record files are usually stored in relational databases.

A:Transaction ):It is a special type of record data, where each record (transaction) involves a series of items, such as shopping basket data, each row represents a customer's purchased goods:

B:Data Matrix ): If all data objects in a dataset have the same numerical set, they can be expressed using a matrix, such as a document-word matrix.

2) graphic-based data

3) ordered data, such as amino acid sequences and time series data...

4) non-recorded data (webpage or something )...

 

2. dataset problems and pre-processing

The quality of datasets is critical, but the datasets we collect often have many problems. At this time, we need to perform a lot of preliminary processing on the data.

1. Data quality problem:

  • Noise and outliers (noise and outlier)
  • Missing Value (missing value, some record object attribute values do not exist)
  • Duplicate data (duplicate data will affect the mining algorithm)

Noise: it refers to the random part of the measurement error. Therefore, it is often assumed to be Gaussian distribution.

Outlier: it refers to a data object that is different from the features of most other data objects in a data set in a sense, but it is not noise. Sometimes we are more concerned about these outliers, for example, fraud...

Missing Value: it is common to omit one or two attribute values for an object, but these missing values must be processed during data analysis. (You can delete missing attribute values and fill in missing attribute values ...)

2. Preparing the input (data preparation)

(1) data cleaning (Data cleanup)Some methods are used to process noise, missing attribute values, and outliers. clustering, linear analysis, and binning can be used to process data smoothing.

(2) Data Integration (Data integration)It is to combine two or more objects into a single recording object. For example, considering the rainfall problem in a country, we can combine the rainfall of 12 months into a year's rainfall.

(3) Data Transformation (data conversion)To normalize or standardize data. Generally, when the interval of two attribute values is very different, it will affect the mining performance of later algorithms. Therefore, data is generally converted to the same value range. You can use the following methods:

  • Min-max Normalization: S = (S-min)/(max-min );
  • Z-score normalization: S = s-mean/Normalization
  • Normalization by decimal Scaling: S = S/D

(4) discretization etc discretization, etc.

(5) Data Reduction)

Disaster recovery:

It means that with the increase of data dimensions, many data analysis becomes very difficult. Especially with the increase of dimensions, the space occupied by data becomes increasingly sparse. For classification problems, this means that there is not enough data to create a model. Clustering means that the point density and distance are meaningless. As a result, the accuracy of clustering algorithms is reduced for many types of high-dimensional data.

Solution:

1. Dimension Conventions use linear methods most often to map high-dimensional data to low-dimensional spaces, such as PCA...

2. feature subset selection: You can use only one subset of a feature to reduce the dimension of the data. It may seem that the original data information will be lost, but when the dataset has related data, it is very reliable. In fact, the decision tree is such a selection of subset features. Feature subset extraction process:

Generally, a feature subset is a process of searching all possible feature subsets and multiple search strategies can be used. However, an indispensable step for searching is the evaluation step, evaluate the current feature subset based on the subset that has been considered. Because it takes a lot of time to enumerate the feature subsets, there is usually a Stop Judgment to end the feature selection process (such as the number of iterations ...)

Feature Extraction)

Create a new feature set from the original data. For example, the original feature attribute of a photo is a set of pixels. However, this feature is not suitable for many classification algorithms. Therefore, we can process these pixel data, some algorithms can be used to analyze some high-level features, such as image edges.

Data Mining (2) --- data

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.