Hi all. I want to make project for letter recognition data using neural network. I use this dateset: https://archive.ics.uci.edu/ml/datasets/Letter+Recognition Тhis is my code to prepare data:
clear all; fid = fopen('letter-recognition.data', 'rt'); num_attrib = 16; fmt = ['%s', repmat('%f', 1, num_attrib)]; datacell = textscan(fid, fmt, 'Delimiter', ',', 'CollectOutput', 1); fclose(fid); which_letter = char(datacell{1}); attribs = datacell{2}; target_codes = which_letter - 'A' + 1; train_set = attribs(1:end-4000, :); train_targets = target_codes(1:end-4000);
Тhe problem that I have is: I can not do to have 26 targets (as there are letters in the alphabet). I wanna to have 16000 inputs and 26 outputs.
Best Answer