Accurate classification of COVID‐19 patients with different severity via machine learning