Logistic Regression
Logistic Regression
'''
print(train_data.head())
# Now, we need to predict the missing target variable in the test data
# target variable - Survived
'''
Create the object of the Logistic Regression model
You can also add other parameters and test your code here
Some parameters are : fit_intercept and penalty
Documentation of sklearn LogisticRegression:
https://scikit-learn.org/stable/modules/generated/
sklearn.linear_model.LogisticRegression.html
'''
model = LogisticRegression()