Say I'm training a neural net to compute the following function:
(color_of_clothing, body_height) -> gender
When using this network for prediction, I can obviously plug in a pair (c, b)
to receive a predicted g
, but say I want to get a prediction only based on c
or only based on b
, can I use the same neural net somehow? Or would I need to train two separate neural nets c -> g
and b -> g
previously?
Or more generally, can I use a neural net that was trained to predict A -> B
to make predictions on values from a subset of A
, or should I train separate neural nets on all subsets of A
that I'm interested in?