Appendix A: Using the Demonstration Code on the CD-ROM
Appendix A: Using the Demonstration Code on the CD-ROM
Data Format
The data must be in a comma-delimited ASCII file. The first line of the file contains the comma-delimited variable names. DP will automatically type the variables as numerical if the first value contains a number or categorical if the first value starts with an alphabetic character.
Various control flags can be added after the variable name in the form VarName. The available flags are
N
Treat the variable as numerical. Values containing nonnumeric characters will be treated as nulls.
C
Treat the variable as categorical.
P
Treat the variable as the dependent or prediction variable.
X
Exclude the variable from analysis.
K
Key variable?exclude the variable from analysis but copy to the output file.
Control Variables
The operation of the DP program is controlled by an ASCII file containing names of control variables and their values: one control value per line separated by spaces from the value. Comments can be included by preceding them with a double slash (//).
IPFileName
Input file name
OPFileName
Output file name
ConfLevelSmpl
Confidence level to stop sampling
ConfLevelDrop
Confidence level to drop a variable
ConfLevelNum
Confidence level for numerating categoricals
CatCntDrop
Categorical count to Sample count drop ratio. That is, if CatCntDrop = 0.6, then if the number of unique categories in a variable is greater than 0.6 x number of sample rows, the variable will be dropped from further processing.
ReplaceMissing
1 if replace missing values
MaxNumDimension
Maximum dimension to...
Copyright Morgan Kauffmann Publishers, Inc. 1999 under license agreement with Books24x7