フリー問題

NVIDIA-Certified Professional: Accelerated Data Science のフリー問題 8 / 20 問目

問題文

A column of counts has 6 percent absent entries and the downstream model is a gradient-boosted tree. Which handling is defensible, and on what grounds?

選択肢

  1. Replace the absent entries with zero, because a count of zero is the natural reading of an absent count and using a single fixed value keeps the column's type unchanged while avoiding the extra column that a separate absence flag would introduce into the feature set.
  2. Leave the entries absent and add a boolean column recording that they were absent, so the model can use the fact of absence as information if it carries signal.
  3. Drop every row that has an absent entry in this column, since 6 percent is a small enough fraction that the loss is negligible, and a complete table keeps the training code simple and the feature list unchanged.
  4. Replace the absent entries with the column mean.

解答・解説を確認するには

正解と解説の確認、回答の記録には無料登録が必要です。登録すると演習モードでフリー問題に回答し、正誤と解説をその場で確認できます。