-
- Cold start: Many a times when we have the cold start problem (No data to begin with) in Machine Learning, rule based approaches make sense.
- For example, you want to recommend products to customers, but how do you start without data. It makes sense to build rules so that the system can start delivering. This will ensure data is collected eventually.
- Another example: Imagine you want to build a sentiment analysis engine, but have no labelled data. rules like sentences having positive emotion words like “good”, “nice”, “beautiful”, “awesome”, “best”, “great”etc(and vice versa for negative emotions), can be classified to a positive sentiment(negative sentiment in other case) and can give a good prediction accuracy. Eventually you can get labelled data to build supervised ML models.
- Incorporating Domain Knowledge: Rule based algorithms come in handy even when data is available.
- For ex., for Named Entity Recognition, rules like entities name should start with a capital word can improve accuracy of a Machine Learning algorithm.
- Cold start: Many a times when we have the cold start problem (No data to begin with) in Machine Learning, rule based approaches make sense.
-
- Advantages of rule based approaches:
- Training data not required
- High precision
- Can be a good way to collect data as one can start the system with rules and let data come by naturally as people use the system.
- Disadvantages of rule based approaches
- Lower recall
- Difficult and tedious to list all the rules
- Advantages of rule based approaches:
What are the advantages and disadvantages of using Rule based approaches in NLP?
Posted on