for mc, c in [ ('v', False), ('^', True)]: seltrees = [(m, t) for m, t in trees if…
- User
for mc, c in [ ('v', False), ('^', True)]: sel_trees = [(m, t) for m, t in trees if m['cascade'] == c] color = [{1:'green',2:'yellow',3:'orange',4:'red'}[m['depth']] for m, _ in sel_trees] axs[2].scatter([m.get(METRIC) for m, _ in sel_trees], [m.get(f'test_{METRIC}') for m, _ in sel_trees], alpha=0.5, label=f'cascade={c}', s=20, color=color, marker=mc) axs[2].scatter([m.get(METRIC) for m, _ in train_pareto_front], [m.get(f'test_{METRIC}') for m, _ in train_pareto_front], alpha=0.5, label='train', s=25, color='blue', marker='o') axs[2].scatter([m.get(METRIC) for m, _ in test_pareto_front], [m.get(f'test_{METRIC}') for m, _ in test_pareto_front], alpha=0.5, label='test', s=25, color='orange', marker='o') axs[2].set_title('Train vs Test Acc'); axs[2].set_xlabel(METRIC); axs[2].set_ylabel(f'test_{METRIC}')
better colors and not fill train/test pareto
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.