Statistics for Software and FPGA-Based Hardware to Accelerate Machine Learning Classifiers