Snippets of codesΒΆ

Enumerate all coordinates


from pymlbenchmark.plotting.plot_helper import list_col_options
from pandas import DataFrame
df = DataFrame([
    dict(i=1, t='aa', x=0.5),
    dict(i=2, t='bb', x=0.5),
    dict(i=2, t='aa', x=0.5),
for opt in list_col_options(df, ['i', 't']):

# if None...
print(list_col_options(df, None))


    {'i': 1, 't': 'aa'}
    {'i': 1, 't': 'bb'}
    {'i': 2, 't': 'aa'}
    {'i': 2, 't': 'bb'}

(original entry : of pymlbenchmark.plotting.plot_helper.list_col_options, line 5)

Plot benchmark improvments

(Source code, png, hires.png, pdf)


(original entry : of pymlbenchmark.plotting.plot_bench.plot_bench_xtime, line 16)

Plot benchmark results

(Source code, png, hires.png, pdf)


(original entry : of pymlbenchmark.plotting.plot_bench.plot_bench_results, line 16)