spark-tree-plotting icon indicating copy to clipboard operation
spark-tree-plotting copied to clipboard

AttributeError: 'DecisionTreeModel' object has no attribute '_java_obj' for Spark 2.4.0

Open amy-koh opened this issue 7 years ago • 0 comments

On trying to generate the json representation of a tree model by calling tree_json = generate_tree_json(model), the following error is thrown:

AttributeError: 'DecisionTreeModel' object has no attribute '_java_obj'

amy-koh avatar Jan 02 '19 12:01 amy-koh