βœ… Quiz M1.01ΒΆ

Question

In the notebook β€œFirst look at our dataset”, we used pandas and specifically adult_census = pd.read_csv("../datasets/adult-census.csv") to:

  • a) load a comma-separated values file

  • b) load a dataset already included in the pandas package

  • c) load a file only containing the survey features

  • d) load a file only containing the target of our classification problem: whether or not a person has a low or high income salary

  • e) load a file containing both the features and the target for our classification problem

Select multiple answers

Question

In the previous notebook, we used:

  • a) pandas to manipulate data

  • b) pandas and seaborn to visually inspect the dataset

  • c) numpy and scipy to perform numerical inspection (for instance using scipy.optimize.minimize)

  • d) scikit-learn to fit some machine learning models

Question

How is a tabular dataset organized?

  • a) a column represents a sample and a row represents a feature

  • b) a column represents a feature and a row represents a sample

  • c) the target variable is represented by a row

  • d) the target variable is represented by a column

Question

A categorical variable is:

  • a) a variable with only two different possible values

  • b) a variable with continuous numerical values

  • c) a variable with a finite set of possible values