I'm looking for a general approach to solve a problem that is best demonstrated by the following example.
You mix six different batches of orange juice and you know the acidity, the sugar content, the concentration of volatile particles in each batch of the juice, the growing location of the fruits, and other data. You mix those batches, sell the product, and measure how well it was accepted by the market. Tomorrow, you decide to mix four other batches, the next day you will mix two batches, etc: the number of components in your product isn't constant. The goal is to take the information about each component and to predict the outcome metric.
If we could compute the average value of each input parameter, I would start by computing the average value of each parameter in the mix, and trying to use it as the
X data in an ML algorithm. However, some of the parameters cannot be added. In our example, such a parameter can be the plantation age, plantation location, cultivar of the fruit, etc
What are the approaches to solve this problem? Does it belong to a certain studies problem class ?