| Algorithm 1 Pseudocode for the ReliefF method for optimizing sensor arrays |
|
Input: for each training instance a vector of attribute values and the class value Output: the vector of estimations of the qualities of attributes Procedure: 1: set all weights = 0.0; 2: for i =1 to do begin randomly select an instance find nearest hits ; for each class ≠ class() do from class find nearest misses ; 3: for each featrue =1 to a do 4: end; |