I have a data as Dictionary<string,List<string>>. Key of dictionary includes class_name, Values of dictionary includes images. After all, I generate this dictionary as dataset in my local pc. However, I must split all data in train(%80)/test(%10)/valid(%10) in C# code. For example, I have selected 90 images and I have 3 class, every class has 30 images. After splitting, Train set class must have 24 image, test and val sets 3 images one by one. How can i do that, anyone help ? I share a png for help to understand.enter image description here