What is the primary goal of tokenization in NLP?
- Removing stop words
- Splitting text into words
- Extracting named entities
- Translating text to other languages
The primary goal of tokenization in NLP is to split text into words or tokens. This process is essential for various NLP tasks such as text analysis, language modeling, and information retrieval. Tokenization helps in breaking down text into meaningful units for analysis.
For models with a large number of layers, which technique helps in improving the internal covariate shift and accelerates the training?
- Stochastic Gradient Descent (SGD) with a small learning rate
- Batch Normalization
- L1 Regularization
- DropConnect
Batch Normalization is a technique used to improve the training of deep neural networks. It addresses the internal covariate shift problem by normalizing the activations of each layer. This helps in accelerating training and allows for the use of higher learning rates without the risk of divergence. It also aids in better gradient flow.
Which algorithm would you use when you have a mix of input features (both categorical and continuous) and you need to ensure interpretability of the model?
- Random Forest
- Support Vector Machines (SVM)
- Neural Networks
- Naive Bayes Classifier
Random Forest is a suitable choice for mixed input features when interpretability is important. It combines decision trees and is often used for feature selection and interpretability, making it a good option for such cases.
The _______ is a measure of the relationship between two variables and ranges between -1 and 1.
- P-value
- Correlation coefficient
- Standard error
- Regression
The measure of the relationship between two variables, ranging from -1 (perfect negative correlation) to 1 (perfect positive correlation), is known as the "correlation coefficient." It quantifies the strength and direction of the linear relationship between variables.
How do federated learning approaches differ from traditional machine learning in terms of data handling?
- Federated learning doesn't use data
- Federated learning relies on centralized data storage
- Federated learning trains models on decentralized data
- Traditional machine learning trains models on a single dataset
Federated learning trains machine learning models on decentralized data sources without transferring them to a central server. This approach is privacy-preserving and efficient. In contrast, traditional machine learning typically trains models on a single, centralized dataset, which may raise data privacy concerns.
For graph processing in a distributed environment, Apache Spark provides the _______ library.
- GraphX
- HBase
- Pig
- Storm
Apache Spark provides the "GraphX" library for graph processing in a distributed environment. GraphX is a part of the Spark ecosystem and is used for graph analytics and computation. It's a powerful tool for analyzing graph data.
In computer vision, what process involves converting an image into an array of pixel values?
- Segmentation
- Feature Extraction
- Pre-processing
- Quantization
Pre-processing in computer vision typically includes steps like resizing, filtering, and transforming an image. It's during this phase that an image is converted into an array of pixel values, making it ready for subsequent analysis and feature extraction.
Which of the following is not typically a layer in a CNN?
- Convolutional Layer
- Fully Connected Layer
- Recurrent Layer
- Pooling Layer
Recurrent Layers are not typically used in Convolutional Neural Networks. They are more common in Recurrent Neural Networks (RNNs) and are used for sequential data processing, unlike CNNs, which are designed for grid-like data.
The operation in CNNs that combines the outputs of neuron clusters and produces a single output for the cluster is known as _______.
- Activation Function
- Pooling
- Convolutions
- Fully Connected
In CNNs, the operation that combines the outputs of neuron clusters and produces a single output for the cluster is called "Pooling." Pooling reduces the spatial dimensions of the feature maps, making them smaller and more computationally efficient while retaining important features.
A healthcare organization stores patient records in a database. Each record contains structured fields like name, age, and diagnosis. Additionally, there are scanned documents and notes from doctors. Which term best describes the type of data in this healthcare database?
- Structured data
- Semi-structured data
- Unstructured data
- Big data
The healthcare database contains a mix of structured data (name, age, diagnosis) and semi-structured data (scanned documents and doctor's notes). Semi-structured data includes elements with partial structure, like documents, which can be tagged or indexed for better retrieval.