show_frontier = _show_frontier #pl.xkcd() #import seaborn as sns #sns.set_style("whitegrid") #sns.set_context("paper") #sns.set_context("talk") #sns.set_palette("husl") #sns.set_palette("deep", desat=.6) # adjust pandas print settings by console width import pandas from arsenal.terminal import console_width pandas.set_option('display.width', console_width()) LW = 2 KILL = [] class Frontier(object): def __init__(self, name, df, ACCURACY, RUNTIME): self.name = name self.data = [] self.train_br = None self.train_ax = None self.dev_br = None self.dev_ax = None self.df = df self.YMIN = None
def wide_dataframe(): import pandas as pd from arsenal.terminal import console_width pd.set_option('display.width', console_width())