You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some more thoughts.
In the spec file, at the series level, series.label is the name of the series in the plot legend right now, so perhaps add another two optional fields series.tick_fields and series.tick_seperator
series:
- ...tick_seperator: "x"# optional, there would be some defaulttick_fields: [K, M, N]
- ...
or for command line utilities
... --tick-seperator x --tick-fields K M N ...
The result for the offered snippet would be
1x384x169
There will need to be some changes in how dataframes are generated in scope_plot/benchmark.py and consumed in the generate_bar() portions of scope_plot/backends/....
I think when the dataframe is generated, the index of the dataframe should be set to the desired tick label.
Then, when that dataframe is consumed the logic would need to be adjusted a bit to plot it correctly.
Activity
abduld commentedon Aug 13, 2018
e.g. from https://ml-arc-minsky.netlify.com/machine/AWS_g3_xlarge
cwpearson commentedon Aug 13, 2018
Can you add a snippet of the benchmark.json file as well?
abduld commentedon Aug 13, 2018
e.g.
https://github.com/rai-project/scope/blob/master/results/raw_data/minsky/sgemm_smt_0.json
cwpearson commentedon Aug 16, 2018
What about something like this. This would construct a string with the specified seperator, from the fields in each benchmark object
In the spec file
or for command line utilities
The result for the offered snippet would be
cwpearson commentedon Aug 21, 2018
Some more thoughts.
In the spec file, at the series level,
series.labelis the name of the series in the plot legend right now, so perhaps add another two optional fieldsseries.tick_fieldsandseries.tick_seperatoror for command line utilities
The result for the offered snippet would be
There will need to be some changes in how dataframes are generated in
scope_plot/benchmark.pyand consumed in thegenerate_bar()portions ofscope_plot/backends/....I think when the dataframe is generated, the index of the dataframe should be set to the desired tick label.
Then, when that dataframe is consumed the logic would need to be adjusted a bit to plot it correctly.
cwpearson commentedon Aug 21, 2018
Added support for
series.tick_fieldsandseries.tick_seperatorinschema.py, but no logic to actually use them.bc739ac