Safe Haskell | None |
---|---|
Language | Haskell2010 |
Numeric.Datasets.Titanic
Description
Titanic Data Set. For each person on board the fatal maiden voyage of the ocean liner SS Titanic, this dataset records Sex, Age (child/adult), Class (Crew, 1st, 2nd, 3rd Class) and whether or not the person survived.
``The Titanic survival data seem to become to categorical data analysis what Fisher's Iris data are to discriminant analysis.'' - Buja A.: A word from the editor of JCGS. Statistical Computing & Graphics Newsletter 10 (1), pp.32-33, 1999.
Retrieved from: https://raw.githubusercontent.com/JackStat/6003Data/master/Titanic.txt. A copy of the dataset can be found in datasets/titanic2_full.tsv .
Header:
PassengerId Survived Pclass Name Sex Age SibSp Parch Ticket Fare Cabin Embarked
Example rows :
10 1 2 "Nasser, Mrs. Nicholas (Adele Achem)" "female" 14 1 0 "237736" 30.0708 "" C 29 1 3 "O'Dwyer, Miss. Ellen "Nellie"" "female" NA 0 0 "330959" 7.8792 "" Q
Synopsis
- titanicRemote :: Dataset Https TitanicEntry
- titanicLocal :: Dataset h TitanicEntry
- data TitanicEntry = TitanicEntry {}
- data Class
- newtype Age = Age (Maybe Double)
- data Sex
Documentation
titanicRemote :: Dataset Https TitanicEntry Source #
The Titanic dataset, to be downloaded from https://raw.githubusercontent.com/JackStat/6003Data/master/Titanic.txt
titanicLocal :: Dataset h TitanicEntry Source #
The Titanic dataset, parsed from a local copy
data TitanicEntry Source #
Constructors
TitanicEntry | |
Instances
Instances
Bounded Class Source # | |
Enum Class Source # | |
Defined in Numeric.Datasets.Titanic | |
Eq Class Source # | |
Read Class Source # | |
Show Class Source # | |
Generic Class Source # | |
type Rep Class Source # | |
Defined in Numeric.Datasets.Titanic type Rep Class = D1 (MetaData "Class" "Numeric.Datasets.Titanic" "datasets-0.3.0-7Z79tuLu7Qn9R081MfsFat" False) ((C1 (MetaCons "First" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Second" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Third" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Crew" PrefixI False) (U1 :: Type -> Type))) |