namespace regression


linearLeastSquareRegressionSGDTrain

#include "xf_data_analytics/regression/linearRegressionTrain.hpp"
template <
    int WAxi,
    int D,
    int Depth,
    int BurstLen
    >
void linearLeastSquareRegressionSGDTrain (
    ap_uint <WAxi>* input,
    ap_uint <WAxi>* output
    )

linear least square 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

ridgeRegressionSGDTrain

#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

LASSORegressionSGDTrain

#include "xf_data_analytics/regression/linearRegressionTrain.hpp"
template <
    int WAxi,
    int D,
    int Depth,
    int BurstLen
    >
void LASSORegressionSGDTrain (
    ap_uint <WAxi>* input,
    ap_uint <WAxi>* output
    )

lasso 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