Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mateusz Pawlik
ted-experiments
Commits
4b552968
Commit
4b552968
authored
Jan 13, 2019
by
Thomas Huetter
Browse files
further fixes in plot script
parent
402c8dc3
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plots/call_plot_revision.sh
View file @
4b552968
...
...
@@ -76,12 +76,12 @@ echo " --- Done Candidates --- "
### RSB vs RSC Sentiment
echo
" --- Start RSB vs RSC Sentiment --- "
python3 plot_experiments_n.py
--service
ted-exp
--config
configs_revision/rsb_rsc/candidates_sentiment_rsb.json
--storeplot
"./plots/
candidates
/candidates_sentiment_rsb.pdf"
python3 plot_experiments_n.py
--service
ted-exp
--config
configs_revision/rsb_rsc/candidates_sentiment_rsc.json
--storeplot
"./plots/
candidates
/candidates_sentiment_rsc.pdf"
python3 plot_experiments_n.py
--service
ted-exp
--config
configs_revision/rsb_rsc/metric_cand_sentiment_rsb.json
--storeplot
"./plots/
candidates
/metric_cand_sentiment_rsb.pdf"
python3 plot_experiments_n.py
--service
ted-exp
--config
configs_revision/rsb_rsc/metric_cand_sentiment_rsc.json
--storeplot
"./plots/
candidates
/metric_cand_sentiment_rsc.pdf"
python3 plot_experiments_n.py
--service
ted-exp
--config
configs_revision/rsb_rsc/times_sentiment_rsb.json
--storeplot
"./plots/
candidates
/times_sentiment_rsb.pdf"
python3 plot_experiments_n.py
--service
ted-exp
--config
configs_revision/rsb_rsc/times_sentiment_rsc.json
--storeplot
"./plots/
candidates
/times_sentiment_rsc.pdf"
python3 plot_experiments_n.py
--service
ted-exp
--config
configs_revision/rsb_rsc/candidates_sentiment_rsb.json
--storeplot
"./plots/
rsb_rsc
/candidates_sentiment_rsb.pdf"
python3 plot_experiments_n.py
--service
ted-exp
--config
configs_revision/rsb_rsc/candidates_sentiment_rsc.json
--storeplot
"./plots/
rsb_rsc
/candidates_sentiment_rsc.pdf"
python3 plot_experiments_n.py
--service
ted-exp
--config
configs_revision/rsb_rsc/metric_cand_sentiment_rsb.json
--storeplot
"./plots/
rsb_rsc
/metric_cand_sentiment_rsb.pdf"
python3 plot_experiments_n.py
--service
ted-exp
--config
configs_revision/rsb_rsc/metric_cand_sentiment_rsc.json
--storeplot
"./plots/
rsb_rsc
/metric_cand_sentiment_rsc.pdf"
python3 plot_experiments_n.py
--service
ted-exp
--config
configs_revision/rsb_rsc/times_sentiment_rsb.json
--storeplot
"./plots/
rsb_rsc
/times_sentiment_rsb.pdf"
python3 plot_experiments_n.py
--service
ted-exp
--config
configs_revision/rsb_rsc/times_sentiment_rsc.json
--storeplot
"./plots/
rsb_rsc
/times_sentiment_rsc.pdf"
echo
" --- Done RSB vs RSC Sentiment --- "
### Variable dataset sizes DBLP
...
...
src/plots/plot_experiments_n.py
View file @
4b552968
...
...
@@ -127,7 +127,8 @@ for table in data['tables']:
order_args
=
' ORDER BY '
+
" split_part("
+
data
[
'x_axis'
][
'db_column'
]
+
", '_', 2)::int"
else
:
order_args
=
' ORDER BY '
+
data
[
'x_axis'
][
'db_column'
]
result
=
db_request
(
args
.
service
,
select_args
,
table_args
,
where_args
,
group_args
,
order_args
)
print
(
" --- "
+
"SELECT "
+
select_args
+
" FROM "
+
table_args
+
where_args
+
group_args
+
order_args
)
# result = db_request(args.service, select_args, table_args, where_args, group_args, order_args)
label
=
""
if
'name'
in
table
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment