TransWikia.com

Regression problem with Deep Learning

Data Science Asked by vipin bansal on April 15, 2021

I’m working on Housing Price dataset, where target is to predict the housing price.

Price of the house will always be positive and according to me, it’s possible that model can predict a negative outcome for some of the samples.

  1. If it’s correct, is there any way to control the training such that
    model always predict at least the positive value.

  2. As in case of classification case we use Sigmoid/Softmax activation
    function to normalized the outcome in probability. Can we have some
    activation function for positive value?

  3. Can I use Poisson loss?

One Answer

The ability of the model to predict negative value for the housing price depends on the data. On the large amount of data, where there are no negative pricing, the model does not predict a negative number. However, in rare case, where the model is not trained well or has not seen such samples, then it is still possible.

  1. The models prediction on the positive value can be still controlled post predictions. Just like using a treshold. y = y if y>0 else 0; Where the housing cost (y) is as it is if it's positive, 0 otherwise.

  2. ReLu function, works in the way you desire. Negative values gets converted to 0 by the activation.

I am not very sure about the Poisson loss, you may try it.

Answered by Ashwin Geet D'Sa on April 15, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP