python-and-analytics
workshop-feb-2021
workshop-feb-2021
  • Introduction
  • Project setup
    • Perform the steps to setup your project
  • Python Basics
    • Getting started with Python3
  • Data Science Basics
    • Case-Study: DataScience through Titanic
    • Hackathon: Heart Disease Prediction
  • Resources
    • Watson Studio
    • Python3 tutorial
    • Introduction to Python
    • Markdown Syntax
Powered by GitBook
On this page

Was this helpful?

  1. Data Science Basics

Case-Study: DataScience through Titanic

PreviousGetting started with Python3NextHackathon: Heart Disease Prediction

Last updated 4 years ago

Was this helpful?

In this section, will explore a notebook that looks at the popular , manipulates the data, and finally creates a predictive model to predict which of the passengers will survive the disaster and which won't.

Unlike many other notebooks that are written by the experts for the experts, this notebook is written to explore only what we need and explain each concept as they arise through our journey. So long as you have completed the previous sections, you should find this notebook easy to follow.

Load and Run a Notebook

  • In your project, click Add to project and choose Notebook:

  • Choose New notebook From URL. Give your notebook a name, select the smallest runtime, copy the following URL, and click `Create.

    https://github.com/IBM/python-and-analytics/blob/workshop-feb-2021/notebooks/Titanic.ipynb

Spend some time looking through the sections of the notebook to get an overview. A notebook is composed of text (markdown or heading) cells and code cells. The markdown cells provide comments on what the code is designed to do.

You will run cells individually by highlighting each cell, then either click the Run button at the top of the notebook or hitting the keyboard short cut to run the cell (Shift + Enter but can vary based on platform). While the cell is running, an asterisk ([*]) will show up to the left of the cell. When that cell has finished executing a sequential number will show up (i.e. [17]).

Titanic dataset
Add notebook
Notebook from URL