- 説明:
タイタニック号の個々の乗客の生存状況を説明するデータセット。元のデータセットに欠落している値は、?を使用して表されます。 Floatおよびintの欠落値は-1に置き換えられ、文字列の欠落値は「不明」に置き換えられます。
ホームページ: https : //www.openml.org/d/40945
ソースコード:
tfds.structured.Titanic
バージョン:
-
2.0.0
(デフォルト):新しい分割API( https://tensorflow.org/datasets/splits )
-
ダウンロードサイズ:
114.98 KiB
データセットサイズ:
Unknown size
自動キャッシュ(ドキュメント):不明
分割:
スプリット | 例 |
---|---|
'train' | 1,309 |
- 特徴:
FeaturesDict({
'features': FeaturesDict({
'age': tf.float32,
'boat': tf.string,
'body': tf.int32,
'cabin': tf.string,
'embarked': ClassLabel(shape=(), dtype=tf.int64, num_classes=4),
'fare': tf.float32,
'home.dest': tf.string,
'name': tf.string,
'parch': tf.int32,
'pclass': ClassLabel(shape=(), dtype=tf.int64, num_classes=3),
'sex': ClassLabel(shape=(), dtype=tf.int64, num_classes=2),
'sibsp': tf.int32,
'ticket': tf.string,
}),
'survived': ClassLabel(shape=(), dtype=tf.int64, num_classes=2),
})
監視ありキー(
as_supervised
docを参照):(('features', 'survived')
引用:
@ONLINE {titanic,
author = "Frank E. Harrell Jr., Thomas Cason",
title = "Titanic dataset",
month = "oct",
year = "2017",
url = "https://www.openml.org/d/40945"
}
図( tfds.show_examples ):サポートされていません。
例( tfds.as_dataframe ):