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.
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 datasets with multiple features, EDA often involves dimensionality reduction techniques like PCA to visualize data in two or three _______.
- Planes
- Points
- Dimensions
- Directions
Exploratory Data Analysis (EDA) often employs dimensionality reduction techniques like Principal Component Analysis (PCA) to visualize data in lower-dimensional spaces (2 or 3 dimensions) for better understanding, hence the term "dimensions."
When a dataset has values ranging from 0 to 1000 in one column and 0 to 1 in another column, which transformation can be used to scale them to a similar range?
- Normalization
- Log Transformation
- Standardization
- Min-Max Scaling
Min-Max Scaling, also known as feature scaling, is used to transform values within a specific range (typically 0 to 1) for different features. It ensures that variables with different scales have a similar impact on the analysis.
In a relational database, what is used to ensure data integrity across multiple tables?
- Primary Key
- Foreign Key
- Index
- Trigger
A Foreign Key is used in a relational database to ensure data integrity by creating a link between tables. It enforces referential integrity, ensuring that values in one table match values in another. Primary Keys are used to uniquely identify records in a table, not to maintain integrity across tables. Indexes and Triggers serve different purposes.
A company uses an AI model for recruitment, and it's observed that the model is selecting more male candidates than female candidates for a tech role, even when both genders have similar qualifications. What ethical concern does this scenario highlight?
- Data bias in AI
- Lack of transparency in AI
- Data security and privacy issues in AI
- Ethical AI governance and accountability
This scenario highlights the ethical concern of "Data bias in AI." The AI model's biased selection towards male candidates indicates that the training data may be biased, leading to unfair and discriminatory outcomes. Addressing data bias is essential to ensure fairness and diversity in AI-driven recruitment.
Which type of database is ideal for handling hierarchical data and provides better scalability, MongoDB or MySQL?
- MongoDB
- MySQL
- Both MongoDB and MySQL
- Neither MongoDB nor MySQL
MongoDB is a NoSQL database that is ideal for handling hierarchical data and provides better scalability for unstructured data. MongoDB uses BSON (Binary JSON) format, which makes it a good choice for applications that require flexibility and scalability in dealing with complex data structures.
When a model performs well on training data but poorly on unseen data, what issue might it be facing?
- Overfitting
- Underfitting
- Data leakage
- Bias-variance tradeoff
The model is likely facing the issue of overfitting. Overfitting occurs when the model learns the training data too well, including noise, resulting in excellent performance on the training set but poor generalization to unseen data. It's an example of a high-variance problem in the bias-variance tradeoff. To address overfitting, techniques like regularization and more data are often used.
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.
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.
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.
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.