NLP Models and NLP Tasks
In this series of NLP Learnings, the previous post Natural Language Processing Primer we have learned about NLP Models. Re-defining in this post, NLP models are prediction functions or prediction constructs.
Each NLP Model (or construct) core behavior will vary considerably based on the nature of the NLP task like classification or regression or statistical metrics or others (see below some of the overall NLP tasks).
We use these NLP models along with input training and test data as a reference and extend them by adding more steps to the NLP input models to meet our NLP business requirements. Alternatively, create your own NLP models and analyze your model performance against the reference model metrics or performance.
So it is very important to understand whether an input NLP model “works”
or is “good” for your NLP requirements solution.
NLP Tasks List (only a few are listed below)
- Classification Tasks
- Regression Tasks
- Statistical Tasks
- Deep Learning Tasks
- Ranking Tasks
Above NLP models tasks either does "deep analysis" or "shallow analysis"
of your business requirement input data.
Evaluating NLP Models – Know Possible Metrics
As mentioned above, how do you know whether an input NLP model “works” or is “good” for your NLP requirements solution?
One way to evaluate your NLP model is by comparing and evaluating the "Metrics"
of your NLP model against another models using the same your dataset.
Following are the various metrics you can use to evaluate the NLP models these metrics are based on:
1. Accuracy, Prediction, F-Score
2, Mean Standard Error, MAE (Mean Absolute Error)
3, Correlation
4. Interception Score, Fréchet Inception Distance
5. Ranking Metrics:
- MRR (Mean Reciprocal Rank)
- Precision at K
- DCG (Discounted Cumulative Gain) & NDCG (Normalized Discounted Cumulative Gain)
- MAP (Average Precision and Mean Average Precision)
- Kendall’s tau
- Spearman’s rho
The below diagram provides a visual representation of the above knowledge.

Related Topics:
- Natural Language Processing Primer
- NLP Learnings 02 – After Primer – NLP Models & Evaluating NLP Models
- NLP Learnings 03 – What is Linguistic in NLP and Linguistic Categories or Linguistic Levels
- NLP Learnings 04 – Sentence Linguistic Analysis – Words As First Step
- NLP Learnings 05 – Sentence Linguistic Analysis – Pragmatics Analysis
- NLP Learnings 06 – What can we do with A Sentence in NLP Tasks
- NLP Learnings 07 – Introducing NLP Language Models
- NLP Learnings 08 – Language Models – Probability Types
- NLP Learnings 09 – Language Models – Measuring Text Based On Probability
- NLP Learnings 10 – Language Models – Defining Word Boundaries
- NLP Learnings 11 – Language Models – Your Business Text Data and Their Words Representation
- NLP Learnings 12 – Language Models – Regularization Techniques And Your Business Text Data
- NLP Learnings 13 – Language Models – Smoothing Regularization Techniques And Your Business Text Data
- NLP Learnings 14 – Language Models – NLP Key Terms and Concepts
- NLP Learnings 15 – Language Models – Classifiers Introduction
- NLP Learnings 16 – Language Models – Classifiers – What are Probabilistic Classifiers
- NLP Learnings 17 – Language Models – Classifiers – Simple Classifiers Introduction
- NLP Learnings 18 – Language Models – Classifiers – Simple Classifiers – Linear Probabilistic Classifier Introduction
- NLP Learnings 19 – Language Models – Classifiers – Evaluating Classifiers – Precision Recall F-Score Confusion Matrix
- NLP Learnings 20 – Language Models – Classifiers – Represent Words In A Document – Choosing and Representing Features In The Right Way
- NLP Learnings 21 – Language Models – Word Embeddings
- NLP Learnings 22 – Language Models – Sentence and Document Embeddings
- NLP Learnings 23 – Language Models – Sentence and Document Embeddings – Which one to consider