Git Product home page Git Product logo

Comments (4)

tonyduan avatar tonyduan commented on September 20, 2024

This can be done by implementing a Laplace distribution (and its homoskedastic counterpart).

The implementation would likely not be difficult, if you or anyone else has the bandwidth to do so. Otherwise this would be nice to have but we may not get around to it in the short term.

from ngboost.

alejandroschuler avatar alejandroschuler commented on September 20, 2024

I think the answer to this is a little more subtle... the current models do not use MAE (or RMSE, for that matter) because they are not optimizing for a point prediction.

In my mind, there are two reasons you might want to use MAE instead of MSE when doing point predictions. Either 1) you want to reduce the impact of "outliers" on the fit or 2) the target of estimation is the median, not the mean. Here's how to deal with those concerns in ngboost: If it's #1, I'd use a distribution that has fatter tails than the normal. If it's #2, you can simply pull the median right out of the predicted conditional distribution.

Hope that's clear, lmk if not.

from ngboost.

mahat avatar mahat commented on September 20, 2024

My current concern is #1, however as far as i know we can't set the distribution which has fatter tails. converting laplace from normal can solve it ? or another way around ?

from ngboost.

avati avatar avati commented on September 20, 2024

Yes, could you please file a pull request for Laplace distribution support? Should be straightforward to implement.

from ngboost.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.