Research Article

Weighted Domain Transfer Extreme Learning Machine and Its Online Version for Gas Sensor Drift Compensation in E-Nose Systems

Algorithm 2

Sensitive matrix calculation.
Input:
the selected samples in a cluster;
the unlabeled samples in a cluster;
Output:
the sensitive matrix samples;
(1) Initialize to a zero matrix;
(2) for each samples do
(3) Find unique labels as
(4) for each value do
(5)  Find the samples with label as ;
(6)  Calculate the distances between and the samples in ;
(7)  Set to the nearest distance;
(8)  Store in ;
(9) end for
(10) Replace the value with probability in using (8);
(11) end for
(12) return ;