Skip to content

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

@amy-koh

Description

@amy-koh

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions