Exercises and Projects
5.5. Exercises and Projects#
Please hand write a report about the details of the math formulas for Logistic regression.
CHOOSE ONE: Please use sklearn
to apply the LogisticRegression to one of the following datasets. You may either use LogisticRegression
or SGDClassifier
.
the
iris
dataset.the dating dataset.
the
titanic
dataset.
Please in addition answer the following questions.
What is your accuracy score?
How many epochs do you use?
Plot the learning curve (accuracy vs training sizes).
CHOOSE ONE: Please use keras
to apply the LogisticRegression to one of the following datasets.
the
iris
dataset.the dating dataset.
the
titanic
dataset.
Please in addition answer the following questions.
What is your accuracy score?
How many epochs do you use?
What is the batch size do you use?
Plot the learning curve (loss vs epochs, accuracy vs epochs).
Analyze the bias / variance status.