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

Update data directories for examples of python interface #14

Open
wants to merge 2 commits into
base: develop
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
3 changes: 2 additions & 1 deletion citeseer/python/citeseer.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
from pslpython.rule import Rule

MODEL_NAME = 'citeseer'
DATA_DIR = os.path.join('..', 'data', MODEL_NAME, '0')
SPLIT = '0'
DATA_DIR = os.path.join('..', 'data', MODEL_NAME, SPLIT)

ADDITIONAL_PSL_OPTIONS = {
'log4j.threshold': 'INFO'
Expand Down
3 changes: 2 additions & 1 deletion cora/python/cora.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
from pslpython.rule import Rule

MODEL_NAME = 'cora'
DATA_DIR = os.path.join('..', 'data', MODEL_NAME, '0')
SPLIT = '0'
DATA_DIR = os.path.join('..', 'data', MODEL_NAME, SPLIT)

ADDITIONAL_PSL_OPTIONS = {
'log4j.threshold': 'INFO'
Expand Down
3 changes: 2 additions & 1 deletion entity-resolution/python/entity-resolution.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
from pslpython.rule import Rule

MODEL_NAME = 'entity-resolution'
DATA_DIR = os.path.join('..', 'data', MODEL_NAME)
SPLIT = '0'
DATA_DIR = os.path.join('..', 'data', MODEL_NAME, SPLIT)

ADDITIONAL_PSL_OPTIONS = {
'log4j.threshold': 'INFO'
Expand Down
3 changes: 2 additions & 1 deletion friendship/python/friendship.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
from pslpython.rule import Rule

MODEL_NAME = 'friendship'
DATA_DIR = os.path.join('..', 'data', MODEL_NAME)
SPLIT = '0'
DATA_DIR = os.path.join('..', 'data', MODEL_NAME, SPLIT, 'eval')

ADDITIONAL_PSL_OPTIONS = {
'log4j.threshold': 'INFO'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
from pslpython.rule import Rule

MODEL_NAME = 'knowledge-graph-identification'
DATA_DIR = os.path.join('..', 'data', 'kgi')
MODEL_SHORT_NAME = 'kgi'
SPLIT = '0'
DATA_DIR = os.path.join('..', 'data', MODEL_SHORT_NAME, SPLIT)

ADDITIONAL_PSL_OPTIONS = {
'log4j.threshold': 'INFO'
Expand Down
3 changes: 2 additions & 1 deletion simple-acquaintances/python/simple-acquaintances.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
from pslpython.rule import Rule

MODEL_NAME = 'simple-acquaintances'
DATA_DIR = os.path.join('..', 'data')
SPLIT = '0'
DATA_DIR = os.path.join('..', 'data', MODEL_NAME, SPLIT, 'eval')

ADDITIONAL_PSL_OPTIONS = {
'log4j.threshold': 'INFO'
Expand Down
3 changes: 2 additions & 1 deletion social-network-analysis/python/social-network-analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
from pslpython.rule import Rule

MODEL_NAME = 'social-network-analysis'
DATA_DIR = os.path.join('..', 'data', MODEL_NAME)
SPLIT = '0'
DATA_DIR = os.path.join('..', 'data', MODEL_NAME, SPLIT, 'eval')

ADDITIONAL_PSL_OPTIONS = {
'log4j.threshold': 'INFO'
Expand Down
3 changes: 2 additions & 1 deletion trust-prediction/python/trust-prediction.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
from pslpython.rule import Rule

MODEL_NAME = 'trust-prediction'
DATA_DIR = os.path.join('..', 'data', MODEL_NAME)
SPLIT = '0'
DATA_DIR = os.path.join('..', 'data', MODEL_NAME, SPLIT)

ADDITIONAL_PSL_OPTIONS = {
'log4j.threshold': 'INFO'
Expand Down
3 changes: 2 additions & 1 deletion user-modeling/python/user-modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
from pslpython.rule import Rule

MODEL_NAME = 'user-modeling'
DATA_DIR = os.path.join('..', 'data', MODEL_NAME)
SPLIT = '0'
DATA_DIR = os.path.join('..', 'data', MODEL_NAME, SPLIT, 'eval')

ADDITIONAL_PSL_OPTIONS = {
'log4j.threshold': 'INFO'
Expand Down