Changeset 1891 for trunk/sources/HeuristicLab.GP.StructureIdentification.Classification/3.3/MulticlassOneVsOneAnalyzer.cs
- Timestamp:
- 05/25/09 17:46:17 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.GP.StructureIdentification.Classification/3.3/MulticlassOneVsOneAnalyzer.cs
r1796 r1891 86 86 BakedTreeEvaluator evaluator = new BakedTreeEvaluator(); 87 87 evaluator.ResetEvaluator(dataset, targetVariable, trainingSamplesStart, trainingSamplesEnd, 1.0); 88 88 evaluator.PrepareForEvaluation(functionTree); 89 89 for(int i = 0; i < (samplesEnd - samplesStart); i++) { 90 double est = evaluator.Evaluate( functionTree,i + samplesStart);90 double est = evaluator.Evaluate(i + samplesStart); 91 91 if(est < 0.5) { 92 92 CastVote(votes, i, classAValue, classValues);
Note: See TracChangeset
for help on using the changeset viewer.