|
Algorithm 1. Pig wasting disease sound classification procedure. |
-
Input: a matrix of training samples
A = [A1, A2,…, Ac] ∈ ℝm×n for c classes, a test sample y ∈ ℝm.
Normalize the columns of A to have unit l2 norm.
Solve the l1 minimization problem:
-
Compute the mean coefficient value of each class.
mci: mean coefficient value of i – th class;
ni: number of elements in i – th class;
δi(α̂1): characteristic function that selects the coefficients associated with the i – th class;
Sort the class in descending order according with mean coefficient value of classes.
Output: pig wasting diseases, which have large mean coefficient value.
|