137alpha commented on pull request #32813:
URL: https://github.com/apache/spark/pull/32813#issuecomment-858098899


   I'm not at all familiar with the code, but it looks like the nodes may have 
a .prob() method which could be a drop in replacement for the .predict() method 
(the latter of which gives the class prediction). 
   
   So a change to use probability pruning rather than class pruning could be 
quite straightforward. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to