void setTrainingConfigs ( MType inputStepSize, MType inputTolerance, bool inputWithIntercept, ap_uint <32> inputMaxIter )
Set configs for SGD iteration.
Parameters:
| inputStepSize | steps size of SGD iteration. |
| inputTolerance | convergence tolerance of SGD. |
| inputWithIntercept | if SGD includes intercept or not. |
| inputMaxIter | max iteration number of SGD. |