Professional Documents
Culture Documents
StringTokenizer Tokenizer
StringTokenizer Tokenizer
numAttributes = tokenizer.countTokens();
if (numAttributes <= 1) {
line");
output attribute");
return 0;
for (int i=0; i < numAttributes; i++) domainsIdea [I] = new Vector();
}while(true) {
input = bin.readLine();
if (input.startsWith("//")) continue;
if (input.equals("")) continue;
if (numtokens != numAttributes) {
return 0;
}DataPoint point = new DataPoint(numAttributes);
);
}root.data.addElement(point);
}bin.close();
return 1;
}public void printTree(TreeNode node, String tab) {
if (node.children == null) {
if (values.length == 1) {
domains[outputattr].elementAt(values[0]) + "\";");
return;
");
return;
}int numvalues = node.children.length;
domains[node.decompositionAttribute].elementAt(i)
+ "\") {" );
me.createDecisionTree();
}}
doc
Report
java
decision
tree
algorithm
Technology-Computer-Science
code c
decisions tree
tree classification
(more tags)
Pageman
Ads by Google
No Thanks
Related Documents
PreviousNext
1.
2 p.
83 p.
21 p.
2.
41 p.
2 p.
146 p.
3.
2 p.
430 p.
5 p.
4.
42 p.
21 p.
68 p.
5.
212 p.
2 p.
16 p.
6.
29 p.
2 p.
2 p.
7.
109 p.
1 p.
1 p.
8.
1 p.
20 p.
1 p.
9.
1 p.
3 p.
1 p.
10.
76 p.
21 p.
13 p.
11.
2 p.
37 p.
251 p.
12.
9 p.
7 p.
14 p.
13.
97 p.
21 p.
1 p.
14.
1 p.
127 p.
1 p.
15.
1 p.
1 p.
15 p.
16.
9 p.
1 p.
5 p.
17.
20 p.
144 p.
1 p.
18.
44 p.
1 p.
19 p.
19.
1 p.
1 p.
15 p.
20.
2 p.
11 p.
4 p.
21.
16 p.
PreviousNext
1.
1 p.
2 p.
1 p.
2.
2 p.
5 p.
4 p.
3.
4 p.
2 p.
4 p.
4.
2 p.
4 p.
3 p.
5.
21 p.
2 p.
2 p.
6.
5 p.
2 p.
3 p.
7.
3 p.
2 p.
4 p.
8.
48 p.
3 p.
3 p.
9.
2 p.
Recent Readcasters
Add a Comment
ba9277306bed2a
Submit
document_comme
4gen
plzzzzzzzzzz andy body tell me what is the format for in.txt file.. plzzzzzzz... and what is the
best IDE to implement this algorithm.. plzzzzz reply any body...
03 / 19 / 2010
Reply
Report
thank you for your uploding,but please add the" in.txt" file.please please please...
03 / 07 / 2010
Reply
Report
thanks, but, in which way the data in the input file is defined?
02 / 02 / 2010
Reply
Report
Is the .txt file attached some other place? Or is the format specified somewhere? Thanks!
11 / 16 / 2009
Reply
Report
ba9277306bed2a
public - locked
Save collection
ba9277306bed2a
public - locked
Save collection