Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在文档中读到 sklearn 对树使用 CART 算法。
是否有要更改的特定属性以使其类似于 c4.5 实现?
CART 和 C4.5 在某种程度上是相似的算法,但存在根本差异,这不会让您调整 sklearn 的实现以在不做大量工作的情况下获得 C4.5。
C4.5 使用规则集来决定在哪里拆分数据,而 CART 仅使用数字拆分标准。
你可以看看C4.5的这个实现