Topic 1 Question 89
You're training a model to predict housing prices based on an available dataset with real estate properties. Your plan is to train a fully connected neural net, and you've discovered that the dataset contains latitude and longitude of the property. Real estate professionals have told you that the location of the property is highly influential on price, so you'd like to engineer a feature that incorporates this physical dependency. What should you do?
Provide latitude and longitude as input vectors to your neural net.
Create a numeric column from a feature cross of latitude and longitude.
Create a feature cross of latitude and longitude, bucketize it at the minute level and use L1 regularization during optimization.
Create a feature cross of latitude and longitude, bucketize it at the minute level and use L2 regularization during optimization.
解説
ユーザの投票
コメント(10)
Ans C, use L1 regularization becuase we know the feature is a strong feature. L2 will evenly distribute weights
👍 6AHUI2022/09/26- 正解だと思う選択肢: C
C. Create a feature cross of latitude and longitude, bucketize it at the minute level and use L1 regularization during optimization.
👍 5AWSandeep2022/09/02 - 正解だと思う選択肢: C
Option C is correct
Use L1 regularization when you need to assign greater importance to more influential features. It shrinks less important feature to 0. L2 regularization performs better when all input features influence the output & all with the weights are of equal size.
👍 4dish11dish2022/11/22
シャッフルモード
