Interview Questions
Interview Questions
KNN is a supervised machine learning algorithm where we need to provide the labelled data to the
model it then classifies the points based on the distance of the point from the nearest points.
Whereas, on the other hand, K Means clustering is an unsupervised machine learning algorithm thus
we need to provide the model with unlabelled data and this algorithm classifies points into clusters
based on the mean of the distances between different points
4. What is OpenCV ?
OpenCV is Open Source Computer Vision Library released under BSD license. Below you find
some latest interview questions and answers on OpenCV.
5. While working on a data set, how do you select important variables? Explain your methods.
Following are the methods of variable selection you can use:
1. Remove the correlated variables prior to selecting important variables
2. Use linear regression and select variables based on p values
3. Use Forward Selection, Backward Selection, Stepwise Selection
4. Use Random Forest, Xgboost and plot variable importance chart
5. Use Lasso Regression
6. Measure information gain for the available set of features and select top n features
accordingly.