Format to create training set and test set for ML package in AI fabric


I was watching a video where a training set and test set is build in excel sheet for classification of emails based on textual content inside it.

Can any one share format in which these excel data can be created for training and test ?

Also in case we want to create a training set containing images in different folders for example various sub folders each containing specific images of Animals, house, cars, fruits etc. Can it be done, if yes, please suggest how.


Hello ankit,
The schema of the excel file or an other input file (json or csv or …) is dependent on how the data scientist has built the ML Package. It vary from one package to another. So you need to ask the data scientist to understand what kind of inputs the model would be expecting.
For example you could refer to this video, which shows the training and test data sets for english text classification model.