When you wrote `y is ...`, I think that an article is missing.
It may be better to say something like `y is in the indicator matrix of classes format`, `y is in the list of lists of labels format`.