ImageClassifierData.from_array explanation

I’m going through lesson 8 of intro to machine learning and Sir Jeremy uses ImageClassifierData.from_arrays as wrapper for all the training and validation data. Can someone give an intuitive explanation of what is happening in this class and how is it used to fit the neural network. If someone can draw an analogy with the normal random forest regressor fit() function that’ll be great.

If you need to know more visit here: machine learning solutions