anchor-experiments icon indicating copy to clipboard operation
anchor-experiments copied to clipboard

XGBoost: File Not Found

Open alexlaurence opened this issue 6 years ago • 1 comments

When I run

python run_compute_explanations.py

I get this error (python 3.5, XGBoost 0.9)

Traceback (most recent call last):
  File "run_compute_explanations.py", line 11, in <module>
    outfile = open(outfile, 'w', 0)
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/adult-anchor-xgboost.log'

alexlaurence avatar Nov 11 '19 06:11 alexlaurence

I'm guessing you don't have a /tmp/ directory? Are you running this on windows? You can change the outfile path

marcotcr avatar Dec 20 '19 00:12 marcotcr