A hardware accelerator for data classification within the sensing infrastructure