Efficient Feature Selection and ML Algorithm for Accurate Diagnostics