Estimating building occupancy: a machine learning system for day, night, and episodic events Journal January, 2023