mirror of
https://github.com/Relintai/MLPP.git
synced 2024-11-14 10:17:18 +01:00
Update README.md
This commit is contained in:
parent
5057874b5a
commit
32f48e086a
@ -36,7 +36,7 @@ Next, instantiate an object of the class. Don't forget to pass the input set and
|
|||||||
```cpp
|
```cpp
|
||||||
LinReg model(inputSet, outputSet);
|
LinReg model(inputSet, outputSet);
|
||||||
```
|
```
|
||||||
Now call the optimizer that you would like to use. For iterative optimizers such as gradient descent, include the learning rate, epoch number, and whether or not to utilize the UI pannel.
|
Afterwards, call the optimizer that you would like to use. For iterative optimizers such as gradient descent, include the learning rate, epoch number, and whether or not to utilize the UI pannel.
|
||||||
```cpp
|
```cpp
|
||||||
model.gradientDescent(0.001, 1000, 0);
|
model.gradientDescent(0.001, 1000, 0);
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user