A method for controlling one or more components of a Building Management System of a use building in accordance with predicted occupancy of the use building, the predicted occupancy based upon a trained model, the method comprising: training a model by: providing the model with time stamped environmental data and corresponding time stamped occupancy data pertaining to a training building that is different from the use building, wherein the time stamped environmental data is derived from one or more environmental sensors of the training building and the corresponding time stamped occupancy data is derived from one or more occupancy sensors of the training building; training the model over time using the time stamped environmental data and the corresponding time stamped occupancy data, resulting in a trained model; employing the trained model in the use building, wherein the use building is different from the training building, and wherein employing the trained model in the use building comprises: providing the trained model with time stamped environmental data pertaining to the use building, wherein the time stamped environmental data is derived from one or more environmental sensors of the use building; the trained model outputting a predicted occupancy value that represents a predicted occupancy count in the use building; and operating the BMS of the use building based at least in part on the predicted occupancy value. training a model by: providing the model with time stamped environmental data and corresponding time stamped occupancy data pertaining to a training building that is different from the use building, wherein the time stamped environmental data is derived from one or more environmental sensors of the training building and the corresponding time stamped occupancy data is derived from one or more occupancy sensors of the training building; training the model over time using the time stamped environmental data and the corresponding time stamped occupancy data, resulting in a trained model; providing the model with time stamped environmental data and corresponding time stamped occupancy data pertaining to a training building that is different from the use building, wherein the time stamped environmental data is derived from one or more environmental sensors of the training building and the corresponding time stamped occupancy data is derived from one or more occupancy sensors of the training building; training the model over time using the time stamped environmental data and the corresponding time stamped occupancy data, resulting in a trained model; employing the trained model in the use building, wherein the use building is different from the training building, and wherein employing the trained model in the use building comprises: providing the trained model with time stamped environmental data pertaining to the use building, wherein the time stamped environmental data is derived from one or more environmental sensors of the use building; the trained model outputting a predicted occupancy value that represents a predicted occupancy count in the use building; and operating the BMS of the use building based at least in part on the predicted occupancy value. providing the trained model with time stamped environmental data pertaining to the use building, wherein the time stamped environmental data is derived from one or more environmental sensors of the use building; the trained model outputting a predicted occupancy value that represents a predicted occupancy count in the use building; and operating the BMS of the use building based at least in part on the predicted occupancy value.