‘>’ not supported between instances of ‘int’ and ‘NoneType’
How to correct this error getting in divide_data()
Decision Tree, DT 5
hey @amanbh_123 ,
can you please check the type of operators in which you are using the >
operation.
Your errors says that you are performing it between a int and Nonetype values.
check it once.
If still stucked, then kindly share the code.
Sir here I am trying to build tree but it is getting stopped and showing error in my divide_data function
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.