Forums

Syntax error

Hi Guys, am trying to build a decision tree. However am getting the a syntax error on the following code: class decisionode: def_init_(self,col=-1,value=None,results=None,tb=None,fb=None):

I kindly need a second pair of eyes for this one...Please help

You need a space after def and 2 _s on each side of init.

Thanks alot