i'm trying to use AI::DecisionTree http://search.cpan.org/~kwilliams/AI-DecisionTree-0.09/DecisionTree.pm.My data throws an error saying that it is noisy - so I want to set the noisemode to select best
here is the section from the documentation
new(...parameters...)
Creates a new decision tree object and returns it. Accepts the following parameters:
noise_mode
Controls the behavior of the train() method when "noisy" data is encountered. Here "noisy" means that two or more training instances contradict each other, such that they have identical attributes but different results.
If noise_mode is set to fatal (the default), the train() method will throw an exception (die). If noise_mode is set to pick_best, the most frequent result at each noisy node will be selected.
Could someone show me the exact declaration to do this?
2) Also I'm trying to install the graphviz module inorder to get my drawing output - i am on activestate perl 5.10 on windows XP.i tried to download the module out of CPAN since it is not available in ppm.I have already installed graphviz - it fails make saying that it cannot find "dot.exe".Any help installing this module would be greatly appreciated.
ThanksIn reply to 2 questions with regard to ai::decisiontrees by smanicka
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |