プリンキピア

第5章多層パーセプトロン

5.7. Predicting House Prices on Kaggle5.7 Kaggleで住宅価格を予測する

Now that we have introduced some basic tools for building and training deep networks and regularizing them with techniques including weight decay and dropout, we are ready to put all this knowledge into practice by participating in a Kaggle competition. The house price prediction competition is a great place to start. The data is fairly generic and do not exhibit exotic structure that might require specialized models (as audio or video might). This dataset, collected by De Cock (2011), covers house prices in Ames, Iowa from the period 2006–2010. It is considerably larger than the famous Boston housing dataset of Harrison and Rubinfeld (1978), boasting both more examples and more features.
英語のヒント
深いネットワークを作って訓練し、重み減衰やドロップアウトといった手法で正則化するための基本的な道具をいくつか紹介したので、Kaggleのコンペティションに参加して、この知識をすべて実地に使う準備ができた。住宅価格の予測のコンペティションは、手始めにうってつけである。データはかなり一般的なもので、(音声や動画がそうであるような)特化したモデルを必要とする変わった構造は見られない。De Cock (2011)が集めたこのデータセットは、アイオワ州エイムズの2006〜2010年の住宅価格を収めている。これは、Harrison and Rubinfeld (1978)の有名なボストン住宅データセットよりかなり大きく、事例も特徴量もより多い。
In this section, we will walk you through details of data preprocessing, model design, and hyperparameter selection. We hope that through a hands-on approach, you will gain some intuitions that will guide you in your career as a data scientist.
英語のヒント
この節では、データの前処理、モデルの設計、ハイパーパラメータの選択の詳細を、一つずつ案内する。実際に手を動かすやり方を通じて、データサイエンティストとしての仕事の指針となる直観をいくらか得てほしい。
%matplotlib inline
import pandas as pd
import torch
from torch import nn
from d2l import torch as d2l