5. Command Reference and Toolbar

5.1 File

5.2 Edit

5.3 Data

5.4 Real

5.5 Integer

5.6 Average

5.7 Example

5.8 Window

5.9 Help

5.10 Toolbar and Status Bar


5.   Command Reference and Toolbar

5.1   File

File/New
 

Use the "New" command to create an empty file window. This window will be used for editing the data file.


File/Open
 

Use the "Open" command to open an existing file.


File/Close
 

Use the "Close" command to close an existing file.


File/Save
 

Use the "Save" command to immediately store the contents of the current window to a file while leaving the window active. "Save" can also be used to save your most recent change to a disk.


File/Save As
 

Use the "Save As" command to immediately store the contents of the current window to a file which you specify. If a window is untitled, "Save As" should be used to save your most recent changes to the disk.


File/Print Preview
 

Use the "Print Preview" command to preview before printing.


File/Print
 

Use the "Print" command to print the contents of a data file window.


File/Print Setup
 

Use the "Print setup" command to set up the printer before you print.


File/Exit
 

Use the "Exit" command to leave DecisionMaker for Windows 95/98 and return to MS Windows 95/98.



5.2   Edit

Edit/Undo
 

Use the "Undo" command to reverse the most recent edit-actions. This command can only apply to editing, not training.


Edit/Cut
 

Use the "Cut" command to cut the contents of the selected text. The Cut command also copies the contents of the selected text to the Windows 95/98 Clipboard.


Edit/Copy
 

Use the "Copy" command to copy the contents of the selected text to the Windows 95/98 Clipboard.


Edit/Paste
 

Use the "Paste" command to place the contents of the Windows 95/98 Clipboard into a selected position.


Edit/Clear All
 

Use the "Clear All" command to delete all contents of a data file.


Edit/Delete
 

Use the "Delete" command to delete the contents of the selected text.


Edit/Find
 

Use the "Find" command to find a pattern in the data files.


Edit/Replace
 

Use the "Replace" command to replace one pattern in the data file by another.


Edit/Next
 

Use the "Next" command to repeat the last Find or Replace.


Edit/Font
 

Use the "Font" command to replace the current font.



5.3   Data

Data/Link

Use the "Data/Link" command to Click the command and a dialog box will be presented. By default, the DecisionMaker will select the following names:

Problem database file: example2a.txt

Question file: example2b.txt

Answer file: example2c.txt

Precision: 10

The precision-level determines the precision of each variable. The precision-level determines how many different values a variable can have. Data/Input Use the "Data/Input" command to open the Problem-Database & Question files directly without specifying the file name. This command will open the 2 files specified by "Data/Link". Data/Output Use the "Data/Output" command to open the answer file directly without specifying the file name. This command will open the answer file specified by "Data/Link". Data/Test
    Use the "Data/Test " command to test the Problem-Database & Question files. Let your Question file be "Example2b.txt"; if you have problems with the test, then copy "example2b.txt" to "example3b.txt", and clear example2b.txt. Next, you cut a small portion of example3b.txt, paste it back to example2b.txt and run the test again. In this way, you can locate the error and correct it. If the error is not corrected, the DecisionMaker will not run.
              .56 instead of 0.56;

5.4   Real

Real/+ Predict
 

Use the " Real/+ Predict" command to predict the upper bound of variables. DecisionMaker presents you with all possible predictions and how valuable the DecisionMaker thinks that prediction is via a confidence number (the higher that number, the more confidence the DecisionMaker has in that prediction).

The results of prediction will be saved in the answer file. If an error occurs in your Problem-Database or Question file, this command will suggest you test the Question data file first.


Real/-- Predict
 

Use the " Real/-- Predict" command to predict the lower bound of variables. DecisionMaker presents you with all possible predictions and how valuable the DecisionMaker thinks that prediction is via a confidence number (the higher that number, the more confidence the DecisionMaker has in that prediction).

The results of prediction will be saved in the answer file. If an error occurs in your Problem-Database or Question file, this command will suggest you test the Question data file first.
 

Real/0 Predict
 
Use the " Real/0 Predict" command to predict the correct answer of variables. This command is more accurate than "Real/-- Predict" and "Real/-- Predict ", however, this command sometime does not produce any results and you are forced to use the other two commands. DecisionMaker presents you with all possible predictions and how valuable the DecisionMaker thinks that prediction is via a confidence number (the higher that number, the more confidence the DecisionMaker has in that prediction).

The results of prediction will be saved in the answer file. If an error occurs in your Problem-Database or Question file, this command will suggest you test the Question data file first.


Real/+ Enumerative
 

Use the " Real/+ Enumerative" command to predict the upper bound of variables. This command is similar to "Real/+ Predict", but it goes through every possible outcome while " Real/+ Predict" only checks the important possibilities.


Real/-- Enumerative
 

