Changeset 10965:873ff9bf106c in orange


Ignore:
Timestamp:
08/16/12 11:58:09 (20 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Set distribution variable in 'SimpleTreeLearner.classDistribution'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/orange/tdidt_simple.cpp

    r10767 r10965  
    882882 
    883883        PDistribution pdist = mlnew TDiscDistribution(this->cls_vals, 0.0); 
     884        pdist->variable = this->classVar; 
    884885        for (i = 0; i < this->cls_vals; i++) 
    885886            pdist->setint(i, dist[i]); 
Note: See TracChangeset for help on using the changeset viewer.