Combine training data from different training sessions
Set ‘retain parameters=True’
This problem can not be solved.
Q3MCQ2 marks
Q4MCQ2 marks
(200, 200, 3)
(40000, )
(200, 200, 1)
(40000, 3)
Q5MCQ2 marks
Q6MCQ2 marks
Which of the following statements about the Augmented Dickey-Fuller (ADF) test is correct?
The test is used to detect seasonality in a time series
A low p-value (e.g., < 0.05) indicates the time series is non-stationary
The test’s null hypothesis is that the time series is stationary
A low p-value (e.g., < 0.05) indicates the time series is stationary
Q7MCQ1 mark
How to change the loss function in SGDRegressor to Huber loss?
Q8MCQ1 mark
liblinear
lbfgs
saga
newton-cg
Q9MCQ1 mark
Q10MCQ3 marks
Which of the following best describes the components of a time series in a classical multiplicative decomposition model?
The series is a product of a trend component and an error component only
The series is a sum of a trend component, a seasonal component, and acyclical component
The series is a product of a trend component, a seasonal component, and anerror component
The series is a sum of a trend component, a seasonal component, and a errorcomponent
Q11MSQ3 marksselect all that apply
Q12MSQ2 marksselect all that apply
Saves computation time by reusing results of expensive transformations wheninputs and parameters have not changed.
Helps speed up repeated runs of cross-validation involving the sametransformation steps.
Reduces CPU usage by running transformations in parallel threadsautomatically.
Improves efficiency in hyperparameter search by avoiding redundantcomputations in pipeline steps.
Guarantees better generalization performance on the test set.
Q13MSQ2 marksselect all that apply
Q14MSQ2 marksselect all that apply
A medical diagnosis model is used to detect a rare disease that occurs in 0.5% of the population. A model is trained on this data, which of the following evaluation metrics are suitable for measuring effectiveness of this model:
accuracy
precision
recall
F-1 score
Q15MSQ2 marksselect all that apply
The elbow method involves plotting the number of clusters against the inertiaand identifying a point where the decrease in inertia slows down.
The elbow point represents the cluster count beyond which additional clustersdo not significantly improve the model fit.
The metric used in the elbow method is the silhouette score.
The elbow point is always the smallest number of clusters in the plot.
The elbow method may sometimes be inconclusive if no clear bend is visible inthe curve.
Q16SA3 marks
Q17SA3 marks
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions.
Q18MSQ1 markselect all that apply
Q19MCQ2 marks
Q20MSQ2 marksselect all that apply
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions.
Q21MCQ2 marks
select the appropriate values for A and B in the loss parameter to ensure that all model fits execute successfully.
Q22MSQ2 marksselect all that apply
Q23SA1 mark
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions.
Q24SA1 mark
Calculate and enter the value of X (truncated to two decimal places).
Q25SA1 mark
Calculate and enter the value of Y (truncated to two decimal places).
Auto-generated summary from the source site. Handy as a checklist; the lessons above explain each idea from scratch.
Here’s a structured summary of core topics, concepts, principles, and equations for the Diploma-Level Machine Learning Practice (Computer-Based Exam), along with Mermaid knowledge graphs to visualize relationships.
1. Core Topics & Concepts
A. Model Training & Evaluation
Cross-Validation (K-Fold)
Splits data into k folds, trains k times (each fold as validation once).
Equation:
Inertia (for clustering): ∑i=1nminμ∈C∣∣xi−μ∣∣2
R2-score: 1−∑(yi−yˉ)2∑(yi−y^i)2
Key Points:
KFold(n_splits=10) → 10 models trained.
cross_val_score returns scores for each fold.
Model Persistence (warm_start)
warm_start=True retains weights between .fit() calls (e.g., in Perceptron).