Git Product home page Git Product logo

ione's People

Contributors

ahmedshingaly avatar

Stargazers

 avatar

Watchers

 avatar

ione's Issues

How can we reduce the loss and increase the model accuracy?The answer is optimizers. The optimizer reduces the loss by finding the rate of change of loss with respect to learned parameters in each layer. The learned parameters are updated simultaneously for each layer according to the calculated rate. These learned parameters are also called as weights.The function of all the optimizers is to minimize the loss by updating the weight in such a way that the loss becomes zero.

Open in MURAL image
iFacade iOne - ahmedshingaly

We could have guessed this rate by calculating directly the derivative of the loss function. The advantage of using the mathematical derivative is that it is much faster and more precise to calculate (less floating point precision problems).Here is what our loss function looks like:If w=2, we have a loss of 0, since the neural network actual output will fit perfectly the training set.If w<2, we have a positive loss function, but the derivative is negative, meaning that an increase of weight will decrease the loss function.At w=2, the loss is 0 and the derivative is 0, we reached a perfect model, nothing is needed.If w>2, the loss becomes positive again, but the derivative is as well positive, meaning that any more increase in the weight, will increase the losses even more!

Open in MURAL image
iFacade iOne - ahmedshingaly

Learning rate is the rate with which the model should learn. The learning rate value is a small real value such as 0.1, 0.001 or 0.0001.The decision of how much our learning rate should depend on experimentation. Naive method for choosing learning rate is trying out a bunch of numbers and using the one that looks to work best, manually decreasing it over time when training doesn’t seem to improve the loss anymore. It tells how fast the weights must be learned.

Open in MURAL image
iFacade iOne - ahmedshingaly

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.