WorksheetsMachine Learning EDA
Total questions: 20
Worksheet time: 12mins
What is a key requirement for a time series column?
It must be numeric
It must be in datetime format
It must be a categorical feature
It must be unique
What plot is most commonly used to visualize trends over time?
a) Bar chart
b) Scatter plot
c) Line plot
d) Histogram
What is the purpose of Exploratory Data Analysis (EDA)?
To find patterns and relationships in the data
To build predictive models
To evaluate model performance
None of the above
What is the purpose of data preprocessing in EDA?
To remove missing values from the data
To transform the data into a suitable format
To handle outliers in the data
All of the above
Which of the following techniques can be used to handle missing values in the data during EDA when you are working on personal data?
Deleting rows or columns with missing values
Replacing missing values with the mean or median
None of the above
Both A and B
What is the goal of feature engineering during EDA?
To create new features from the existing data
To remove irrelevant features from the data
To transform the data into a suitable format for analysis
All of the above
What is the purpose of descriptive statistics in EDA?
To summarize the data using measures like mean and standard deviation
To identify patterns and relationships in the data
To clean and preprocess the data
To build predictive models
Which of the following is an example of a categorical variable?
Age of a person
Height of a building
Gender of an individual
Temperature of a room
What role does domain knowledge play in EDA?
It helps in preprocessing and cleaning the data
It guides the selection of appropriate visualization techniques
It provides insights into the data patterns and relationships
It enables the building of predictive models
What is Machine Learning?
A computer program that learns from data
A set of rules and instructions for a computer
A type of computer hardware
A way to store and retrieve information
In Exploratory Data Analysis (EDA), what does a histogram visualize?
Correlation between variables
Distribution of a single variable
Relationships between categorical variables
Outliers in the dataset
Which library provides OneHotEncoder as a class?
pandas
numpy
sklearn
seaborn
Which of the following is NOT a common step in data cleaning?
Handling missing values
Encoding categorical variables
Removing duplicates
Correcting inconsistent data
Which of these is NOT typically extracted from a datetime column?
Year
Day of week
Temperature
Month
Which of these is NOT a numerical feature summary statistic?
Mean
Median
Standard deviation
Countplot
What will df['column'].mean() calculate?
Median value
Average
Standard Deviation
Mode
Which Python library provides functions like dropna(), fillna(), and duplicated() for data cleaning?
(a)
A bar plot helps to visualize:
Trend over time
Relationship between two numerical variables
Outliers
Missing values
What is a categorical feature?
A numeric feature
A feature with text or limited set of values
A missing feature
A datetime feature
value_counts() function is used for:
Summing numerical features
Counting the frequency of each category
Filling missing values
Calculating mean
