Skip to content

Commit

Permalink
forgot something
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrm0 committed Mar 29, 2017
1 parent 8345e06 commit 53613bc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ test-shapley:
$(TIME) python qii.py -m shapley final.csv

test:
python qii.py -m average-unary-individual final.csv
python qii.py -m unary-individual final.csv
python qii.py -m discrim final.csv
python qii.py -m banzhaf final.csv
python qii.py -m shapley final.csv
$(TIME) python qii.py -m average-unary-individual final.csv
$(TIME) python qii.py -m unary-individual final.csv
$(TIME) python qii.py -m discrim final.csv
$(TIME) python qii.py -m banzhaf final.csv
$(TIME) python qii.py -m shapley final.csv

clean:
rm -Rf *.pyc
Expand Down
6 changes: 3 additions & 3 deletions ml_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,9 @@ def get_arguments():
parser.add_argument('-c', '--classifier', default='logistic', help='Classifier to use',
choices=['logistic', 'svm', 'decision-tree', 'decision-forest'])

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

0 comments on commit 53613bc

Please sign in to comment.