CodingTrain / CodingTrain/Suggestion-Box

twiddle algorithm for parameter optimization (very simple haha)

Open
#1,517 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
570
Forks
85
PR merge metrics
No merged PRs in 30d

Description

The twiddle algorithm is used for parameter optimization of an algorithm. This corresponds to finding (hopefully) the global minimum of the loss function.


However, it does not work with gradients etc., it's just implemented by updating the parameters into one direction and getting feedback from the algorithm (did the error increase or decrease).


Great and short article with python code: https://martin-thoma.com/twiddle/

My implementation of Twiddle: https://github.com/moritzmitterdorfer/twiddle-parameter-optimizing/blob/master/README.md

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.