What are evaluation metrics for multi-class classification problem ?

Multi-class classification evaluation can be done in either of the following ways : Average precision of each class, average recall of each class treating classifier for each class as one vs all classifier. Average of accuracy of each class treating the classifier for each class as a one-vs-all classifier Sum of all true positive entries…

What is page rank algorithm ?

Page Rank is an ML algorithm that determines the relative ranking of page importance in the world wide web by measuring how likely a random web surfer is likely to land on the particular page. Quote from wikipedia: A PageRank results from a mathematical algorithm based on the webgraph, created by all World Wide Web…

Why do you need training set, test set and validation set ?

Before any model is built for the problem in hand, the dataset exists as a single entity. One can start learning from entire dataset and use the built models to make predictions on new unseen data. The later part is called generalization in Machine Learning terminology. However, training on entire dataset available would lead to…

How do you eliminate underfitting ?

Make the model simpler Collect more data Collect more features Increase the regularization parameter Answer – (c) Underfitting is the opposite of overfitting and it occurs when model is too simple to learn from the given dataset. This could happen if right features were not selected or extracted, or the regularization was done with higher…

What are common tools for speech recognition ? What are the advantages and disadvantages of each?

There are several ready tools for speech recognition, that one can use to train custom models given the appropriate dataset. CMU Sphinx : Used more in an academic setting, one of the oldest libraries. Kaldi – hard to set up, very flexible to use. Typically used by academics. Deep Speech – Easy to set up,…

Overfitting is a result of which of the following causes :

Less amount of data Simple Model like a linear classifier Complex Model like a classifier of high degree polynomial All of the above Answer – (1), (3) Overfitting generally happens if the model tries to fit everything because it is too complex or there is too less amount of data. When your model performs well on…