Skip to content

This was my first step into machine learning, Its not new, I am just uploading it on Github now. Its a llinear regression model

Notifications You must be signed in to change notification settings

beetrandahiya/Titanic-Survival-Prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

linear__regression_titanic_data

This was my first step into machine learning, Its not new, I am just uploading it on Github now.
Its a linear regression model which predicts, if a particular person would stay alive or would die on the RMS Titanic which sank in North Atlantic Ocean, based on the trend in training data.

Linear Regression Algorithm

Linear Regression is a very simple algorithm in which, we give in a dataset and the model try to figure out a Line of Best Fit. And finally create a linear trend (with a uniform slope) which can be used to efficiently coin out expected outcome from a same type of data.

Its a Supervised Machine Learning Algorithm.

linear regression diagram


Dataset used

Titanic: Machine Learning from Disaster Dataset
Training Dataset Link : https://storage.googleapis.com/tf-datasets/titanic/train.csv
Testing Dataset Link : https://storage.googleapis.com/tf-datasets/titanic/eval.csv

Usage

It is on Google Colaboratory, so if you wanna see how it works, Just open it in Colab and you wont have to actually install any libraries or other dependencies on your system🙂.

RMS Titanic Disaster


The RMS Titanic, a luxury steamship, sank in the early hours of April 15, 1912, off the coast of Newfoundland in the North Atlantic
after sideswiping an iceberg during its maiden voyage.
Of the 2,240 passengers and crew on board, more than 1,500 lost their lives in the disaster.
Titanic has inspired countless books, articles and films
(including the 1997 “Titanic” movie starring Kate Winslet and Leonardo DiCaprio),
and the ships story has entered the public consciousness
as a cautionary tale about the perils of human hubris.