Prévia do material em texto
7) In the domain of computer vision, which of the following techniques is commonly employed to augment training datasets, thereby improving the robustness and performance of deep learning models? A) Cross-Validation B) Data Normalization C) Image Rotation and Flipping D) Feature Selection E) Ensemble Learning Correct option: C) Explanation: Data augmentation techniques like image rotation, flipping, and cropping help to artificially expand the training dataset, providing more varied examples for the model to learn from, which can enhance its generalization capabilities. 8) Which of the following methods is frequently used for dimensionality reduction in datasets with a large number of features, particularly when seeking to capture the most variance in the data? A) Linear Regression B) Principal Component Analysis (PCA) C) K-Means Clustering D) Decision Trees E) Random Forests Correct option: B) Explanation: Principal Component Analysis (PCA) is a statistical technique that transforms the original features into a new set of orthogonal features (principal components), ordered by the amount of variance they explain, making it a powerful method for dimensionality reduction. 9) In the context of training neural networks, what is the primary purpose of using a learning rate schedule, and how does it contribute to the optimization process? A) To increase the number of training epochs B) To adjust the learning rate dynamically based on performance metrics C) To randomly initialize weights D) To enhance data preprocessing E) To determine the architecture of the network Correct option: B) Explanation: A learning rate schedule adjusts the learning rate over time, typically decreasing it as training progresses, which helps to stabilize the training process and allows for finer adjustments to the model parameters as it approaches convergence. 10) In the field of natural language processing, what is the significance of the attention mechanism, particularly in the context of transformer models, and how does it enhance the performance of such models? A) It selects the best model architecture automatically. B) It allows the model to weigh the importance of different words in a sentence, improving context understanding. C) It reduces the need for labeled data. D) It simplifies the preprocessing steps required for text. E) It is used solely for word embeddings. Correct option: B) Explanation: The attention mechanism enables transformer models to focus on specific parts of the input sequence when generating outputs, allowing for better handling of long- range dependencies and improving overall performance in tasks like translation and summarization. 11) In the implementation of recurrent neural networks (RNNs), what is the primary challenge that arises due to the architecture, particularly when processing long sequences of data? A) Overfitting due to too many parameters B) Exploding and vanishing gradients C) Lack of data augmentation techniques D) Difficulty in hyperparameter tuning E) Inefficient feature extraction Correct option: B) Explanation: RNNs are susceptible to exploding and vanishing gradients, which can hinder the learning process when dealing with long sequences, making it difficult for the network to learn from earlier inputs in the sequence. 12) When utilizing transfer learning in deep learning, what is the fundamental advantage of using a pre-trained model on a new but related task, and how does it impact training time and performance? A) It allows for completely new feature extraction methods. B) It eliminates the need for data preprocessing. C) It significantly reduces training time and improves performance by leveraging learned representations. D) It requires more labeled data. E) It simplifies the model architecture. Correct option: C) Explanation: Transfer learning leverages the knowledge gained from a previously trained model, allowing for faster convergence and improved performance on the new task, especially when labeled data is scarce or costly to obtain. 13) In the context of anomaly detection, which machine learning approach is often preferred for identifying outliers in high-dimensional datasets, particularly when the distribution of data is unknown? A) Linear Regression B) Support Vector Machines (SVM) C) K-Means Clustering D) Autoencoders E) Decision Trees Correct option: D) Explanation: Autoencoders are neural networks that learn to compress data into a lower- dimensional representation and then reconstruct it, making them effective for anomaly detection by identifying instances that reconstruct poorly as outliers. 14) When evaluating a classification model, which metric is primarily used to understand the balance between precision and recall, especially in scenarios where class distribution is imbalanced? A) Accuracy B) F1 Score C) ROC Curve D) AUC (Area Under Curve) E) Log Loss Correct option: B)