Home | Trees | Indices | Help |
|
---|
|
|
|||
|
|||
|
|||
|
|
Tries to extract a filename from the command line. If none is present, it prompts the user for a filename and tries to open the file. If the file exists, it returns it, otherwise it prints an error message and ends execution. |
This function creates a list of exmaples data (used to learn the d-tree) and a list of samples (for classification by the d-tree) from the designated file. It then creates the d-tree and uses it to classify the samples. It prints the classification of each record in the samples list and returns the d-tree. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Aug 19 16:46:45 2009 | http://epydoc.sourceforge.net |