What to do when prediction accuracy is not possible

When overfitting

・Collect more training data

・Reduce feature n

Increase the regularization coefficient λ

When underfitting

Increase the feature n

・ Add higher-order features

・Reduce the coefficient λλ of regularization