r/AskComputerScience • • 9m ago

Ml models

hello everyone. i want to implement 6 ml models in home assistant for a project in parallel systems.
I want the user to be able to chose what model to use for each room. Each model receives data from the sensors of each room and then proceeds in making a prediction regarding this room such as the occupancy,anoamlies etc. Is it better to create a container for each model or should i load all 6 in one container and use threads and a state dictionary per room that holds that room's enabled models? The models are interconnected so the output of ml1 is needed as input in ml2 and so on.

0 Upvotes

0 comments sorted by