#include "xf_data_analytics/regression/linearRegressionTrain.hpp"
template < int WAxi, int D, int Depth, int BurstLen > void ridgeRegressionSGDTrain ( ap_uint <WAxi>* input, ap_uint <WAxi>* output )
ridge regression training using SGD framework
Parameters:
WAxi | AXI interface width to load training data. |
D | Number of features that processed each cycle |
Depth | Depth * D is max feature numbers supported. |
BurstLen | |
Length | of burst read. |
input | |
training | configs and training data |
output | |
training | result of weight and intercept |