Miscellaneous scripts
This repository contains miscellaneous scripts that does not fit in one repository, yet I will use them sometimes for my personal use. Note that some of the scripts might contain hardcoded paths and opinionated presets, and you are advised to inspect them before actually using.
|
Functions | |
int | derivative (float x) |
float | func (int x) |
float | learn (int x) |
Variables | |
int | case = 99 |
dict | grad = {} |
int gradientdescent.derivative | ( | float | x | ) |
Definition at line 2 of file gradientdescent.py.
Referenced by func().
float gradientdescent.func | ( | int | x | ) |
Definition at line 15 of file gradientdescent.py.
References derivative(), func(), and learn().
Referenced by func().
float gradientdescent.learn | ( | int | x | ) |
Definition at line 11 of file gradientdescent.py.
Referenced by func().
int gradientdescent.case = 99 |
Definition at line 25 of file gradientdescent.py.
dict gradientdescent.grad = {} |
Definition at line 24 of file gradientdescent.py.