1. Correlation is the same as covariance. Is this statment True or False?
Select one:
True
False ---
2. Decision tree can be used for...
a. classification
b. Non of these
c. regression
d. Both ---
3. Decision Tree models are less sensitive to outliers in data. Is this statement True
or False?
Select one:
True
False ---
4. Mr. Oscar samples his class by selecting all students sitting at group 1 and group
5. Which type of sampling method is this?
a. Systematic
b. Cluster ---
c. Random
d. Stratified
5. score() method in LinearRegression() model is
Select one:
a. MSE
b. Determination Coefficient ---
c. MAE
d. RMSE
6. What will be the result of data. [Link](), if Name column consists of ['A',
'B', 'C', 'D', 'E', 'A', 'E', 'B']
Select one:
a. A, B, C, D, E
b. A, A, B, B, C, D, E, E
c. A, B, C, D, E, A, E, B ---
d. A, B, C, D
7. For the following code [Link]([Link], [Link], 50, marker = *,
color = '#2Ffd50')
What will be on x axis?
Select one:
a. marker
b. data. Temperature ---
c. data. Sales
d. range(100)
8. Mr. Oscar samples his class by selecting 5 boys and 7 girls, Which type of
sampling method is this?
a. Cluster
b. Systematic
c. Random
d. Stratified ---
9. Decision tree learners may create biased trees if some classes dominate. What's
the solution of it?
a. use different data
b. use different performance metric
c. no solution for this issue
d. balance the data ---
10. Decision tree is a _ method.
a. Both
b. unsupervised learning
c. supervised learning ---
d. None of these
11. What are the possible ranges of the correlation coefficient?
a.<= 1
b. 0 <= r <= 1
c. -1 <= r <= 1 ---
d. 0 < r < 1
12. Suppose, your target variable is whether a passenger will survived or not using
Decision Tree. What type of tree do you need?
a. clustering tree
b. classification tree ---
c. regression tree
d. none of these
13. Which line of code creates an instance of a linear model?
Select one:
a. model = [Link]() ---
b. model = pd.read_csv0
c. model = [Link]()
d. model = train_test_split()
14. Which purity metric does IDF3 algorithm use?
a. Both of these
b. Gini
c. Entropy ---
d. RMSE
15. Decision tree can be used for _
a. Both ---
b. Non of these
c. classification
d. regression
16. Linear Regression model are sensitive to outliers in data. Is this statement True
or False?
Select one:
True ---
False
17. Suppose, your target variable is whether a passenger will survived or not using
Decision Tree. What type of tree do you need to predict the target variable?
a. clustering tree
b. none of these
c. classification tree ---
d. regression tree
18. Correlation is the same as covariance. Is this statment True or False?
Select one:
True
False ---
19. What is the difference between Ridge() and RidgeCV0?
Select one:
a. There is no difference
O b. Ridge() is simple regularization RidgeCV) is more complex - it uses different
loss function
c. RidgeCV() used only for datasets bigger than 100k
d. RidgeCV() has built-in cross-validation ---
20. Mr. Oscar samples his class by selecting every third person on his class list.
Which type of sampling method is this?
a. Cluster
b. Random
c. Stratified
d. Systematic ---
21. What type of encoding categorical data is this?
ID Model Color
001 103 567890
002 105 767390
003 100 567777
004 100 767390
Select one:
a. Hash table
b. One-Hot Encoding
c. Non of them
d. Label Encoding ---
22. To ensure if your LinerRegression() model is stable you should compare
score() on train sets and …
Select one:
a. on train set
b. with different model's score
c. on outliers
d. on test set ---
23. Data normalization can increase a model's score. True or False?
Select one:
True ---
False
24. What is the maximum depth in a decision tree?
a. the length of the longest path from a root to a leaf ---
b. the length of the shortest path from a root to a leaf
c. the length of the longest path from a root to a sub-node
d. none of these
25. What does Entropy=1 mean?
a. Data is higly impure ---
b. Accuracy is low
c. Data is more pure than impure
d. Data is higly pure
26. Decision tree is a_ method.
a. Both
b. None of these
c. unsupervised learning
d. supervised learning ---
27. Decision tree learners may create biased trees if some classes dominate. What's
the solution of it?
a. use different data
b. use different performance metric
c. no solution for this issue
d. balance the data ---
28. What should be done in order to use categorical data in a linear model?
Select one:
a. Encoding ---
b. Data cleaning
c. Data visalization
d. Dropping NaNs
29. Which data cannot proceed to the linear model's fit()?
Select one:
a. zeros
b. categorical ---
c. encoded
d. numerical
30. What type of encoding categorical data is this?
ID Name Passenger type
001 Adam N. 1
002 Adam M. 2
003 Adam S. 0
004 Adam K. 1
Select one:
a. One-Hot Encoding
b. Non of them
c. Label Encoding ---
d. Hash table
31. Decision Tree can be used as a regression method. Is this statement True or
False?
Select one:
True ---
False
32. We can use MSE metric for Decision Tree Classifier as a performance metric.
Is this statement True or False?
Select one.
True
False ---
33. How to determine if your model underfitted?
Select one:
a. score is low than 80%
b. score on test set usually higher than on train set
c. score on train set usually higher than on test set ---
d. score on test set and train set are equal
34. Correlation doesn't always imply causation. Is this more likely to be True or
False?
Select one:
True ---
False
35. What type of encoding categorical data is this?
ID VIP passenger Regular passenger
001 0 1
002 1 0
003 0 1
004 1 0
Select one:
a. Non of them
b. Label Encoding
c. One-Hot Encoding
d. Hash table
?????
36. train_test_split() function results 4 arrays. True or False?
Select one:
True ---
False
37. Mr. Oscar samples his class by pulling some amount of name tags from a
closed box. Which of them?
a. Random ---
b. Stratified
c. Systematic
d. Cluster
38. What are the main buildings blocks of visualization of data science?
Choose one:
a. Colors and hues
b. Nodes, colors
c. Points, lines, areas ---
d. Squares and circles
39. What are the two parts of web scraping?
Choose one:
a. Fetching data, Parsing data ---
b. Buying data, Saving data
c. Copying data, Saving data
d. Downloading data, Reading CSV files
40. Which of the given variants is NOT an open corpus (repository of open data)?
DBPEDIA
WIKIDATA
IMDB ---
DATA WORLDBANK
41.