Neural Network Modeling and Response Surface Visualization
Software Instruction Manual

John J. Shi
October 10, 2002
SECTION ONE: Installation & Startup
1. Minimum System Requirements
SECTION TWO: Model Visualization and Prediction
The software was developed using Microsoft® Visual C++ 6.0® and OpenGL® technologies. So that normally the program can run in any Microsoft® Windows® systems newer than Microsoft® Windows® 98. The user just copies all the files in the directory of “\Copy” into some “C:\rs” directory (C: is your any hard disk).

The main interface includes four major parts menu, toolbar, status bar and the screen.
|
Menu items |
Functions |
|
|
File |
Predict value |
Use the model to predict value. |
|
Sensitivity analysis |
Calculate the sensitivity of every two inputs and one output and select the most sensitive to display. |
|
|
View |
Original data Weights Response surface data |
Show the original data sheet. Show weights of the neural network. Show data sheet of the response surface generated. |
|
Generate response surface data |
Choose two input parameters and one output parameter, and select values of other inputs to generate response surface. |
|
|
Draw |
Pan/Zoom Rotate Select |
Move/Resize the surface Rotate surface Select certain grid in the surface |
|
Ortho Perspective |
Orthogonal view Perspective view |
|
|
X-View Y-View Z-View |
Projected on X, Y, Z respectively. |
|
|
Free View Default View |
3D display Return back to original free view. |
|
|
Show/Hide Axis |
Axis display switch |
|
|
Solid Wire Points |
Display mode |
|

Figure 2: Toolbar.
Main functions of the status bar include:
The screen is used to display and operate the response surface.
Click the button
, the
following window will pop up.
The left-hand side of the window includes three list boxes. They are used by the user to select two input parameters and one output parameter, respectively.
The right-hand side of the window is grid like control, which is used to enter the values of all input parameters.
Finally, click the OK button to return back the main interface of the system, the response surface data will be generated automatically and displayed in the screen.

The program offers many fundamental facilities to operate the surface, thus to get a better view of the surface.
Click the button
; the
program switches into the Select mode.
Then, the user can use the mouse to click the screen near the grid he/she wants to concern.
After this, the screen displays the selected grid in the red color as shown in the following figure.

The status bar also shows the values of the three coordinates. They stand for the two inputs and one output accordingly. The following figure shows the value of first input is 2.935832; the second is 2.260870; and the output value is 4.341903 (It will spoil in the fifth week).
![]()
Click the button
; the
program switches into the Rotate mode.
By default, the program lets the user rotate the scene around the Z axis. The user can press Tab to switch the rotating axis from Z, to X, Y, and back to Z.
Press down the left-mouse (left button of the mouse). The
cursor changes to
.
Move the mouse left or right to rotate the scene in two adverse directions respectively.
Release the mouse and the cursor returns back to the normal shape.
Click the button
; the
program switches into the Pan/Zoom mode.
Press down the left-mouse. The cursor changes to
.
Move the mouse to pan the scene to any position in the screen until the user release the mouse. And then, the cursor returns back to the normal shape.
Press down the right-mouse. The cursor changes to
.
Move the mouse up or down to enlarge or reduce the scene until the user release the mouse. And then, the cursor returns back to the normal shape.
Click the button
; the
program display the 3D surface in the screen. Then the user can operate the
scene as above described in the sub section 2.
Click
; the program
returns to the default view when the 3D surface is shown in the screen. The
scene goes back to the initial position and is displayed in the initial
directions.
Click the button
to view the X projection
of the surface. Click
and
to display the
projects on the Y and Z axis respectively.
A data grid facility is provided by the program to show the original data that was used to train the network; and the weights of the trained network that is used to model the problem.
Click the button
;
the program pops up the following dialog window. Major part of the facility is
a grid control. The first line displays the titles of the parameters. Green
title stands for input parameter; and blank title for output. The first column
of the grid marks the number of the rows.

Click the button
; the
program pops up the following dialog window. Similarly, the grid control
displays all weight data.
The network has three layers and two matrixes representing the weights between input and middle, and between middle and output. The user clicks buttons “<” and “>” below the OK button to browse between the two grids.
Click OK button to return.

This facility can help the user to find the most “sloping” surface.
Click the button
; the
program will calculate the StDev statistic of the
simulated output for every combination of two inputs and one output. The
combination with the largest StDev value will be
selected to display in the screen.
This facility is to predict output value based on the user’s inputs.
Click the button
; the
program pops up the following dialog window.
The left-hand side is used for the user to enter the input values (mean values are given by default); and the right-hand side will display the output value after the user clicks the “>Predict>” button.
Click the OK button to return.
