I’m facing issue while using TabularLearner for data for predicting regession values:
Below is my code snippet:
data = (TabularList.from_df(train,cat_names=cat_var, cont_names=cont_var, procs=procs)
.split_by_rand_pct(0.25)
.label_from_df(cols=dep_var,label_cls=FloatList, log=True)
.add_test(TabularList.from_df(test,cat_names=cat_var, cont_names=cont_var, procs=procs))
.databunch())
learn = tabular_learner(data, layers=[100,200,400,800,400,200,100], metrics='root_mean_squared_error')
learn.lr_find()
learn.recorder.plot()
Can anyone tell me what I’m doing wrong