# How can I process many image files with Classify?

Classify in Mathematica is a highly automated machine learning tool. Though it is not good for production purposes, sometimes it can used as a benchmark tool.

Suppose I have many images that can not be fed into memory at once. Is there any way to feed the images into Classify for batch processing?

In NetTrain, File is used in input, but I'm not sure how to do it when using Classify.

I have tried something like

Classify[
<|"class1" -> {File[1], File[2], ...},
"class2" -> {File[11], File[12], ....}|>]


It crashed Mathematica.

• This is a good candidate for ActiveClassification. – rcollyer Mar 21 '17 at 13:49
• related – xslittlegrass Mar 21 '17 at 14:35
• @rcollyer Is the function support out-of-core train? – partida Jun 17 '17 at 12:10
• @partida I think that's in the plan, but I don't know how far along it is in implementation, yet. – rcollyer Jun 17 '17 at 15:58