MLP End Term 21 Dec 2025 — Question 29
Show answer
A written answer, not marked automatically.
Question 29 of 60 in the IIT Madras BS Machine Learning Practice (MLP) End Term paper sat on 21 Dec 2025, in the September 2025 term (Machine Learning Practice 18 Dec 25). It carries 2 marks.
More questions from this paper
- The adfuller() function in statsmodels is used to test:
- Identify the errors in the following code:
- What will typically happen if series_with_nans contains NaNs (null values) ?
- You are using a ColumnTransformer to preprocess a dataset before training a model: What will be the shape of the transf…
- A newly launched movie has no ratings, but metadata such as genre, cast, and director is available. Which algorithm can…
- We use classification report to evaluate our classification model: Which of the following metrics are included in the c…
- Performing singular value decomposition on a user-item matrix aims to:
- Consider the following cases for splitting train and test data for some real world dataset. Which of the following hold…
- Which of the following can be used to evaluate the outputs of the KNNClassifier?
- What is the output of the following code? (Round to 2 decimals)
- What is the output of the following standard scaler transformation?
- Figure question
- What is the value of recall score computed in the following code? (Enter upto 2 decimals)
- You are given the following DataFrame: You want to perform the following imputation strategy: • Age → Replace missing v…
- Which of the following algorithms don't get impacted by feature scaling?
- You are given the following dataset and model: What is the value of prediction after running this code?
- Consider the following data preprocessing code. What are the number of zero(s) in the transformed labels vector after a…
- Select the correct statements from the following regarding GridSearchCV:
- What does metric in the following code measure?
- For the given above code calculate the sparcity (% of zeros) in one_hot. Enter your answer in percentage rounded to 2 d…
- Compute cosine similarity for the two items which have feature vectors as given below (rounded to 2 decimals).
- You are using make_blobs to generate synthetic data for clustering: What will the output of the above clustering code?
- Identify the datatypes of the two datasets given below: (Assume all library imports are correctly done)
- What does metric in the following code measure?
- Which of the following statements about Hierarchical Agglomerative Clustering is TRUE?
- You are training a RandomForestRegressor on a dataset with 20 features and 10,000 samples. Consider the following code:…
- You are using a ColumnTransformer to preprocess a dataset before training a model: What will be the shape of the transf…
- What will be the output of the following code ? (Round to two decimals)
- If pval = 0.03 for the following code, which of the option is correct at the 5% level?
- You are given the following dataset and model: What is the value of prediction after running this code?
- You are given the following four implementations of cosine similarity in NumPy. Which function correctly computes cosin…
- For the RandomForestClassifier select the correct pair(s) of parameter(s) and their explanation(s).
- Which of the following can be used to evaluate the outputs of the K-Means algorithm?
- What is the output of the following code?
- Select the correctly matched pairs of sklearn functions with the use of fit, fit_transform and transform.
- Consider the following code snippet. Assume that all required libraries have been imported correctly. A practitioner ob…
- What is the output of the following code?
- Consider the following cases for splitting train and test data for some real world dataset. Which of the following hold…
- Following is the code to tune the degree parameter of a polynomial regression model. What should the blank space contai…
- You are performing hyperparameter tuning using GridSearchCV for a machine learning model. The following parameter grid …
- Which of the following is a hyper parameter?
- You are using make_blobs to generate synthetic data for clustering: What will the output of the above clustering show?
- You are using statsmodels to forecast a time series. Which of the following represents the correct sequence of code to …
- What does the following pandas code do ?
- For a LinearRegression model with equation assume that the noise term . The model parameters satisfy the constraint A L…
- What does the parameter hidden_layer_sizes=(50, 30) represent in both MLPClassifier and MLPRegressor?
- Which of the following is required for user-based collaborative filtering?
- What is the role of the alpha=1.0 parameter in the given sklearn code to build a regression model?
- Compute cosine similarity for the two items which have feature vectors as given below(rounded to 2 decimals).
- What is the output of the following code?
- Consider the following code snippet: If the shape of X is , what will be the number of features in X_transformed?
- Which of the following is a hyper parameter?
- Given the following code using BaggingClassifier with KNeighborsClassifier as the base estimator: Which of the followin…
- Consider the following code snippet that trains a Decision Tree classifier using scikit-learn: A node in the trained de…
- Which of the following algorithms may get impacted by feature scaling?
- Consider the following ensemble model built using VotingClassifier with voting='soft': How is the final prediction for …
- Given below a y_train list which consists of coffee order's preference by the customers in a cafe. MultiLabelBinarizer …
- You are given a dataset where each row represents a customer using two numerical features. You apply K-means clustering…
- What could be the output for below code