Keras Extremely High Loss

后端 未结 2 353
孤城傲影
孤城傲影 2021-01-18 07:03

I\'m trying to predict price by characteristics. I chose a pretty simple model, but it works very strange. Loss function is extremely high and I can\'t see where the problem

2条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-18 07:14

    1. Normalize your dataset like preprocess step
    2. As I can see, you are using a regression model, so with a regression model your loss will be completely different from what it would be if you used the model for classification
    3. If you need classify. set the loss function in the likeness of categorical_crossentropy or another. And set activation func for last layer in your ml.

    Best regards!

提交回复
热议问题