# NPTEL Introduction To Machine Learning IITKGP ASSIGNMENT 5

### These are solutions for NPTEL Introduction To Machine Learning IITKGP ASSIGNMENT 5 Week 5

Course Name: Introduction To Machine Learning IITKGP

Q1) What would be the ideal complexity of the curve which can be used for separating the two classes shown in the image below?
A) Linear
C) Cubic
D) insufficient data to draw conclusion

Q2) Which of the following option is true?
A) Linear regression error values have to normally distributed but not in the caseof the logistic regression
B) Logistic regression values have to be normally distributed but not in the case of the linear regression
C) Both linear and logistic regression error values have to be normally distributed
D) Both linear and logistic regression error values need not to be normally distributed

Answer: A) Linear regression error values have to normally distributed but not in the caseof the logistic regression

These are solutions for NPTEL Introduction To Machine Learning IITKGP ASSIGNMENT 5 Week 5

Q3) Which of the following methods do we use to best fit the data in Logistic Regression?
A) Manhattan distance
B) Maximum Likelihood
C) Jaccard distance
D) Both A and B

Answer: B) Maximum Likelihood

Q4) Imagine, you have given the below graph of logistic regression which shows the relationships between cost function and number of iterations for 3 different learning rate values (different colors are showing different curves at different learning rates).

Suppose, you save the graph for future reference but you forgot to save the value of different learning rates for this graph. Now, you want to find out the relation between the leaning rate values of these curve. Which of the following will be the true relation?
Note : 1. The learning rate for blue is L1.
2. The learning rate for red is L2.
3. The learning rate for green is L3.

A) L1>L2>L3
B) L1=L2-L3
C) L1 L2 L3
D) None of these

Answer: C) L1 L2 L3

These are solutions for NPTEL Introduction To Machine Learning IITKGP ASSIGNMENT 5 Week 5

Q5) State whether True or False.
After training an SVM, we can discard all examples which are not support vectors and can still classify new examples.

A) TRUE
B) FALSE

Q6) Suppose you are dealing with 3 class classification problem and you want to train a SVM model on the data for that you are using One-vs-all method. How many times we need to train our SVM model in such case?
A) 1
B) 2
C) 3
D) 4

These are solutions for NPTEL Introduction To Machine Learning IITKGP ASSIGNMENT 5 Week 5

Q7) What is/are true about kernel in SVM?
1. Kernel function map low dimensional data to high dimensional space
2. It’s a similarity function

A) 1
B) 2
C) 1 and 2
D) None of these.

Answer: C) 1 and 2

Q8) Suppose you are using RBF kernel in SVM with high Gamma value. What does this signify?
A) The model would consider even far away points from hyperplane for modelling.
B) The model would consider only the points close to the hyperplane for modelling.
C) The model would not be affected by distance of points from hyperplane for modelling.
D) None of the above

Answer: B) The model would consider only the points close to the hyperplane for modelling.

Q9) Below are the labelled instances of 2 classes and hand drawn decision boundaries for logistic regression. Which of the following figure demonstrates overfitting of the training data?
A) A
B) B
C) C
D) None of these

Q10) What do you conclude after seeing the visualization in previous question?
C1. The training error in first plot is higher as compared to the second and third plot.
C2. The best model for this regression problem is the last (third) plot because it has minimum training error (zero).
C3. Out of the 3 models, the second model is expected to perform best on unseen data.
C4. All will perform similarly because we have not seen the test data.

A) C1 and C2
B) C1 and C3
C) C2 and C3
D) C4

Answer: B) C1 and C3

These are solutions for NPTEL Introduction To Machine Learning IITKGP ASSIGNMENT 5 Week 5

More weeks solution of this course: https://progies.in/answers/nptel/introduction-to-machine-learning

More NPTEL Solutions: https://progies.in/answers/nptel

This content is uploaded for study, general information, and reference purpose only.
{"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "url": "https://progiez.com/nptel-introduction-to-machine-learning-iitkgp-assignment-5", "fetch_time": 1695914435000000000, "content_mime_type": "text/html", "warc_filename": "crawl-data/CC-MAIN-2023-40/segments/1695233510412.43/warc/CC-MAIN-20230928130936-20230928160936-00148.warc.gz", "warc_record_offset": 516618345, "warc_record_length": 21348, "token_count": 1037, "char_count": 4267, "score": 3.71875, "int_score": 4, "crawl": "CC-MAIN-2023-40", "snapshot_type": "longest", "language": "en", "language_score": 0.8266004323959351, "file_path": "/sailhome/yjruan/project/latent-lm/data/processed/finemath-4plus/finemath-4plus/train-00029-of-00064.parquet"}