Use the " Real/-- Enumerative" command to predict the lower bound of variables. This command is similar to "Real/-- Predict", but it goes through every possible outcome while "Real/-- Predict" only checks the important possibilities.


Real/0 Enumerative
 

Use the "Real/0 Enumerative" command to predict the correct answer of variables. This command is similar to "Real/0 Predict", but it goes through every possible outcome while "Real/0 Predict" only checks the important possibilities.

5.5   Integer
 

Integer/+ Predict
 

Use the " Integer/+ Predict" command to predict the upper bound of variables. DecisionMaker presents you with all possible predictions and how valuable the DecisionMaker thinks that prediction is via a confidence number (the higher that number, the more confidence the DecisionMaker has in that prediction).

The results of prediction will be saved in the answer file. If an error occurs in your Problem-Database or Question file, this command will suggest you test the Question data file first.


Integer/-- Predict
 

Use the " Integer/-- Predict" command to predict the lower bound of variables. DecisionMaker presents you with all possible predictions and how valuable the DecisionMaker thinks that prediction is via a confidence number (the higher that number, the more confidence the DecisionMaker has in that prediction).

The results of prediction will be saved in the answer file. If an error occurs in your Problem-Database or Question file, this command will suggest you test the Question data file first.


Integer/0 Predict
 

Use the " Integer/0 Predict" command to predict the correct answer of variables. This command is more accurate than "Integer/-- Predict" and "Integer/-- Predict ", however, this command sometime does not produce any results and you are forced to use the other two commands. DecisionMaker presents you with all possible predictions and how valuable the DecisionMaker thinks that prediction is via a confidence number (the higher that number, the more confidence the DecisionMaker has in that prediction).

The results of prediction will be saved in the answer file. If an error occurs in your Problem-Database or Question file, this command will suggest you test the Question data file first.


Integer/+ Enumerative
 

Use the " Integer/+ Enumerative" command to predict the upper bound of variables. This command is similar to "Integer/+ Predict", but it goes through every possible outcome while " Integer/+ Predict" only checks the important possibilities.

 

Integer/-- Enumerative
 

Use the " Integer/-- Enumerative" command to predict the lower bound of variables. This command is similar to "Integer/-- Predict", but it goes through every possible outcome while "Integer/-- Predict" only checks the important possibilities.


Integer/0 Enumerative
 

Use the "Integer/0 Enumerative" command to predict the correct answer of variables. This command is similar to "Integer/0 Predict", but it goes through every possible outcome while "Integer/0 Predict" only checks the important possibilities.

5.6   Average

Average/+ Real
 

This command is similar to "Real/+ Predict", but it only prints one weighted average.


Average/-- Real
 

This command is similar to "Real/-- Predict", but it only prints one weighted average.


Average/0 Real
 

This command is similar to "Real/0 Predict", but it only prints one weighted average.


Average/+ Real Enumerative
 

This command is similar to "Real/+ Enumerative", but it only prints one weighted average.


Average/-- Real Enumerative
 

This command is similar to "Real/-- Enumerative", but it only prints one weighted average.


Average/0 Real Enumerative
 

This command is similar to "Real/0 Enumerative", but it only prints one weighted average.


Average/+ Integer
 

This command is similar to "Integer/+ Predict", but it only prints one weighted average.


Average/-- Integer
 

This command is similar to "Integer/-- Predict", but it only prints one weighted average.


Average/0 Integer
 

This command is similar to "Integer/0 Predict", but it only prints one weighted average.


Average/+ Integer Enumerative
 

This command is similar to "Integer/+ Enumerative", but it only prints one weighted average.


Average/-- Integer Enumerative
 

This command is similar to "Integer/-- Enumerative", but it only prints one weighted average.


Average/0 Integer Enumerative
 

This command is similar to "Integer/0 Enumerative", but it only prints one weighted average.

5.7   Example

Example/Math Function (3, 3), 245
 

Use the "Example/Math Function (3, 3), 245" command to generate an example defined by:

y1 = ( x1 + x2 + x3 ) Mod 7;

y2 = x1;

y3 = x2 Mod 5;

(3, 3), 245 stands for 6 variables: 3 inputs and 3 outputs; and 245 classes. The data is generated as follows: assume initially that (x1, x2, x3) is in state (1 0 0), then it will generate (1 1 0). Now we will use (x1, x2, x3) = (1 1 0) as an question, then it will generate an answer (2 1 1), ...

There are 69 rows of data, which are divided into two parts: the first 64 rows will be the Problem-Database file and the last 5 rows will be the Question file.
 

Example/Math Mapping (5, 5), 3675
 
Use the "Example/Math Mapping (5, 5), 3675" command to generate an example defined by:

y1 = ( x1 + x2 + x3 ) Mod 7;

y2 = x1;

y3 = x2 Mod 5; 60%

y3 = ( x2 + 1 ) Mod 5; 40%

