I was wondering how many pictures the classify function can process. It seems as soon as several hundred pictures are used for training the program freezes. Picture measurements are 1482x849 pixel and about 510 KB per picture. Pictures are preprocessed with ConformImages. If I split 500 pictures into 100 for training and 400 for testing I get no classifierfunction after processing a while. Am I missing something?

c = Classify[trainingData, Method -> "RandomForest"];
  • 1
    $\begingroup$ It is heavily dependent upon the number of classes you use, computer specs, etc. From my experience, some ClassifierFunctions take more than 6+ hours to process. Just give your computer some time. You can MemoryConstrain just in case your computer runs out of memory. $\endgroup$ – JungHwan Min May 23 '16 at 18:35
  • $\begingroup$ Ok. I'll try that. Thx. $\endgroup$ – user3483676 May 23 '16 at 20:31
  • $\begingroup$ I meant MemoryConstrained. My bad. $\endgroup$ – JungHwan Min May 23 '16 at 21:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.