Learn practical skills, build real-world projects, and advance your career

Logistic Regression on Titanic Dataset

Predict the survival of passengers travelling in RMS Titanic using Logistic Regression.

import warnings
warnings.filterwarnings('ignore')

import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
df = pd.read_csv("https://raw.githubusercontent.com/ingledarshan/upGrad_Darshan/main/titanic.csv")
df.head()