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
7e13602e4b
commit
3fb5edd2eb
@ -18,7 +18,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);
|
||||||
```
|
```
|
||||||
Next, 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.
|
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.
|
||||||
```cpp
|
```cpp
|
||||||
model.gradientDescent(0.001, 1000, 0);
|
model.gradientDescent(0.001, 1000, 0);
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user