-2
$\begingroup$

By default what tree generation algorithm is used to create decision tree? D3? C4.5, CART?

$\endgroup$
5
  • 1
    $\begingroup$ What tool are you using? You should check that documentation. $\endgroup$
    – Craig
    Feb 8, 2022 at 9:21
  • $\begingroup$ Thanks. Yes I know. But normally by default decision tree uses specific tool $\endgroup$ Feb 8, 2022 at 9:24
  • 2
    $\begingroup$ You use the tool. If you are using Python you could choose scikit-learn, h2o, spark, R (and its many tree packages), xgboost, etc. You could be using an R tree package or again Spark, h2o, xgboost or call Python tool. You could use Java and some of its tools. $\endgroup$
    – Craig
    Feb 8, 2022 at 9:48
  • $\begingroup$ So, which one normally python utilized in DT? D3? C4.5, CART? $\endgroup$ Feb 8, 2022 at 10:59
  • 1
    $\begingroup$ Python is a programming language. Which ML or Decision Tree tool are you using from Python. scikit, h2o, spark, R, SPSS, Salford, etc. $\endgroup$
    – Craig
    Feb 8, 2022 at 19:41

1 Answer 1

1
$\begingroup$

Assuming that you're using the scikit-learn library, the DT algorithm implemented is an optimized version of CART. From the documentation:

scikit-learn uses an optimised version of the CART algorithm; however, scikit-learn implementation does not support categorical variables for now.

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.