Skip to content

Errors when running xgboost and dense neural net tutorial decoders #1

Description

@srcole

I'm trying to get the tutorials to run, but I am having issues with 2 of the decoders.

When running cell 4C (xgboost), I get this error on line 686 of decoders.py
AttributeError: 'module' object has no attribute 'DMatrix'

When running cell 4E (dense neural net), I get an error in keras/backend/tensorflow_backend.py on line 1107 (when calling tf.python.control_flow_ops.cond):
AttributeError: 'module' object has no attribute 'control_flow_ops'

I'm using a python 3.4 conda virtual environment and installed keras by conda install -c conda-forge keras. and cloned the current version of xgboost.

Would appreciate any advice on how to get these working with my environment. Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions