Hmm, this forum software is not super-friendly for this kind of parallel multi-issue discussion. Is there a better workflow to follow? It’s so much easier to do that over email with automatic quoting.
You can actually just prefix lines with > just like with email, and it turns it into quote - that’s what I’ve done above. Or whilst composing you can select something from a previous message, and it pops up a ‘quote’ button, like so:
Yes, that I figured out but when quoting it doesn’t respect the hierarchy of quotes, flattening all quotes to the same level, making it impossible to distinguish who said what and I have to go and re-add >>. Not user-friendly at all.
Perhaps it’s ok if we continue using x in very short lambdas. or perhaps l for lambda?
OK I’m back to using o then
Did you mean 'back to using x
and not o
?
another alternative adding some short prefix img_class? it also makes it more specific
Much better! Actually maybe we should stop calling them ‘classes’ and start calling them ‘categories’ - which is quite naturally then cat and cats. I think in v0 I might have used these terms interchangeably…
That’s even better. I wasn’t sure whether categories were already given to cat_vars. So can you be more specific, Jeremy? Do you suggest:
s/cat_vars/category_vars/
s/cats/categories/
s/cat/category/
s#folder/cls#folder/category#
Yes? So for example in nb_002.py it’d appear:
class FilesDataset(Dataset):
def __init__(self, folder, categories):
self.fns, self.y = [], []
self.categories = categories
for i, category in enumerate(categories):
fnames = get_image_files(folder/category)
self.fns += fnames
self.y += [i] * len(fnames)
Continuing this thread of thought cat_vars
should really be cat_cols
(or in the new way category_cols
). as they are columns in the dataframe and not really variables. Thoughts?
And if so, expanding further:
dep_col
category_cols
contin_cols
Perhaps some more rounded up word for cont
/contin/
?