Research Article

A Novel Expert System for Diagnosis of Iron Deficiency Anemia

Algorithm 2

Pseudocode for SMOTE (exact balance).
Input:    , .
1.      Divide into and using
2.      
3.      
4.      Randomly take samples from , increase by 1 and put them back (for exact balance).
5.       empty matrix.
6.      For
       a. indices of nearest neighbors of in
       b. Random integer between and
       c. Random value between and
       d. data-set in with indices
       e.
       f.
7.      
8.      
Output: