There is always room for improvement in the accuracy of any model. In this section, we will talk about some of the parameters that can be tweaked to improve our model accuracy score of 87.5% obtained from the previous section.
Fine-tuning model parameters
Getting ready
This section does not require any new prerequisites.
How to do it...
This section walks through the steps to fine-tune the model.
- Define a new logistic regression model with additional parameters for regParam and elasticNetParam as seen in the following script:
logregFT = LogisticRegression(
regParam...