Coder Social home page Coder Social logo

Bias terms are also regularized. about hype HOT 3 OPEN

hypelib avatar hypelib commented on July 20, 2024
Bias terms are also regularized.

from hype.

Comments (3)

smoothdeveloper avatar smoothdeveloper commented on July 20, 2024

@zgrkpnr the library doesn't have tests yet, could you write a bit of code along with expected and actual results showing the problem with regularization involving bias terms and it will be put under unit test.

from hype.

zgrkpnr avatar zgrkpnr commented on July 20, 2024

@smoothdeveloper Are you asking for a code for fix or do you want me to show that regularizing bias terms causes weak performance? If latter, it is not necessary. Perceptron theory suggests that bias terms don't depend on input values and they have nothing to do with overfitting. Therefore, they are excluded from regularization. Moreover, regularization is done in order to obtain a "low bias" model.

from hype.

smoothdeveloper avatar smoothdeveloper commented on July 20, 2024

@zgrkpnr I was looking for a complete code sample exercising regularization and including bias terms to look at.

From what you describe, the outcome of the test should be identical results but obtained faster.

When a bug is found in a library we tend to write "non-regression test" for it, tests are run any time a change is made to the library to make sure we didn't introduce known issues back.

With such sample I could maybe write a test which shows that the implementation is failing, and when the implementation gets fixed the test would be passing and adding some security for later releases.

from hype.

Related Issues (6)

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.