Presentation is loading. Please wait.

Presentation is loading. Please wait.

Neural Networks Demystified by Louise Francis Francis Analytics and Actuarial Data Mining, Inc.

Similar presentations


Presentation on theme: "Neural Networks Demystified by Louise Francis Francis Analytics and Actuarial Data Mining, Inc."— Presentation transcript:

1

2 Neural Networks Demystified by Louise Francis Francis Analytics and Actuarial Data Mining, Inc. louise_francis@msn.com

3 Objectives of Paper Introduce actuaries to neural networks Show that neural networks are a lot like some conventional statistics Indicate where use of neural networks might be helpful Show how to interpret neural network models

4 Data Mining Neural networks are one of a number of data mining techniques Methods primarily developed in artificial intelligence and statistical disciplines to find patterns in data Typically applied to large databases with complex relationships

5 Some Other Data Mining Methods Decision trees Clustering Regression splines Association rules

6 Some Data Mining Advantages Nonlinear relationships Interactions Multicollinearity

7 Data Mining: Neural Networks One of more established approaches Somewhat glamorous AI description: they function like neurons in the brain

8 Neural Networks: Disadvantages They are a black box User gets a prediction from them, but the form of the fitted function is not revealed Don’t know which variables are the most important in the prediction

9 Kinds of Neural Networks Supervised learning Multilayer perceptron Also known as backpropagation neural network Paper explains this kind of NN Unsupervised learning Kohonen neural networks

10 The MLP Neural Network THREE LAYER NEURAL NETWORK Input Layer (Input Data) Hidden Layer (Processes Data) Output Layer (Predicted Value)

11 The Activation Function The sigmoid logistic function

12 The Logistic Function

13

14

15 Other Data is usually normalized Usually both independent and dependent variables transformed to lie in range between 0 and 1

16 Logistic Function

17 Fitting the curve Typically use a procedure which is like gradient descent

18 Fitting a nonlinear function

19 Graph of nonlinear function

20 Fitted Weights Table 4 W0W0 W1W1 Node 1-4.1077.986 Node 26.549-7.989

21 Hidden Layer Table 5 W0W0 W1W1 W2W2 6.154-3.0501-6.427

22 Selected Fitted Values for function Table 6 Computation of Predicted Values for Selected Values of X (1)(2)(3)(4)(5)(6)(7) ((1)-508)/4994 6.15-3.05*(3)- 6.43*(4) 1/(1+exp(-(5))6.52+3.56*(6) XNormalized XOutput of Node 1 Output of Node 2 Weighted Hidden Node Output Output Node Logistic Function Predicted Y 508.480.000.0160.999-0.3230.4207.889 1,503.000.220.0880.992-0.4980.3787.752 3,013.400.560.5960.890-1.3920.1997.169 4,994.801.000.9800.1901.9370.8749.369

23 Hidden and Output Layer

24 Fit of Curve with 2 Nodes

25 Fit of Curve with 3 Nodes

26 Universal Function Approximator The multilayer perceptron neural network with one hidden layer is a universal function approximator Theoretically, with a sufficient number of nodes in the hidden layer, any nonlinear function can be approximated

27 Correlated Variables Variables used in model building are often correlated. It is difficult to isolate the effect of the individual variables because of the correlation between the variables.

28 Example of correlated variables

29 A Solution: Principal Components & Factor Analysis

30 Factor Analysis: An Example

31 Factor Analysis

32

33 Correlated Variables: An Example Workers Compensation Line Produce an economic inflation index Wage Inflation Medical Inflation Benefit Level Index In simplified example no other variable drives severity results

34 Factor Analysis Example X1 = b 1 Factor1 X2 = b 2 Factor1 X3 = b 3 Factor1 Index =.395 (Wage Inflation)+.498(Medical Inflation)+.113(Benefit Level Inflation)

35 Factor Analysis Example

36 Interpreting Neural Network Look at weights to hidden layer Compute sensitivities: a measure of how much the predicted value’s error increases when the variables are excluded from the model one at a time

37 Interpretation of Neural Network Table 9: Factor Example Parameters W0W0 W1W1 W2W2 W3W3 2.549-2.802-3.0100.662 Table 10 Sensitivities of Variables in Factor Example Benefit Level23.6% Medical Inflation33.1% Wage Inflation 6.0%

38 Interactions: Another Modeling Problem Impact of two variables is more or less than the sum of their independent impacts.

39 Interactions: Simulated Data

40 Interactions: Neural Network

41 Interactions: Regression

42 Example With Messy Data

43

44 Visualizing Neural Network Result

45

46 Visualization of Law Change Effect

47 Visualization of Inflation

48 How Good Was the Fit?

49


Download ppt "Neural Networks Demystified by Louise Francis Francis Analytics and Actuarial Data Mining, Inc."

Similar presentations


Ads by Google