**Abstract**

This work proposes a smart system that could be useful in the delivery of elderly care services. Elderly care is a set of services that are provided to senior citizens to help them have a more comfortable and independent life which would not be possible without these services. This proposed system is unique in that it combines the detection algorithm with the automatic update of the dataset. It also uses a heuristic mechanism to reduce false detections. This is on the premise that the AI effort is good, but it could be made better with the inclusion of heuristics. Fall detection accuracy is initially solved by the first classifier, then another classifier evaluates the result with inferences before evoking an alarm. It checks the location of the subject to use in its inferences. Hence the smart house design consists of two machine learning systems. One system performs human activity classification while the other performs fall occurrence detection. Of the eight different classification methods utilized, XGBoost was most accurate with an average of 97.65% during training. A customized dataset is then generated with newly labeled data hence improving system performance.

**Keywords:** artificial intelligence, machine learning, human activity recognition, activity of daily living, fall detection, fall prevention
