Q. What data structure is typically used to implement BFS?
A.
Stack
B.
Queue
C.
Linked List
D.
Array
Show solution
Solution
BFS uses a queue to keep track of the vertices that need to be explored next, ensuring that vertices are processed in the order they are discovered.
Correct Answer:
B
— Queue
Learn More →
Q. What data structure is typically used to implement Dijkstra's algorithm efficiently?
A.
Array
B.
Linked List
C.
Priority Queue
D.
Stack
Show solution
Solution
A priority queue is used in Dijkstra's algorithm to efficiently retrieve the next node with the smallest tentative distance.
Correct Answer:
C
— Priority Queue
Learn More →
Q. What data structure is used to implement a breadth-first search (BFS)?
A.
Stack
B.
Queue
C.
Array
D.
Linked List
Show solution
Solution
A queue is used to implement breadth-first search (BFS) as it processes nodes in a first-in, first-out (FIFO) manner.
Correct Answer:
B
— Queue
Learn More →
Q. What data structure would you use to implement a printer queue?
A.
Stack
B.
Queue
C.
Linked List
D.
Array
Show solution
Solution
A queue is used for printer queues because it processes print jobs in the order they are received (FIFO).
Correct Answer:
B
— Queue
Learn More →
Q. What does 'bagging' refer to in the context of Random Forests?
A.
A method to combine multiple models.
B.
A technique to select features.
C.
A way to visualize trees.
D.
A process to clean data.
Show solution
Solution
'Bagging' refers to the technique of combining multiple models to improve overall performance and reduce variance.
Correct Answer:
A
— A method to combine multiple models.
Learn More →
Q. What does 'epoch' refer to in the context of training a neural network?
A.
A single pass through the entire training dataset
B.
The number of layers in the network
C.
The learning rate schedule
D.
The size of the training batch
Show solution
Solution
An epoch is one complete pass through the entire training dataset during the training process of a neural network.
Correct Answer:
A
— A single pass through the entire training dataset
Learn More →
Q. What does 'model drift' refer to in the context of deployed models?
A.
The process of updating the model with new data
B.
The degradation of model performance over time due to changes in data distribution
C.
The initial training phase of the model
D.
The difference between training and testing datasets
Show solution
Solution
Model drift occurs when the statistical properties of the target variable change over time, leading to decreased model performance.
Correct Answer:
B
— The degradation of model performance over time due to changes in data distribution
Learn More →
Q. What does 'model drift' refer to?
A.
The process of updating a model with new data
B.
A decrease in model performance over time
C.
The initial training of a model
D.
The deployment of a model to production
Show solution
Solution
Model drift refers to the phenomenon where a model's performance decreases over time due to changes in the underlying data distribution.
Correct Answer:
B
— A decrease in model performance over time
Learn More →
Q. What does 'overfitting' mean in the context of neural networks?
A.
The model performs well on training data but poorly on unseen data
B.
The model is too simple to capture the underlying patterns
C.
The model has too few parameters
D.
The model is trained too quickly
Show solution
Solution
Overfitting occurs when a model learns the training data too well, including noise, resulting in poor generalization to new data.
Correct Answer:
A
— The model performs well on training data but poorly on unseen data
Learn More →
Q. What does 'training a neural network' involve?
A.
Feeding it data without labels
B.
Adjusting weights based on labeled data
C.
Evaluating its performance on unseen data
D.
Initializing the network parameters
Show solution
Solution
Training a neural network involves adjusting its weights based on labeled data to minimize the loss function.
Correct Answer:
B
— Adjusting weights based on labeled data
Learn More →
Q. What does a confusion matrix provide in model evaluation?
A.
A summary of prediction errors
B.
A graphical representation of data distribution
C.
A measure of model training time
D.
A list of features used in the model
Show solution
Solution
A confusion matrix provides a summary of prediction errors by showing the counts of true positives, true negatives, false positives, and false negatives.
Correct Answer:
A
— A summary of prediction errors
Learn More →
Q. What does a confusion matrix provide?
A.
A summary of prediction results
B.
A graphical representation of data
C.
A method for feature selection
D.
A way to visualize neural network layers
Show solution
Solution
A confusion matrix provides a summary of prediction results, showing true positives, false positives, true negatives, and false negatives.
Correct Answer:
A
— A summary of prediction results
Learn More →
Q. What does a high AUC (Area Under the Curve) value indicate in a ROC curve?
A.
Poor model performance
B.
Model is random
C.
Good model discrimination
D.
Model is overfitting
Show solution
Solution
A high AUC value indicates that the model has good discrimination ability between classes.
Correct Answer:
C
— Good model discrimination
Learn More →
Q. What does a high AUC value in ROC analysis indicate?
A.
Poor model performance
B.
Model is not useful
C.
Good model discrimination ability
D.
Model is overfitting
Show solution
Solution
A high AUC (Area Under the Curve) value indicates that the model has good discrimination ability between the positive and negative classes.
Correct Answer:
C
— Good model discrimination ability
Learn More →
Q. What does a high precision but low recall indicate?
A.
The model is good at identifying positive cases but misses many
B.
The model is good at identifying all cases
C.
The model has a high number of false positives
D.
The model has a high number of false negatives
Show solution
Solution
High precision with low recall indicates that the model is good at identifying positive cases but misses many actual positives.
Correct Answer:
A
— The model is good at identifying positive cases but misses many
Learn More →
Q. What does a high precision indicate in a classification model?
A.
A high number of true positives compared to false positives
B.
A high number of true positives compared to false negatives
C.
A high overall accuracy
D.
A high number of true negatives
Show solution
Solution
High precision indicates a high number of true positives compared to false positives, meaning the model is good at identifying positive instances.
Correct Answer:
A
— A high number of true positives compared to false positives
Learn More →
Q. What does a high precision value indicate in a classification model?
A.
Most predicted positives are true positives
B.
Most actual positives are predicted correctly
C.
The model has a high recall
D.
The model is overfitting
Show solution
Solution
A high precision value indicates that most of the predicted positives are indeed true positives, reflecting the model's accuracy in positive predictions.
Correct Answer:
A
— Most predicted positives are true positives
Learn More →
Q. What does a high ROC AUC score indicate?
A.
The model has a high false positive rate.
B.
The model performs well in distinguishing between classes.
C.
The model is overfitting.
D.
The model has low precision.
Show solution
Solution
A high ROC AUC score indicates that the model is effective at distinguishing between the positive and negative classes.
Correct Answer:
B
— The model performs well in distinguishing between classes.
Learn More →
Q. What does a high value of AUC-ROC indicate?
A.
Poor model performance
B.
Model is overfitting
C.
Good model discrimination
D.
Model is underfitting
Show solution
Solution
A high value of AUC-ROC indicates good model discrimination ability between positive and negative classes.
Correct Answer:
C
— Good model discrimination
Learn More →
Q. What does a high value of Matthews Correlation Coefficient (MCC) indicate?
A.
Poor model performance
B.
Random predictions
C.
Strong correlation between predicted and actual classes
D.
High false positive rate
Show solution
Solution
A high MCC value indicates a strong correlation between predicted and actual classes, reflecting better model performance.
Correct Answer:
C
— Strong correlation between predicted and actual classes
Learn More →
Q. What does a high value of precision indicate in a classification model?
A.
High true positive rate
B.
Low false positive rate
C.
High false negative rate
D.
Low true negative rate
Show solution
Solution
High precision indicates that a large proportion of positive identifications were actually correct.
Correct Answer:
B
— Low false positive rate
Learn More →
Q. What does a high value of R-squared indicate in regression analysis?
A.
The model explains a large proportion of the variance in the dependent variable
B.
The model has a high number of features
C.
The model is overfitting the training data
D.
The model is underfitting the training data
Show solution
Solution
A high R-squared value indicates that a significant proportion of the variance in the dependent variable is explained by the independent variables in the model.
Correct Answer:
A
— The model explains a large proportion of the variance in the dependent variable
Learn More →
Q. What does a high value of R-squared indicate?
A.
Poor model fit
B.
Good model fit
C.
High bias
D.
High variance
Show solution
Solution
A high R-squared value indicates that a large proportion of the variance in the dependent variable is predictable from the independent variables.
Correct Answer:
B
— Good model fit
Learn More →
Q. What does A/B testing in model deployment help to determine?
A.
The best hyperparameters for the model
B.
The performance of two different models
C.
The training time of the model
D.
The data preprocessing steps
Show solution
Solution
A/B testing compares the performance of two different models to determine which one performs better in a production environment.
Correct Answer:
B
— The performance of two different models
Learn More →
Q. What does A/B testing in model deployment help to evaluate?
A.
Model training time
B.
User engagement
C.
Model performance against a baseline
D.
Data quality
Show solution
Solution
A/B testing helps to evaluate model performance against a baseline by comparing two versions.
Correct Answer:
C
— Model performance against a baseline
Learn More →
Q. What does A/B testing involve in the context of model deployment?
A.
Comparing two versions of a model to evaluate performance
B.
Training a model with two different datasets
C.
Deploying a model in two different environments
D.
None of the above
Show solution
Solution
A/B testing involves comparing two versions of a model to evaluate which one performs better in a real-world scenario.
Correct Answer:
A
— Comparing two versions of a model to evaluate performance
Learn More →
Q. What does accuracy measure in a classification model?
A.
The proportion of true results among the total number of cases examined
B.
The ability of the model to predict positive cases only
C.
The average error of the predictions
D.
The time taken to train the model
Show solution
Solution
Accuracy is defined as the ratio of correctly predicted instances to the total instances, indicating the overall effectiveness of the model.
Correct Answer:
A
— The proportion of true results among the total number of cases examined
Learn More →
Q. What does AUC stand for in the context of ROC analysis?
A.
Area Under the Curve
B.
Average Utility Coefficient
C.
Algorithmic Uncertainty Calculation
D.
Area Under Classification
Show solution
Solution
AUC stands for Area Under the Curve, which quantifies the overall ability of the model to discriminate between positive and negative classes.
Correct Answer:
A
— Area Under the Curve
Learn More →
Q. What does BFS stand for in graph algorithms?
A.
Binary First Search
B.
Breadth First Search
C.
Best First Search
D.
Backtracking First Search
Show solution
Solution
BFS stands for Breadth First Search, which is an algorithm for traversing or searching tree or graph data structures.
Correct Answer:
B
— Breadth First Search
Learn More →
Q. What does BFS stand for in graph traversal?
A.
Binary First Search
B.
Breadth First Search
C.
Best First Search
D.
Backtracking First Search
Show solution
Solution
BFS stands for Breadth First Search, which is an algorithm for traversing or searching tree or graph data structures.
Correct Answer:
B
— Breadth First Search
Learn More →
Showing 691 to 720 of 3237 (108 Pages)