nouns - "Hidden layer sizes" vs "Hidden layers sizes"



I am writing a neural network application. In this application, a neural network can have one or more hidden layers, which can have different sizes (neuron counts).


Which label would be correct: "hidden layer sizes" or "hidden layers sizes" and why? I realize this is a more general grammar related question and I'd love to learn about it.


EDIT: the label is for a text box, where user will enter numbers separated by commas.



Answer



In your phrase, hidden layer is an attributive noun: it's a noun which behaves as an adjective modifying sizes.


In English, adjectives are not inflected for number; that is, the form of an adjective doesn't change depending on the number of what it's describing. [This differs from French, for example.]




  • One red apple

  • Two red apples



Thus your "adjective" hidden layer should be singular.


Comments

Popular posts from this blog

verbs - "Baby is creeping" vs. "baby is crawling" in AmE

commas - Does this sentence have too many subjunctives?

grammatical number - Use of lone apostrophe for plural?

etymology - Where does the phrase "doctored" originate?

phrases - Somebody is gonna kiss the donkey

word choice - Which is the correct spelling: “fairy” or “faerie”?

typography - When a dagger is used to indicate a note, must it come after an asterisk?