Docsity

Data Mining - Classification and Prediction - Prediction, Study notes of Data Mining

Toggle sidebar
bg1
November 20, 2014 Data Mining: Concepts and
Techniques 1
Chapter 6. Classification and Prediction
•What is classification? What is
prediction?
•Issues regarding classification
and prediction
•Classification by decision tree
induction
•Bayesian classification
•Rule-based classification
•Classification by back
propagation
•Support Vector Machines
(SVM)
•Associative classification
•Lazy learners (or learning from
your neighbors)
•Other classification methods
•Prediction
•Accuracy and error measures
•Ensemble methods
•Model selection
•Summary
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Data Mining - Classification and Prediction - Prediction and more Study notes Data Mining in PDF only on Docsity!

November 20, 2014 Data Mining: Concepts and 1

Chapter 6. Classification and Prediction

  • (^) What is classification? What is prediction?
  • (^) Issues regarding classification and prediction
  • (^) Classification by decision tree induction
  • (^) Bayesian classification
  • (^) Rule-based classification
  • (^) Classification by back propagation - (^) Support Vector Machines (SVM) - (^) Associative classification - (^) Lazy learners (or learning from your neighbors) - (^) Other classification methods - (^) Prediction - (^) Accuracy and error measures - (^) Ensemble methods - (^) Model selection - Summary

November 20, 2014 Data Mining: Concepts and 2 What Is Prediction?

  • (^) (Numerical) prediction is similar to classification
    • (^) construct a model
    • (^) use model to predict continuous or ordered value for a given input
  • (^) Prediction is different from classification
    • (^) Classification refers to predict categorical class label
    • (^) Prediction models continuous-valued functions
  • (^) Major method for prediction: regression
    • (^) model the relationship between one or more independent or predictor variables and a dependent or response variable
  • (^) Regression analysis
    • (^) Linear and multiple regression
    • (^) Non-linear regression
    • (^) Other regression methods: generalized linear model, Poisson regression, log-linear models, regression trees

November 20, 2014 Data Mining: Concepts and 4

Straight-line regression using the method of least squares- EXAMPLE

  • Table shows aset of paired data where x is the number of years of work experience of a college graduate and y is the corresponding salary of the graduate. We model the relationship that salary may be related to the number of years of work experience with the equation y =w 0 + w 1 x
  • Given the above data, we compute x mean = 9.1 and y mean = 55.4. Substituting these values into equation we get w 1 = (3-9.1)(30-55.4) +(8-9.1)(57-55.4)+….+(16-9.1)(83-55.4) (3-9.1)^2 +( 8-9.1)^2 + ……+(16-9.1)^2 = 3. W 0 = 55.4 – (3.5)(9.1) = 23. Thus , the equation of the least squares line is estimated by y = 23.6 + 3.5x. Using this equation, we can predict that the salary of a college graduate with , say , 10 years of experience is $58,

November 20, 2014 Data Mining: Concepts and 5

  • (^) Some nonlinear models can be modeled by a polynomial function
  • (^) A polynomial regression model can be transformed into linear regression model. For example, y = w 0 + w 1 x + w 2 x^2 + w 3 x^3 convertible to linear with new variables: x 2 = x^2 , x 3 = x^3 y = w 0 + w 1 x + w 2 x 2 + w 3 x 3
  • (^) Other functions, such as power function, can also be transformed to linear model
  • (^) Some models are intractable nonlinear (e.g., sum of exponential terms) - (^) possible to obtain least square estimates through extensive calculation on more complex formulae

Nonlinear Regression

November 20, 2014 Data Mining: Concepts and 7 Regression Trees and Model Trees

  • (^) Regression tree: proposed in CART system (Breiman et al. 1984)
    • (^) CART: Classification And Regression Trees
    • (^) Each leaf stores a continuous-valued prediction
    • (^) It is the average value of the predicted attribute for the training tuples that reach the leaf
  • (^) Model tree: proposed by Quinlan (1992)
    • (^) Each leaf holds a regression model—a multivariate linear equation for the predicted attribute
    • (^) A more general case than regression tree
  • (^) Regression and model trees tend to be more accurate than linear regression when the data are not represented well by a simple linear model

November 20, 2014 Data Mining: Concepts and 8

  • (^) Predictive modeling: Predict data values or construct generalized linear models based on the database data
  • (^) One can only predict value ranges or category distributions
  • (^) Method outline:
    • (^) Minimal generalization
    • (^) Attribute relevance analysis
    • (^) Generalized linear model construction
    • (^) Prediction
  • (^) Determine the major factors which influence the prediction - (^) Data relevance analysis: uncertainty measurement, entropy analysis, expert judgement, etc.
  • (^) Multi-level prediction: drill-down and roll-up analysis Predictive Modeling in Multidimensional Databases

November 20, 2014 Data Mining: Concepts and 10 Prediction: Categorical Data