Would You Survive the Titanic? A Guide to Machine Learning in Python
I recommend using the "pip" Python package manager, which will allow you to simply run "pip3 install packagename " to install each of the dependencies: For actually writing and running the code I recommend using IPython, which will allow you to run modular blocks of code and immediately the view output values and data visualizations, along with the Jupyter Notebook as a graphical interface. With all of the dependencies installed, simply run "jupyter notebook" on the command line, from the same directory as the titanic3.xls The Data At First Glance: Who Survived The Titanic, And Why? Before we can feed our dataset into a machine learning algorithm, we have to remove missing values and split it into training and test sets. Interestingly, after splitting by class, the main deciding factor determining the survival of women is the ticket fare that they paid, while the deciding factor for men is their age(with children being much more likely to survive).
May-27-2017, 14:21:57 GMT