Docsity

Artificial Neural Techniques in Data Mining Techniques | DSC 433, Exams of Humanities

Toggle sidebar
bg1
Data Mining Techniques
Chapter 7:
Artificial Neural Networks
Artificial Neural Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Neural network example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Inputs and output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Neural network process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
What is a neural net?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Aneuron ............................................................. 7
Feed-forward neural net example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
How neural nets learn. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Neural net heuristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Choosing training sample . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Preparing data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Other considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1
pf3
pf4
pf5

Partial preview of the text

Download Artificial Neural Techniques in Data Mining Techniques | DSC 433 and more Exams Humanities in PDF only on Docsity!

Data Mining Techniques

Chapter 7:

  • Artificial Neural Networks Artificial Neural Networks
  • Neural network example
  • Inputs and output
  • Neural network process
  • What is a neural net?
  • A neuron
  • Feed-forward neural net example
  • How neural nets learn.
  • Neural net heuristics.
  • Choosing training sample
  • Preparing data
  • Other considerations

Artificial Neural Networks

  • Biological neural networks: human brain enables people to generalize from experience.
  • Artificial neural networks: computers generalize and learn from experience.
  • Black box technique: little insight into how the model works or what the computer has done.
  • History: ideas developed in computer science and artificial intelligence.
  • Case study: real estate appraisal (p 213–8):

◦ realtors combine features of a house (size, age, neighborhood, etc.) to come up with a valuation; ◦ computer can do the same thing via a neural network model (see next slide).

©c Iain Pardoe, 2006 2 / 13

Neural network example

  • Inputs well understood, but how to combine (weight) them is unknown.
  • Output well understood.
  • Experience is available (lots of training data).
  • Training presents known examples (data from previous sales) to the network so that it can learn how to calculate the sales price: ◦ e.g., iteratively adjust weights to find best ones for predicting price (minimize overall error).

©c Iain Pardoe, 2006 3 / 13

Inputs and output

  • Inputs usually standardized or rescaled to lie between − 1 and +1 (to avoid inputs with large ranges dominating the network): ◦ quantitative: standardize (XLMiner: “normalize”); ◦ quantitative (alternative): 2(X − mX )/rX , where mX is halfway between the minimum and maximum and rX is the range; ◦ ordered qualitative/categorical: map different categories to numbers between − 1 and +1; ◦ unordered qualitative/categorical: create − 1 / + 1 inputs for pairs of categories.
  • Output is usually in the range 0 to 1 (or sometimes − 1 to +1) and needs to be mapped back to original scale for deployment.

©c Iain Pardoe, 2006 4 / 13

A neuron

XLMiner has two types of transfer function:

  • standard (logistic);
  • symmetric (hyperbolic tangent).

©c Iain Pardoe, 2006 7 / 13

Feed-forward neural net example

©^ c Iain Pardoe, 2006 8 / 13

How neural nets learn

  • Learn using back propagation:

◦ feed classification/prediction errors back through network and adjust weights to reduce errors.

  • Alternative methods, e.g., conjugate gradient:

◦ see p. 230 (jolly green giant).

  • After a number of iterations/generations/epochs, errors and weights no longer change and algorithm stops.
  • Tuning parameters:

◦ learning rate (step size for gradient descent); ◦ weight change momentum.

©c Iain Pardoe, 2006 9 / 13

Other considerations

  • Interpreting results: convert output to quantitative prediction for prediction network or probability for classification network.
  • Neural networks for time series.
  • Neural networks are hard to understand (black box), but sensitivity analysis can offer limited insight into input effects on a test set.
  • Self-organizing maps (aka Kohonen networks) use undirected neural networks for clustering.
  • Examples:

◦ p. 252–4 in book; ◦ BMW airbags—neural networks used to determine which airbags to deploy in a crash based on characteristics of the crash.

©c Iain Pardoe, 2006 13 / 13