Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump pygments from 2.6.1 to 2.7.4 #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 Amir-Hossein Karimi, Julius von Kügelgen
Copyright (c) 2020 ANONYMOUS

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This repository provides code and examples for generating sub-population based a

First,
```console
$ git clone https://github.com/amirhk/recourse.git
$ git clone https://github.com/ANONYMOUS/recourse.git
$ pip install virtualenv
$ cd recourse
$ virtualenv -p python3 _venv
Expand Down
2 changes: 1 addition & 1 deletion _third_party/svm_recourse.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def predict_core(self, X):
s2tst = np.array(([float(1 - tpreds[i]) / (2 * cntest[gtst[i]]) if cntest[gtst[i]] > 0 else 0 for (i, _) in enumerate(gtst)]))
stst = s1tst * s2tst

# # Amir's additions
# # ANONYMOUS's additions
# stst_group_1 = stst.copy()
# stst_group_2 = stst.copy()

Expand Down
4 changes: 2 additions & 2 deletions analyzeResults.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
CLASSIFIER_VALUES = ['lr', 'mlp', 'tree', 'forest']


# experiments_folder_path = '/Users/a6karimi/dev/recourse/_results/__merged_realworld/'
experiments_folder_path = '/Users/julisuvk/__merged_realworld_bu_2020.06.03.11.13/'
# experiments_folder_path = '/Users/ANONYMOUS/dev/recourse/_results/__merged_realworld/'
experiments_folder_path = '/Users/ANONYMOUS/__merged_realworld_bu_2020.06.03.11.13/'
# all_counter = len(SCM_CLASS_VALUES) * len(LAMBDA_LCB_VALUES) * len(OPTIMIZATION_APPROACHES) * len(CLASSIFIER_VALUES)
all_counter = len(LAMBDA_LCB_VALUES) * len(CLASSIFIER_VALUES)
counter = 0
Expand Down
2 changes: 1 addition & 1 deletion createSubFile.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@


sub_file = open('fair_recourse_all_kernels.sub','w')
print('executable = /home/julisuvk/recourse/_venv/bin/python', file=sub_file)
print('executable = /home/ANONYMOUS/recourse/_venv/bin/python', file=sub_file)
print('error = _cluster_logs/test.$(Process).err', file=sub_file)
print('output = _cluster_logs/test.$(Process).out', file=sub_file)
print('log = _cluster_logs/test.$(Process).log', file=sub_file)
Expand Down
2 changes: 1 addition & 1 deletion fair_recourse.sub
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
executable = /home/julisuvk/recourse/_venv/bin/python
executable = /home/ANONYMOUS/recourse/_venv/bin/python
error = _cluster_logs/test.$(Process).err
output = _cluster_logs/test.$(Process).out
log = _cluster_logs/test.$(Process).log
Expand Down
2 changes: 1 addition & 1 deletion fair_recourse_all_kernels.sub
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
executable = /home/julisuvk/recourse/_venv/bin/python
executable = /home/ANONYMOUS/recourse/_venv/bin/python
error = _cluster_logs/test.$(Process).err
output = _cluster_logs/test.$(Process).out
log = _cluster_logs/test.$(Process).log
Expand Down
2 changes: 1 addition & 1 deletion fair_recourse_cw_fair_IMF-LIN.sub
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
executable = /home/julisuvk/recourse/_venv/bin/python
executable = /home/ANONYMOUS/recourse/_venv/bin/python
error = _cluster_logs/test.$(Process).err
output = _cluster_logs/test.$(Process).out
log = _cluster_logs/test.$(Process).log
Expand Down
6 changes: 3 additions & 3 deletions mergeBatchTests.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
np.random.seed(RANDOM_SEED)


# experiments_folder_path = '/Users/a6karimi/dev/recourse/_experiments/'
experiments_folder_path = '/Volumes/amir/dev/recourse/_experiments/'
# experiments_folder_path = '/Volumes/amir/dev/recourse/_experiments_bu_2020.06.09.23.00_post_9999533_final/'
# experiments_folder_path = '/Users/ANONYMOUS/dev/recourse/_experiments/'
experiments_folder_path = '/Volumes/ANONYMOUS/dev/recourse/_experiments/'
# experiments_folder_path = '/Volumes/ANONYMOUS/dev/recourse/_experiments_bu_2020.06.09.23.00_post_9999533_final/'
all_counter = len(SCM_CLASS_VALUES) * len(LAMBDA_LCB_VALUES) * len(OPTIMIZATION_APPROACHES) * len(CLASSIFIER_VALUES)
counter = 0

Expand Down
2 changes: 1 addition & 1 deletion pip_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ protobuf==3.12.0
ptyprocess==0.6.0
pyasn1==0.4.8
pyasn1-modules==0.2.8
Pygments==2.6.1
Pygments==2.7.4
pyparsing==2.4.6
python-dateutil==2.8.1
pytz==2019.3
Expand Down
2 changes: 1 addition & 1 deletion test.sub
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
executable = /home/amir/dev/recourse/_venv/bin/python
executable = /home/ANONYMOUS/dev/recourse/_venv/bin/python
error = _cluster_logs/test.$(Process).err
output = _cluster_logs/test.$(Process).out
log = _cluster_logs/test.$(Process).log
Expand Down