fork download
  1. CPairTree::CPairTree(const HyperParameters &hp)
  2. :m_hp( hp ), m_nTreeID(-1)
  3. {
  4. if (hp.useRandProj){
  5. m_rootNode = CPairNode::Ptr(new CPairNodeHyperPlane(hp, 0, 0));
  6. }
  7. else
  8. {
  9. if (hp.useInfoGain)
  10. {
  11. m_rootNode = CPairNode::Ptr(new CPairNodeInfoGain(hp, 0, 0));
  12. }
  13. else
  14. {
  15. m_rootNode = CPairNode::Ptr(new CPairNodeGini(hp, 0, 0));
  16. }
  17. }
  18. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:1:2: error: 'CPairTree' does not name a type
stdout
Standard output is empty