''DecisionTreeClassificationModel' object has no attribute 'stages'
Solution 1:[1]
Stages are used for pipeline models, if you fit your model using pipeline you can call model.stages
.
For normal decision tree models you should just call model.toDebugString
Hope this answers your question.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | ahembal |