Prévia do material em texto
E) Support Vector Machines Correct option: C) Explanation: Transformer networks leverage self-attention mechanisms to process input text in parallel, effectively capturing long-range dependencies and significantly enhancing performance in NLP tasks compared to traditional architectures. 23) In the process of hyperparameter tuning for machine learning models, which of the following methods is commonly used to systematically explore combinations of hyperparameters to find the optimal configuration for a given model? A) Random Search B) Grid Search C) Bayesian Optimization D) Cross-Validation E) Ensemble Learning Correct option: B) Explanation: Grid search exhaustively tests all combinations of a predefined set of hyperparameters, systematically exploring the hyperparameter space to identify the best- performing configuration for the model. 24) In the context of image classification, which technique is often utilized to improve the model's robustness against variations in input data, such as changes in lighting or orientation, thereby enhancing its generalization capabilities? A) Data Normalization B) Data Augmentation C) Cross-Validation D) Feature Scaling E) Ensemble Learning Correct option: B) Explanation: Data augmentation involves creating modified versions of images through techniques such as rotation, flipping, and scaling, increasing the diversity of the training dataset and improving the model's ability to generalize to unseen data. 25) In the context of recurrent neural networks, what is the primary purpose of implementing Long Short-Term Memory (LSTM) units, and how do they address the limitations of traditional RNNs? A) They reduce the model complexity. B) They introduce non-linear activation functions. C) They prevent exploding gradients. D) They allow for the retention of information over longer sequences, addressing vanishing gradient issues. E) They simplify the training process. Correct option: D) Explanation: LSTM units are designed to retain information over long sequences, using gating mechanisms to regulate the flow of information, thereby addressing the vanishing gradient problem commonly encountered in traditional RNNs. 26) In the context of model evaluation, which metric is particularly useful for assessing the performance of a regression model by measuring the average magnitude of the errors between predicted and actual values? A) Accuracy B) Mean Absolute Error (MAE) C) F1 Score D) ROC AUC E) R-Squared Correct option: B) Explanation: Mean Absolute Error (MAE) quantifies the average absolute differences between predicted and actual values, providing a clear measure of the model's accuracy in regression tasks. 27) In the field of natural language processing, what is the role of tokenization, and how does it impact the subsequent steps in text processing and analysis? A) It converts text into numerical data. B) It splits text into smaller units (tokens), which are essential for further processing, such as embedding and modeling. C) It normalizes the text data. D) It selects relevant features from the text. E) It generates new text data. Correct option: B) Explanation: Tokenization is the first step in text processing that breaks down text into smaller components, such as words or phrases (tokens), which are crucial for embedding, modeling, and further analysis in NLP tasks. 28) In the context of supervised learning, what is the significance of using a validation set during the training process, particularly in relation to model performance and overfitting? A) It simplifies the data preprocessing steps. B) It serves as a final test for the model after training. C) It helps in tuning hyperparameters and provides an unbiased evaluation of the model during training. D) It eliminates the need for a training set. E) It is used solely for data augmentation. Correct option: C) Explanation: A validation set is used to monitor the model's performance during training, allowing for hyperparameter tuning and helping to prevent overfitting by providing an unbiased evaluation of the model's ability to generalize. 29) In the context of reinforcement learning, which algorithm is particularly known for its ability to learn optimal policies through trial and error, using a value function to estimate the expected return from states? A) Deep Q-Network (DQN) B) K-Means Clustering C) Support Vector Machines D) Principal Component Analysis E) Gradient Boosting Correct option: A) Explanation: Deep Q-Network (DQN) combines reinforcement learning with deep learning, using a neural network to approximate the value function and enabling the agent to learn optimal policies through trial and error in various environments. 30) In the domain of anomaly detection, which statistical approach is commonly employed to identify outliers by assuming that the data distribution follows a specific probability distribution, and how does it facilitate the detection process? A) K-Means Clustering B) Z-Score Analysis