part1 - AVERAGE_SUCCESS=zeros(1,TESTSET_COUNT 1 for...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
%part1.m % negative=-1; NUM_OF_LEARNING_C=4; TRIAL_NUM=5; TESTSET_COUNT=5; LEARNING_CONSTANTS=[0.01, 0.1, 1, 10]; W_CONSTANTS=[0.1, 0.5, 5, 10]; W_NUM=length(W_CONSTANTS); AVERAGE_SUCCESS_RATES=cell(NUM_OF_LEARNING_C,W_NUM); SUCCESS_RATES=cell(TRIAL_NUM,NUM_OF_LEARNING_C,W_NUM); S AVERAGE_ITERATION=zeros(NUM_OF_LEARNING_C,W_NUM); ITERATIONS=zeros(TRIAL_NUM,NUM_OF_LEARNING_C,W_NUM); for w=1:W_NUM %w=1; W_CONSTANT=W_CONSTANTS(1,w); for c=1:NUM_OF_LEARNING_C LEARNING_CONSTANT=LEARNING_CONSTANTS(1,c);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: AVERAGE_SUCCESS=zeros(1,TESTSET_COUNT+1); for num=1:TRIAL_NUM learning; testing; redial; ITERATIONS(num,c,w)=TRAINING_STEP; SUCCESS_RATES{num,c,w}=SUCCESS; AVERAGE_ITERATION(c,w)=AVERAGE_ITERATION(c,w)+TRAINING_STEP/TRIAL_NUM; AVERAGE_SUCCESS=AVERAGE_SUCCESS+SUCCESS/TRIAL_NUM; end AVERAGE_SUCCESS_RATES{c,w}=AVERAGE_SUCCESS; TESTSET=; OUTPUTS=; DIFFERENCES=; end end %----------------------------------------------------------------...
View Full Document

This note was uploaded on 07/13/2011 for the course ECE 501 taught by Professor Deniz during the Spring '11 term at Istanbul Universitesi.

Ask a homework question - tutors are online