Random Forest Classifier that predicts pet health conditions from symptoms.
Separately handles Cat and Dog conditions. Trained from scratch on a custom
curated veterinary dataset. No pre-trained model or external API used.
1import pickle
2
3with open("model.pkl", "rb") as f:
4 model, all_symptoms, pet_type_encoder = pickle.load(f)
5
6with open("label_encoder.pkl", "rb") as f:
7 le = pickle.load(f)