Devices, systems, and methods are provided for encapsulating machine learning in a clean room to generate a goal-based output. A method may include identifying, by a device operating within a clean room, an agreement between multiple parties to share data for use in machine learning to generate a goal-based output; retrieving the data; selecting the machine learning model based on a goal indicated by the agreement; generating, using the data as inputs to the selected machine learning model, a first set of probabilities indicative that a respective user may perform an action; generating, using the selected machine learning model and the first set of probabilities, a second set of probabilities indicative that a respective user may perform the action; generating the goal-based output based on the second set of probabilities; and sending the goal-based output from the clean room to a destination location.