I asked the following question, which received 2 downvotes and zero feedback on why it was downvoted. As far as I am aware I asked a legitimate question and I followed the 'asking a question' advice template as I originally typed it:
Hi all,
I am working on a Neural Network problem where each example should be assigned 2 classes from a pool of 20, but where the 20 classes are actually 2 subsets of 10 classes. i.e. Each example needs to be assigned an 'A' class and a 'B' class:
A classes = [0 , 1, 2 ,3, 4, 5, 6 ,7, 8, 9] B classes = [0 , 1, 2 ,3, 4, 5, 6 ,7, 8, 9]
Assign classes to examples:
Example 1: [A0, B5] Example2: [A1, B3] … ExampleN: [An, Bn]
etc.
What final function should I use in my NN output layer? I could use a sigmoid fucntion with 20 outputs, but this seems rather crude, given the precondition that each example must have both an 'A' and a 'B' class. I need something that would be the equivilent of using 2 separate softmax functions…
Also what would the best associated cost function be for such a problem?
I feel like I am overcomplicating what should be a simple problem in my head.
Thanks,
T
After receiving downvotes over a couple of hours, I deleted my question (assuming I had somehow offended stack overflow), but not really any the wiser about the error of my ways.
I am now unable to ask another question for 1 day because:
You've asked 1 question recently which has not been received very well by the community.
So, rather than be put off from asking questions entirely or trying to take part in Stack Overflow's community in the future, I am seeking some advice on how I should have worded my question differently.
My only guess is that the question wasn't 'codey' enough, so should I have posted the code for my entire neural network along with the question?
Edit: in case it helps anyone with a similar Q I solved this myself using multiple softmax output layers and a custom combined CE loss function