def main_comp_csp(df): return restrict(restrict_or_unset(df, standardize=False, standardize_filt_cnt=False, standardize_epo=False, standardize_cnt=False), low_bound=0)
def shallow_main_comp(df): df = restrict(df, layers='cnt_shallow_square', first_nonlin='square', post_pool_nonlin='safe_log', pool_mode='average_exc_pad') df = restrict_or_unset( df, drop_p=0.5, batch_modifier='null', ) return df
def merged_main_comp(df): return restrict(df, batch_norm_before_merge=True, nonlin_before_merge='elu', num_filters_spat=25)
def shallow_cnt_main_comp(df): df = shallow_main_comp(df) df = restrict(df, loss_expression='tied_neighbours') return df
def shallow_main_comp(df): df = restrict(df, layers='cnt_shallow_square', first_nonlin='square', post_pool_nonlin='safe_log', pool_mode='average_exc_pad') df = restrict_or_unset(df, drop_p=0.5, batch_modifier='null',) return df