I’m trying to make a starter kernel for https://www.kaggle.com/c/liverpool-ion-switching where the only data field is one continuous field.
when making the kernel, which is here https://www.kaggle.com/matthewchung/fastai2?scriptVersionId=29967701 i get this error
/opt/conda/lib/python3.6/site-packages/fastai2/tabular/model.py in <listcomp>(.0)
23 def get_emb_sz(to, sz_dict=None):
24 "Get default embedding size from `TabularPreprocessor` `proc` or the ones in `sz_dict`"
---> 25 return [_one_emb_sz(to.classes, n, sz_dict) for n in to.cat_names]
26
27 # Cell
/opt/conda/lib/python3.6/site-packages/fastcore/foundation.py in __getattr__(self, k)
221 attr = getattr(self,self._default,None)
222 if attr is not None: return getattr(attr, k)
--> 223 raise AttributeError(k)
224 def __dir__(self): return custom_dir(self, self._dir() if self._xtra is None else self._dir())
225 # def __getstate__(self): return self.__dict__
AttributeError: classes
which is because it’s expecting classes from categorical data. I tried passing in an emb_szs on None as well, which gives a different error. Suggestions?