how can i split images data into two matrix with random percentage ???

1 view (last 30 days)
i have 118 images i want to split them into two matrix with 70% and 30% because i need to duplicate the 70% and after take features from it then i use the 30% for test in svm classifier
plz help me

Answers (1)

Image Analyst
Image Analyst on 16 Sep 2018
Use randperm() or randsample().

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!