Skip to content

Commit

Permalink
fix things
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrm0 committed Mar 29, 2017
1 parent 53613bc commit 3176c9d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pylint: *.py
pylint -f parseable -j 4 *.py

test-shapley:
$(TIME) python qii.py -m shapley final.csv
$(TIME) python qii.py -m shapley final.csv --show

test:
$(TIME) python qii.py -m average-unary-individual final.csv
Expand Down
2 changes: 1 addition & 1 deletion ml_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def get_arguments():

parser.add_argument('--max_depth', type=int, default=2, help='Max depth for decision trees and forests')
parser.add_argument('--n_estimators', type=int, default=20, help='Number of trees for decision forests')
parser.add_argument('--seed', type=int, default=None, help='Random seed, auto seeded if not specified', type=int)
parser.add_argument('--seed', default=None, help='Random seed, auto seeded if not specified', type=int)

parser.add_argument('-i', '--individual', default=0, type=int, help='Index for Individualized Transparency Report')
parser.add_argument('-r', '--record-counterfactuals', action='store_true', help='Store counterfactual pairs for causal analysis')
Expand Down
2 changes: 1 addition & 1 deletion qii_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import pandas as pd
import numpy

RECORD_COUNTERFACTUALS = True
RECORD_COUNTERFACTUALS = False

def intervene(X, features, x0):
""" Constant intervention """
Expand Down

0 comments on commit 3176c9d

Please sign in to comment.