def test_simple_minimal(df): ast.corr(df) ast.kde(data=df, x='A') ast.hist(df, x='A') ast.pie(df, x='other') ast.swarm(df, x='A', y='B', hue='even') ast.scat(df, x='A', y='B', hue='even') ast.line(df, x='A') ast.grid(df, x='A', y='B', col='even') ast.box(df, x='odd', y='A', hue='even') ast.violin(df, x='odd', y='A', hue='even') ast.strip(df, x='odd', y='B', hue='even') ast.count(df, x='cats') ast.bargrid(df, x='even', y='B', hue='other', col='odd') ast.overlap(df, x='A', y='B', label_col='other') ast.multikde(df, x='A', label_col='even') ast.compare(df, x='A', y=['B', 'C'], label_col='other') ast.multicount(df, x='even', hue='odd', col='other')
def plot_line(self, metric='val_acc'): '''A line plot for a given metric where rounds is on x-axis NOTE: remember to invoke %matplotlib inline if in notebook metric :: the metric to correlate against ''' return line(self.data, metric)
def line_full(df): ast.line(data=df, x='A', y='index', median_line=True, drawstyle='steps', linestyle='solid', markerstyle='.', palette='red_to_green', style='astetik', dpi=72, title='This is a title', sub_title='And this a subtitle', x_label='this is x label', y_label='and this y', legend=False, #x_scale='log', #y_scale='symlog', x_limit=1, y_limit=[1,21])
def plot_line(self, metric): '''A line plot for a given metric where rounds is on x-axis NOTE: remember to invoke %matplotlib inline if in notebook metric | str | Column label for the metric to correlate with ''' try: import astetik as ast return ast.line(self.data, metric) except: print('Matplotlib Runtime Error. Plots will not work.')
def plot_line(self, x=None, title='', x_label='', y_label=''): '''A line plot for a given metric where rounds is on x-axis NOTE: remember to invoke %matplotlib inline if in notebook metric | str | Column label for the metric to correlate with ''' try: import astetik as ast #print(1, title, x, x_label, y_label) return ast.line(self.data, x=x, title=title, x_label=x_label, y_label=y_label) except: print('Matplotlib Runtime Error. Plots will not work.')