ACO 423 Flashcards
(48 cards)
Which of the following are examples of programming environments for Python?
VSCode and Jupyter Notebook
Which of the following is a Python package specified for plotting data?
matplotlib
According to the syllabus, what percentage is attendance and class participation?
0.15
Which of the following shows an example of a list in Python?
x = [3, 1, 5, 2, 4]
Which of the following shows an example of a tuple in Python?
x = (3, 1, 5, 2, 4)
The pandas module can do all of the following except
plot the data
Order matters for positional arguments but not for keyword arguments
True
If v1 = df.col1 and v2 = df[df.col1 > 22], what are their types?
v1 is Series and v2 is DataFrame
In which machine learning algorithms are labels provided to the algorithm?
Supervised algorithms
Clustering is an example of which type of algorithm?
Unsupervised
What is the attribute type for things like the brand of a product and Zip code?
Nominal (Categorical)
Which of the following plots are used for visualizing one variable (univariate)?
Histogram and Box plot
How is the Inter-quartile Range (IQR) calculated?
Q3 - Q1
The height of the box in a Box plot is equal to IQR
True
Which plot shows a positive correlation between two variables x and y?
Plot c
A data matrix has n rows for n data points and p columns for p attributes
True
If dissimilarity is (p - m) / p, what is the formula for similarity?
m / p
Minkowski distance is a generalization of which distances?
Euclidean and Manhattan
A correlation matrix shows the correlation coefficient magnitude for each attribute pair
True
What is the range of values in a correlation matrix cell?
-1 to +1
A bubble chart is a variation of a scatterplot that uses a third variable to determine size
True
In a tag cloud, the importance of a tag is represented by
font size or color
What are methods for handling missing data in a dataset automatically?
Global constant, attribute mean, class mean, or most probable value
A high correlation between attributes A and B may suggest redundancy
True