how to create data set for recognize five digit sequential?
Afficher commentaires plus anciens
Hi. i want to create a model with neural network that recognize five digit sequential but i have not any data set.please help me.
1 commentaire
Image Analyst
le 24 Mai 2013
If you do not have any data then what do you need a model for? You don't have any data to run through it, so what's the point? So you have no training data, and no testing data? Yet you want to create a model?
Réponses (1)
Image Analyst
le 24 Mai 2013
Would you consider image analysis instead? This would be pretty trivial:
% Make data
data = randi(9, 1,100000);
% Look for where the number increments by 1 each element.
differences = diff([0 data]);
theOnes = differences == 1;
% Measure length of stretches of 1's
measurements = regionprops(theOnes, 'Area');
allAreas = [measurements.Area];
% Find index of where the stretch of exactly 5 numbers starts.
the5 = find(allAreas == 5)
Catégories
En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!