Is this course still relevant? (From maker's point of view)

#1

I had a rough look at the contents of this course and have found that it deals with Random Forest and Deep Learning. So for those who have completed a Deep learning course, this course is actually a Random Forest course.
And since we can now do deep learning using tabular data, so why use Random Forest?

Jeremy said that when he tries to approach problems himself, then some problems are better on tabular deep learning, and some problems are better on Random Forest. But in this mention, I sort of feel that the difference would be an accuracy 1% or something. If not for the purpose of winning the competition, it’s not a big difference, is it?
If the purpose of using deep learning is making, it would be inefficient to spend time learning Random Forest or other machine learning methods. What do you think?

4 Likes

(JamesT) #2

Random forests and GBMs are still powerful baselines for various tabular tasks, I believe that they are still worth learning.

1 Like

#3

Actually when I was doing Kaggle competitions on tabular data last Fall, lightGBM was beating deep learning most of the time.

1 Like

(Anthony Holmes) #4

I’m modelling an classification task with 150k rows of private tabular data and the best F1 score I can achieve with deep learning is 0.25. Both Random Forest and Gradient Boosting get me above 0.4, so I’d say this Course deserves to be around for a while :wink:.

Also, the lessons on explainability are extremely useful and important for many commercial applications. Deep Learning models aren’t as readily explainable (yet).

1 Like

#5

I am grateful to the people who answered my question so far. But, then there is an inverse question. If Random Forest or something is better than deep learning for tabular data in most case, is deep learning for tabular data ever useful? Then where should it be used?

0 Likes

#6

Traditional ML like Random Forests teach you to think about feature engineering (which is one of the most important aspects of learning). Humans can relate to engineered features as they rely on domain expertise and intuition. With deep learning feature engineering is usually considered a function of the network architecture (i.e. you have to find the appropriate architecture for your problem). It is more of a search problem (i.e. trial and error) than common sense (i.e. these features make sense) and the former approach does not lend itself to making models explainable. If you want to be able to explain the output of a model it is worth investing time in traditional ML.

1 Like

(JamesT) #7

Applying deep learning on computer vision and NLP wasn’t always a hot thing, it was only until recent years that it became practical and popular. What I am trying to say is that in the past deep learning wasn’t very ‘useful’ in the above two fields, but it is only because researchers persisted that we managed to reach where we are today. Who knows? Maybe deep learning hasn’t been working well on tabular data because we have been missing out on something crucial.

1 Like

(blissweb) #8

Exactly. As I have mentioned in another thread, this course is not only still relevant, but it should be updated or extended to include LightGBM and XGBoost, both of which are really producing world class results in tabular, somehow (and this is what I would like to see explained from any further courses.)
Besides, this foundation in Machine Learning is really extremely helpful when trying to apply to Deep Learning. Also, the kind of data exploration he does on Bulldozers dataset using Random Forest and the kind of insights he finds are exactly what the average corporate customer requires. If you don’t understand the data in this way, you’re not likely to build the best models.

1 Like

#9

So DL on tabular data is at least for now, useless?
To my intuition, if there is some case where the DL on tabular data has an advantage that the decision tree based ml does not have, then it may be when It’s not possible to have all range of the values in the data(e.g. time-related value). In this case, is DL on tabular data useful? Or are other models such as LightGBM better than DL on tabular data for any problems?

0 Likes

(Zachary Mueller) #10

I’m having decent results on some research I’m conducting so definitely don’t rule it out (just application based)

1 Like

(The INTProgrammer) #11

Source

I’ll leave you to that, although RFs are mostly competitive with NNs in tabular data. In fact, I’ll almost always start with RF when tackling tabular data since it’s so quick to train and this can also serve as a sanity check to see if my preprocessing was decent before wasting a lot of time training a NN.

1 Like

(Quan Tran) #12

DL on tabular is not entirely useless. It’s a bit hard to train as there is very little research done on using deep NN on tabular (except for the feature embedding one I think) but several hard-core Kaggle grandmasters use it as part of their solutions to win competitions (TalkingData, Petfinders …)

By the way there is a gradient boosting tutorial by Jeremy and Terrence Parr (they work together in USF and are writing a ML book) which covers the GBM nicely: http://explained.ai/gradient-boosting/index.html

4 Likes

#13

This is the one case I know of where DL did well on Kaggle:

1 Like

(Yonatan) #14

The Porto Seguro example pops up a lot when people want to demonstrate the ability of DL to model tabular data. Taking a closer look here shows that actually the DL approach was getting a very slight improvement over lightGBM while using much more resources. I agree this can be the difference between #1 and #10 place on Kaggle, but in any other real life problem this won’t be a significant difference while the computational difference is significant.

LightGBM is fast, and very easy to develop. I actually interpret the results of the winning solution of Porto as an example in favor of the power of gradient boosting!
Having said that, I’m sure DL has its own niche in tabular data. One thing that really stands out is the ability to create embeddings of categorical data as we have in fast.ai’s tabular learner, and as shown in the DL course in the lesson about the Rossman competition.

4 Likes

#15

Can you explain more about what niche DL on tabular has? If it is not practical to do tabular data with DL, then what meaning has it to create embedding of categorical values in DL? Adding the embedding to the table and train the tabular data on a tree-based model, Splitting one value to several values?

1 Like

(Selçuk) #16

Hi,
“Neural Networks” and “Traditional Machine Learning” are not necessarily in a “either or” situation.
it is not like “take one of them and leave the other one forever”

Make note that NN triumphs others over the last few years, and it doesn’t seem like this trend has come to an end.
But there are still legitimate use cases for traditional ML

  • A baseline (just for the sake of a baseline or for evaluating validation set or both)
  • You just want a faster and simpler model, and traditional ML provides you a certain accuracy you can live with. For whatever reason, maybe you don’t even wanna check if NN performs better or not, cause you met your requirements and you are done.
  • Jeremy explains a use case which involves both NN and traditional ML (involving embeddings) working together effectively DL Part 1 2019 Lesson 5. (Video starts at the relevant timestamp).

For some problems, traditional ML can give better results. afaik mostly tabular. (don’t quote me on that though)
When it comes to NN related tabular data, these come to my mind that you can look into:

  • embeddings for categorical variables,
  • autoencoders for feature extraction,
  • RNNs for time series

With tradition ML, I mean linear models and tree-based algorithms

hope this helps
selçuk

2 Likes

(Yonatan) #17

I’ve spent some time trying to outperform GBM with NN on tabular tasks and so far I have not succeeded in a general consistent way. As @selcuk mentioned too, I think there are some benefits to NNs that can be exploited for tabular data but I can’t give a direct recipe for a general scheme. I can, however, give some examples of things I have tried and worked:

  1. A convolution is a fantastic way to learn and represent spatial (as in images) or temporal (as in time series) relations. A decision tree can’t do this efficiently as we all know from the image domain. So for these domains I believe that a NN can excel over GBMs.

  2. NNs are probably better for extrapolation, and data generation problems, as NNs construct a continuous, “functional” model (also, regularization is key here). As far as I understand, when you ask a decision tree for a prediction outside of its training data domain, it will only guess the nearest extreme value within the data. For generation of new data, using Bayesian frameworks for NNs can allow them to become powerful generators and may be used later to augment tabular data and get an edge over traditional problems.

  3. Autoencoders are one amazing niche of DL machines that can be used to reduce dimensionality of datasets, find hidden relations and interactions among the data, and cluster it into significant groups in an unsupervised manner.

  4. Transfer learning. This technique is amazing for image recognition, and recently for NLP too. It is definitely more complicated with tabular but none the less I think a NN could develop some helpful long range understanding (or bad bias, depending on your point of view…) of typical or recurring tabular fields such as day of week, country, zip codes, etc.

I’m sorry I can’t give now more concrete examples/links, but hopefully in the near future I (or other people) will be able to…

1 Like

#18

I too have tried for several years to make DL work with tabular data and I too have been unsuccessful. Michael Jahrer’s Porto Seguro solution seemed like a beacon of hope, but all my Denoising Auto Encoders have not really been competitive with GBMs.

Perhaps the solution is out there, but I still haven’t stumbled upon it.

Also the promise of entity embedding as features derived from a DL model and used in other models has not really been fulfilled in my experience. I’ve tried to represent categorical variables by learnt representations from DL models and have found them mostly useless as features for GBMs. I also think they have limited or no value for linear models (GLMs, logistic regression, etc.) because it’s highly unlikely that they have a linear relationship with the response variable or even a relationship with the can be captured with a polynomial of sufficient order.

Just my $0.02.

0 Likes