"Hidden layer sizes" vs "Hidden layers sizes" [duplicate]

Solution 1:

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.

Solution 2:

I would opt for hidden layer sizes.

I'm guessing the label is for a table or graph and you're labeling a list of different sizes. Since you're showing multiple sizes, so you pluralise "size".

"Hidden layer" is simply a specifier; it specifies the things that have the sizes that you are showing.

@FumbleFingers makes a very good point in the comments: labeling on graphs and charts tend to use the singular for things like table headings or axis titles. In that case, hidden layer size would be a better option.

However, if the label is for the graph/table/figure as a whole, then pluralising "sizes" probably is appropriate. In which case, the preceding holds: pluralise "size" not "later".

Solution 3:

I would use one of

  • hidden layer sizes (preferred usage)
  • sizes of hidden layers
  • hidden layers' sizes (colloquial usage)

I can't quite visualize the question, actually. You wrote that it is to be a label for an input text box. Why would a single input require a plural? I am trying hard to imagine by thinking about the following examples.

Is it like this

Hidden layer ID:   [         ]
Hidden layer size: [         ]

or,

Hidden layers' size comma-list: [7, 20, 11, 19]

Hidden layer sizes comma-list: [7, 20, 11, 19]

Hidden layer sizes: [7] [20] [11] [19]

Average hidden layer size: [14.25]

Max hidden layer size: [20]

Hidden layer size range: [7] [20]

Show hidden layer sizes: []YES []NO

Show size of hidden layers: []YES []NO

?