15  Quiz: Column-level transformations

16 TableVectorizer

16.1 Question 1

What is the proper way of setting the number of components used by the high cardinality encoder in the TableVectorizer?

TableVectorizer(n_components=10)
new_encoder = StringEncoder(n_components=10)
TableVectorizer(high_cardinality=new_encoder)

Answer: B)

16.2 Question 2

The TableVectorizer categorizes columns based on their characteristics. What are the types of columns that it handles?

Answer: B)

By default, the TableVectorizer converts complex objects to their string representation, before checking their cardinality. No special transformation is provided for columns that contain structs or lists.

17 tabular_pipeline

17.1 Question 3

What are the default estimators used by the tabular_pipeline when it is called with "regression" and "classification" respectively?

tabular_pipeline("regression")
tabular_pipeline("classification")

Answer: D)

17.2 Question 4

How are linear models (Ridge, LogisticRegression) handled by the tabular_pipeline?

Answer: C)