Decision Tree Implementation returning null

Disclaimer: Dieser Thread wurde aus dem alten Forum importiert. Daher werden eventuell nicht alle Formatierungen richtig angezeigt. Der ursprüngliche Thread beginnt im zweiten Post dieses Threads.

Decision Tree Implementation returning null
Surprisingly many of your java implementations just return null in the getTree method. I’m confused as to the prevalence of that. Can anybody tell me why that seems to be such a popular mistake? (Just to clear up any potential confusion in the assignment itself)