y4 = ( x4 + 1 ) Mod 5; 60%

y4 = ( x4 + 2 ) Mod 5; 40%

y5 = x4 Mod 3.

We will generate the data as follows: assume initially that (x1, x2, x3, x4, x5) is in state (1 0 0 0 0), then it will generate (1 1 0 1 0). Now we will use (x1, x2, x3, x4, x5) = (1 1 0 1 0) as an question, then it will generate an answer (2 1 2 3 1), ...

There are 9999 rows of data, which is divided into two parts: first 9994 rows will be the Problem-Database file and the last 5 rows will be the Question.
 

Example/Cancer Database (9, 1), 2
 
Use the "Example/Cancer Database (9, 1), 2" to open the Cancer database example in chapter 4.


Example/Car Database (6, 1), 4
 

Use the "Example/Car Database (6, 1), 4" to open the Car database example in chapter 4.


Example/Credit Approval Database (15, 1), 2
 

Use the "Example/Credit Approval Database (15, 1), 2" to open the Credit Approval database example in chapter 4.


Example/Ecoli Database (7, 1), 8
 

Use the "Example/Ecoli Database (7, 1), 8" to open Ecoli database example in chapter 4.


Example/Heart Disease Database (13, 1), 5
 

Use the "Example/Heart Disease Database (13, 1), 5" to open Heart Disease database example in chapter 4.


Example/Housing Database (13, 1), continuous
 

Use the "Example/Housing Database (13, 1), continuous " to open Housing database example in chapter 4.


Example/Forensic Science Database (9, 1), 7
 

Use the "Example/Forensic Science Database (9, 1), 7" to open Forensic Science database example in chapter 4.


Example/Nursery School Database (8, 1), 5, 12960
 

Use the "Example/Nursery School Database (8, 1), 5, 12960" to open Nursery School database example in chapter 4.


Example/Thyroid Database (27, 1) 20, 9172
 

Use the "Example/Thyroid Database (27, 1) 20, 9172" to open Thyroid database example in chapter 4.

5.8   Window

Window/Tile
 

Use the "Window/Tile" command to arrange your open data Windows so that all Windows are visible and roughly equally sized across the screen.


Window/Cascade
 

Use the "Window/Cascade" command to arrange your open data Windows so that all Windows are roughly equally sized and layered, leaving only their title bar and left border visible.


Window/Arrange Icons
 

Use the "Window/Arrange Icons" command to arrange the icons of data Windows. The icons for data Windows are created when you minimize the data file Windows.


Window/Close All
 

Use the "Window/Close All" command to close all of your opened data Windows.

5.9   Help

Help/Contents

To use on-line help, click Help|Contents or the Help-Button.

The on-line help has three parts:

 
Commands

This part lists all the commands in the Menu bar. They are:

Each one of them has a list of commands. Clicking any one of them will open a new list. For example, if you click File, a new list of commands will appear: Click any one of them, and the command will be explained. For example, if you click New, the following message will be displayed: "The File|New command opens a new, untitled document, and makes it the active window. The application prompts you to name untitled documents when they are closed."


Toolbar

The toolbar has 19 buttons. You can identify these buttons by putting (not clicking) the mouse on top of a button and reading the status bar. They are listed in the following order:
 

File/New;

File/Open;

File/Save;

Data/Link

Data /Input

Data /Output

Real/+ Predict

Real/0 Predict

Real/-- Predict

Integer/+ Predict

Integer /0 Predict

Integer /-- Predict

Edit/Cut;

Edit/Copy;

Edit/Paste;

Edit/Undo;

  File/Print;

File/Print Preview.

Help/Contents


After clicking Help/Contents, if you click Toolbar, the above buttons will appear, which links a button to a command. If you want to know what the command does, putting (not clicking) the mouse on top of a button and reading the status bar.

Procedure

Under the Procedure, you will see:

They are: of this menu, respectively. Click any one of the procedures and the related text will appear. .

Help/Using Help
 

The Help|Using Help displays the help Index.


Help/Note

Use the "Help/Note" command to open your private notes about the software. You can write your own notes here. Help/About Use the "Help/About" command to access the Attrasoft "About" information box. The "About" dialogue box contains information like the version number, the release date, the company address and the copyright information.

5. 10   Toolbar and Status Bar

DecisionMaker toolbar has the following buttons. They are listed in the following order:

File/New;

File/Open;

File/Save;

Data/Link

Data /Input

Data /Output

Real/+ Predict

Real/0 Predict

Real/-- Predict

Integer/+ Predict

Integer /0 Predict

Integer /-- Predict

Edit/Cut;

Edit/Copy;

Edit/Paste;

Edit/Undo;

File/Print;

File/Print Preview.

Help/Contents

You can identify these buttons by putting (not clicking) the mouse on top of a button and reading the status bar.

The status bar explains all the commands in the menu bar and all the buttons on the toolbar.