- توضیحات :
Dataset وضعیت بقای تک تک مسافران Titanic را توصیف می کند. مقادیر از دست رفته در مجموعه داده اصلی با استفاده از؟ مقادیر از دست رفته float و int با -1 جایگزین می شوند ، مقادیر از دست رفته رشته با "Unknown" جایگزین می شوند.
صفحه اصلی : https://www.openml.org/d/40945
کد منبع :
tfds.structured.Titanic
نسخه ها :
-
2.0.0
(پیش فرض): API جدید تقسیم شده ( https://tensorflow.org/datasets/splits )
-
اندازه
114.98 KiB
:114.98 KiB
اندازه مجموعه داده :
Unknown size
ذخیره خودکار ( مستندات ): ناشناخته است
تقسیم :
شکاف | مثال ها |
---|---|
'train' | 1309 |
- ویژگی ها :
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
سند نظارت شده مراجعه کنید):('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 ):