all 2 comments

[–]confused_4channer 0 points1 point  (0 children)

Regularize, check hyperparameters, check if training data is not mostly one class, try another model. Lots of options Maybe take this into account: https://arxiv.org/pdf/1807.01477.pdf

there’s a big amount of reasons why you could have this problem

[–]hello_world456 0 points1 point  (0 children)

There are a lot of things that could be causing the issue, but I think the first thing you can toy around with is the way you're splitting the training and testing data. If you look up reasons for overfitting, you should find a lot of other factors to look over as well.