trained the occupancy estimator with a sampling time of 30 seconds