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.
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.
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.
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.
_________ is a popular open-source framework used for real-time processing and analytics of large streams of data.
- Hadoop
- Spark
- Hive
- Kafka
Apache Spark is a widely used open-source framework for real-time processing and analytics of large streams of data. It provides powerful tools for data processing, machine learning, and more, making it a popular choice in the field of big data and data science.
A common task in supervised learning where the output variable is categorical, such as 'spam' or 'not spam', is called _______.
- Classification
- Regression
- Clustering
- Association
The correct term is "Classification." In supervised learning, the goal is to predict a categorical output variable based on input features. Common examples include classifying emails as 'spam' or 'not spam' (binary classification) or classifying objects into multiple categories (multi-class classification). Classification models aim to assign inputs to predefined categories, making it an essential task in supervised learning.
When considering the Data Science Life Cycle, which step involves assessing the performance of your model and ensuring it meets the project's objectives?
- Data Collection
- Data Preprocessing
- Model Building and Training
- Model Evaluation and Deployment
Model Evaluation and Deployment is the phase where you assess the performance of your data model and ensure it meets the project's objectives. During this step, you use various metrics and techniques to evaluate how well the model is performing and decide whether it's ready for deployment. This phase is crucial for ensuring that the data-driven solution is effective and meets the desired outcomes.
One of the challenges with Gradient Boosting is its sensitivity to _______ parameters, which can affect the model's performance.
- Hyperparameters
- Feature selection
- Model architecture
- Data preprocessing
Gradient Boosting is indeed sensitive to hyperparameters like the learning rate, tree depth, and the number of estimators. These parameters need to be carefully tuned to achieve optimal model performance. Hyperparameter tuning is a critical step in using gradient boosting effectively.
In the context of data warehousing, what does the acronym "OLAP" stand for?
- Online Learning and Prediction
- Online Analytical Processing (OLAP)
- On-Demand Logical Analysis Platform
- Optimized Load and Analysis Process
"OLAP" stands for "Online Analytical Processing." It is a category of data processing that enables interactive and complex analysis of multidimensional data. OLAP databases are designed for querying and reporting, facilitating business intelligence and decision-making.
In an RNN, which component is responsible for allowing information to be passed from one step in the sequence to the next?
- Hidden State
- Input Layer
- Output Layer
- Activation Function
The hidden state in an RNN is responsible for passing information from one step in the sequence to the next. It carries information from previous steps and combines it with the current input to capture sequential dependencies, making it a crucial component in recurrent neural networks.