Skip to content

Error when running test_accuracy: __init__() got an unexpected keyword argument 'min_impurity_decrease' #4

Description

@pawelswoboda

After installing dependent packages in debian and running test_accuracy.py, I get the following error:

Traceback (most recent call last):
File "test_accuracy.py", line 107, in
file_CART=r'./accuracy/cart_compas.txt', file_OSDT=r'./accuracy/osdt_compas.txt')
File "test_accuracy.py", line 67, in test_accuracy
min_impurity_decrease=lamb
TypeError: init() got an unexpected keyword argument 'min_impurity_decrease'

How can I make it work?

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions