Write Python scripts in a Jupyter notebook that implement the gradient descent algorithm from scratch to train a logistic regression model for the Titanic dataset:
a) True
b) False