Skip to content

Point of entry to the code #1

@joniali

Description

@joniali

Hi, I was trying to run your code to recreate the results in your paper. I am not sure what is the point of entry to the code. I have tried the following things:

I ran all the following scripts with compas_violent_processed that you provided.

  1. Run test_flipped_trianing, results in following error:

OSError: file data/compas_violent_processed.pickle not found

This expects the data to be in pickle format, while the data in the repository is in csv format. Do I need to save it in pickle?

  1. Running exp ex_solve_disc_mip results in following error:

File "scripts/ex_solve_disc_mip.py", line 35, in
assert baseline_file_name.exists()
AssertionError

  1. Running test_mip, pointing to the dataset you have uploaded, results in following error:

File "eqm/tests/test_mip.py", line 36, in
mip = ZeroOneLossMIP(data = data, settings = test_settings)
File "/predictive_multiplicity/eqm/mip.py", line 527, in init
cpx, info = build_mip(self.data, settings = self.SETTINGS, var_name_fmt = self.VAR_NAME_FMT, **kwargs)
TypeError: build_mip() got multiple values for keyword argument 'settings'

I am using Python 3.7 and I had to correct the imports, i.e., I had to add the eqm directory in the path variable.

Should the code run out of the box with the given data or do I have to change something? Any help you can provide would be great!

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