Am trying to solve the question:
A person might or might not like steaks, but that statistically depends on the person's age, ethnicity, gender, etc. A steak loving person might like their steaks from 0% cooked to 100% cooked, and seasoned with an arbitrary amount of salt. All these also depends on the person's age, ethnicity, gender, etc.
I want ML to predict the following:
Given a person's age, ethnicity, gender, etc, whether this person will like steaks or not. And if they like steaks, how they want their steaks to be cooked, and how much salt they will like to put on their steak.
I realize I can break this problem down into two neural networks, one binary classification and one multidimensional regression.
The first network will answer if the person likes steaks or not. If the person doesn't like steaks at all, there is no point generating outputs for the second network. But if the answer is yes, I can feed the subset of the dataset to the second network, then it will answer the whats.
However, what I don't understand is:
Is it possible to chain the two networks together to form a single network? In a sense the output contains a Yes/No answer plus the answers for the regression network.
If answer is yes, is it faster than running two separate networks considering the dataset to the second network might be smaller?
Again, if answer is yes, how do I go about to implement this? Using 2 hidden layers with different loss functions? How many nodes for each layer? What is the activation function for each layer?