Skip to content

Instantly share code, notes, and snippets.

@bwhitman
Created January 7, 2014 15:17
Show Gist options
  • Save bwhitman/8300812 to your computer and use it in GitHub Desktop.
Save bwhitman/8300812 to your computer and use it in GitHub Desktop.
@kurtjx leaves me a present
# hahaha good luck reading this you fucker.
for catype, catfunc, class_labels in (('f', lambda x:_f_demos(x["f"]) , [x for x in features.F_RANGES]), ('sub', lambda x:1 if x['class']=='sub_a' else 0, ('sub_a', 'sub_b'))):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment