I have two classification models that each classify the same input data to two distinct sets of output values. The outputs of the two models will be used to create a taxonomy, which functions as the overall output value.
Equivalent example:
Inputs are different kinds of fruit and vegetables.
Output for model A is { fruit, vegetable } Output for model B is { small, large }
So the overall model would work like this:
- input: cabbage -> output: large vegetable
- input: berry -> output: small fruit
How can I combine the two accuracies of the models to achieve an overall accuracy.
Intuitively I would just multiply the two accuracies. Is this intuition correct or is there a better way?
Thanks in advance.