Quiz 1: Data Preprocessing

QUIZ 1

Question 1

  • In Python, which of the following library can best help manage datasets ?

  • Answer: pandas

Question 2

  • What is the correct way of importing a dataset in R ?

  • Answer: dataset = read.csv('Data.csv')

Question 3

  • Which of the following is not a recommended strategy to take care of missing data ?

  • Answer: Delete the observation that contains the missing data

Question 4

  • Do we need to apply OneHotEncoder to encode an independent variable that gives the size S, M or L of a t-shirt ?

  • Answer: No

Question 5

  • What is the worst choice of split ratio Training set : Test set ?

  • Answer: 50 : 50

Last updated