diff --git a/07 Final Assignment - Rescorla Wagner/finalAssignment.txt b/07 Final Assignment - Rescorla Wagner/finalAssignment.txt new file mode 100644 index 0000000..75bc6be --- /dev/null +++ b/07 Final Assignment - Rescorla Wagner/finalAssignment.txt @@ -0,0 +1,120 @@ +Grainger et al. (2012) trained baboons to do a lexical decision task, with food as reward for correct decisions (paper on moodle). + +From the perspective of discrimination learning (and prior work on animal learning), the results are fun but not unexpected. + +The words and nonwords used by Grainger and colleagues are available in the excel file Grainger.Table.S2.xls . + +I extracted the data for the first baboon in a separate file (dataDan.txt), and the next bit of R code (which requires the ndl package and a special function learnWeights.fnc available in the file learnWeights.R) shows that just learning on the words and nonwords with a flat distribution already picks up on the words. + +#------------------------------------------------------------------------- + +library(ndl) +source("learnWeights.R") # creates learnWeights.fnc +dat = read.table("dataDan.txt", T, stringsAsFactors=FALSE) +dat$Cues = orthoCoding(dat$String, grams=2) +dat$Frequency=1 +dat$Outcomes = dat$Type +# reshuffle order of learning events + +# use Danks equilibrium equations +wD = estimateWeights(dat, alpha=0.1, beta=0.1) +aD = estimateActivations(dat, wD)$activationMatrix +aD = aD[,order(colnames(aD))] +dat$ChoiceD = apply(aD, 1, FUN=function(v){ + if(v[1]>=v[2]) { + return("nonword") + } else { + return("word") + }}) +table(dat$Type, dat$ChoiceD) +# +# nonword word +# nonword 7832 0 +# word 116 191 + + + + +# use RW equations learning event by learning event +# now order becomes important +set.seed(314) +dat = dat[sample(1:nrow(dat)),] +cues = unique(unlist(strsplit(dat$Cues, "_"))) +outcomes = unique(unlist(strsplit(dat$Outcomes, "_"))) +wRW = learnWeights.fnc(dat, cues, outcomes, alpha=0.1, beta=0.1) +aRW = estimateActivations(dat, wRW)$activationMatrix +aRW = aRW[,order(colnames(aRW))] + +dat$ChoiceRW = apply(aRW, 1, FUN=function(v){ + if(v[1]>=v[2]) { + return("nonword") + } else { + return("word") + }}) +table(dat$Type, dat$ChoiceRW) +# +# nonword word +# nonword 7832 0 +# word 296 11 + + +#------------------------------------------------------------------------- + +With the overwhelming numbers of nonwords in the training data, iterative learning is not as successful. Interestingly, Grainger at al. trained the monkeys in a more subtle (and for the monkeys, more encouraging) way: + +"Words and nonwords were presented randomly in blocks of 100 trials. The 100-trial sessions were composed of 25 presentations of a novel word to learn, 25 presentations of words randomly selected from already learned words, and 50 nonword trials. Each new word was added to the ever-increasing pool of already learned words, once responses to that word exceeded 80% correct within the preceding session. Thus, in terms of explicit information available to the baboons, a word was defined as a string of letters that was repeatedly presented, whereas a nonword was rarely repeated. The baboons responded by touching one of two shapes shown on the touch screen and were given a food reward after a correct response (Fig. 1C) (see the supplementary materials for more details)." + +Let's create a fictive first block of 100 learning trials. + + +#------------------------------------------------------------------------- + +dat = read.table("dataDan.txt", T, stringsAsFactors=FALSE) +dat$Cues = orthoCoding(dat$String, grams=2) +dat$Frequency=1 +dat$Outcomes = dat$Type + +set.seed(314) +words = dat[dat$Type=="word",] +nonwords = dat[dat$Type=="nonword",] +words1 = words[sample(1:nrow(words), 50),] +nonwords1 = nonwords[sample(1:nrow(nonwords),50),] +block1 = rbind(words1,nonwords1) +block1 = block1[sample(1:nrow(block1)),] + +cues = unique(unlist(strsplit(block1$Cues, "_"))) +outcomes = unique(unlist(strsplit(block1$Outcomes, "_"))) +block1.w = learnWeights.fnc(datset=block1,cueset=cues, outcomeset=outcomes, + alpha=sqrt(0.001), beta=sqrt(0.001), lambda=1.0) +block1.a = estimateActivations(block1, block1.w)$activationMatrix +block1.a = block1.a[,order(colnames(block1.a))] + +block1$Choice = apply(block1.a, 1, FUN=function(v){ + if(v[1]>=v[2]) { + return("nonword") + } else { + return("word") + }}) +table(block1$Type, block1$Choice) +# +# nonword word +# nonword 38 12 +# word 1 49 + + +#------------------------------------------------------------------------- + +Now, iterative learning fares much better (half of the stimuli are words). In other words, after this first block, 49 out of 50 words would have been learned. Success rates will, of course, vary as we change the random ordering of learning events. + +Your final assignment is to simulate the learning of the six monkeys in the Grainger et al. experiment. Try to reconstruct, to the extent possible, the kind of learning exposure that the six monkeys were given (see the above quote and the paper itself). + +These monkeys learn with different success rates. Experiment with the values of alpha, beta, and lambda to see if you can make your simulation model perform with different success rates. Also investigate to what extent different orders (and random selections of items) could give rise to different learning performance. + +It is likely that the iterative RW equations will perform at ceiling. If so, you will want to make learning less effective, perhaps by letting the monkey make random guesses instead of prediction - other ideas welcomed! + +Your final paper should be in the form of a short report, with an abstract, a statement of the problem, a short reportage of the simulations and results obtained, and your conclusions about what is most likely to underlie the different success rates of the baboons. Also provide a list of references, and add your R code in an appendix. Your paper should be roughly APA compliant. + +As before, you can make this into a group project if you would like to do so. + +The grade for this assignment will have twice the weight of the five preceeding assignments. + diff --git a/07_final_assignment/preliminary_results.txt b/07_final_assignment/preliminary_results.txt deleted file mode 100644 index 1a19773..0000000 --- a/07_final_assignment/preliminary_results.txt +++ /dev/null @@ -1,37 +0,0 @@ -"alpha" "beta" "NumTrials" "NumWordsLearned" "NumNonwordsPresented" "GeneralAccuracy" "WordAccuracy" "NonwordAccuracy" -"2" 0 0 50000 246 7539 0.49816 0.49788 0.49844 -"3" 0 0.0277777777777778 50000 249 7507 0.50252 0.50348 0.50156 -"4" 0 0.0555555555555556 50000 254 7513 0.49934 0.49992 0.49876 -"5" 0 0.0833333333333333 50000 257 7561 0.49952 0.5002 0.49884 -"6" 0 0.111111111111111 50000 238 7481 0.4976 0.49928 0.49592 -"7" 0 0.138888888888889 50000 247 7511 0.49922 0.49828 0.50016 -"8" 0 0.166666666666667 50000 245 7529 0.49584 0.49892 0.49276 -"9" 0 0.194444444444444 50000 258 7495 0.49718 0.50036 0.494 -"10" 0 0.222222222222222 50000 237 7516 0.49704 0.49556 0.49852 -"11" 0 0.25 50000 252 7533 0.5003 0.50024 0.50036 -"12" 0.0277777777777778 0 50000 258 7512 0.50084 0.49832 0.50336 -"13" 0.0277777777777778 0.0277777777777778 50000 307 7507 0.89304 0.91932 0.86676 -"14" 0.0277777777777778 0.0555555555555556 50000 307 7504 0.92238 0.93996 0.9048 -"15" 0.0277777777777778 0.0833333333333333 50000 307 7474 0.94464 0.959 0.93028 -"16" 0.0277777777777778 0.111111111111111 50000 307 7509 0.94342 0.9586 0.92824 -"17" 0.0277777777777778 0.138888888888889 50000 307 7492 0.95592 0.96752 0.94432 -"18" 0.0277777777777778 0.166666666666667 50000 307 7525 0.95826 0.97004 0.94648 -"19" 0.0277777777777778 0.194444444444444 50000 307 7524 0.96136 0.97356 0.94916 -"20" 0.0277777777777778 0.222222222222222 50000 307 7519 0.96428 0.975 0.95356 -"21" 0.0277777777777778 0.25 50000 307 7491 0.96798 0.9796 0.95636 -"22" 0.0555555555555556 0 50000 250 7485 0.50116 0.50108 0.50124 -"23" 0.01 0.01 50000 307 7529 0.8255 0.92116 0.72984 -"31" 0.035 0.01 50000 307 7518 0.85618 0.9088 0.80356 -"41" 0.035 0.035 50000 307 7500 0.91126 0.93668 0.88584 -"51" 0.06 0.01 50000 307 7448 0.88458 0.9022 0.86696 -"61" 0.06 0.035 50000 307 7489 0.9405 0.95708 0.92392 -"24" 0.11 0.06 50000 307 7504 0.9655 0.97776 0.95324 -"32" 0.11 0.085 50000 307 7511 0.97114 0.98244 0.95984 -"42" 0.11 0.11 50000 307 7508 0.97604 0.98584 0.96624 -"52" 0.135 0.01 50000 307 7520 0.92474 0.94632 0.90316 -"62" 0.135 0.035 50000 307 7522 0.96084 0.976 0.94568 -"25" 0.16 0.085 50000 307 7525 0.97652 0.98644 0.9666 -"33" 0.16 0.11 50000 307 7498 0.98204 0.98928 0.9748 -"43" 0.16 0.135 50000 307 7518 0.9832 0.99012 0.97628 -"53" 0.16 0.16 50000 307 7511 0.98534 0.99096 0.97972 -"63" 0.185 0.01 50000 307 7515 0.9304 0.93784 0.92296 diff --git a/07_final_assignment/preliminary_resultsV2.txt b/07_final_assignment/preliminary_resultsV2.txt new file mode 100644 index 0000000..3b54cb0 --- /dev/null +++ b/07_final_assignment/preliminary_resultsV2.txt @@ -0,0 +1,39 @@ +"alpha" "beta" "NumTrials" "NumWordsLearned" "NumNonwordsPresented" "GeneralAccuracy" "WordAccuracy" "NonwordAccuracy" +"2" 0 0 "50000" "246" "7539" "0.49816" "0.49788" "0.49844" +"3" 0 0.0277777777777778 "50000" "249" "7507" "0.50252" "0.50348" "0.50156" +"4" 0 0.0555555555555556 "50000" "254" "7513" "0.49934" "0.49992" "0.49876" +"5" 0 0.0833333333333333 "50000" "257" "7561" "0.49952" "0.5002" "0.49884" +"6" 0 0.111111111111111 "50000" "238" "7481" "0.4976" "0.49928" "0.49592" +"7" 0 0.138888888888889 "50000" "247" "7511" "0.49922" "0.49828" "0.50016" +"8" 0 0.166666666666667 "50000" "245" "7529" "0.49584" "0.49892" "0.49276" +"9" 0 0.194444444444444 "50000" "258" "7495" "0.49718" "0.50036" "0.494" +"10" 0 0.222222222222222 "50000" "237" "7516" "0.49704" "0.49556" "0.49852" +"11" 0 0.25 "50000" "252" "7533" "0.5003" "0.50024" "0.50036" +"12" 0.0277777777777778 0 "50000" "258" "7512" "0.50084" "0.49832" "0.50336" +"13" 0.0277777777777778 0.0277777777777778 "50000" "307" "7507" "0.89304" "0.91932" "0.86676" +"14" 0.0277777777777778 0.0555555555555556 "50000" "307" "7504" "0.92238" "0.93996" "0.9048" +"15" 0.0277777777777778 0.0833333333333333 "50000" "307" "7474" "0.94464" "0.959" "0.93028" +"16" 0.0277777777777778 0.111111111111111 "50000" "307" "7509" "0.94342" "0.9586" "0.92824" +"17" 0.0277777777777778 0.138888888888889 "50000" "307" "7492" "0.95592" "0.96752" "0.94432" +"18" 0.0277777777777778 0.166666666666667 "50000" "307" "7525" "0.95826" "0.97004" "0.94648" +"19" 0.0277777777777778 0.194444444444444 "50000" "307" "7524" "0.96136" "0.97356" "0.94916" +"20" 0.0277777777777778 0.222222222222222 "50000" "307" "7519" "0.96428" "0.975" "0.95356" +"21" 0.0277777777777778 0.25 "50000" "307" "7491" "0.96798" "0.9796" "0.95636" +"22" 0.0555555555555556 0 "50000" "250" "7485" "0.50116" "0.50108" "0.50124" +"23" 0.01 0.01 "50000" "307" "7529" "0.8255" "0.92116" "0.72984" +"31" 0.035 0.01 "50000" "307" "7518" "0.85618" "0.9088" "0.80356" +"41" 0.035 0.035 "50000" "307" "7500" "0.91126" "0.93668" "0.88584" +"51" 0.06 0.01 "50000" "307" "7448" "0.88458" "0.9022" "0.86696" +"61" 0.06 0.035 "50000" "307" "7489" "0.9405" "0.95708" "0.92392" +"24" 0.11 0.06 "50000" "307" "7504" "0.9655" "0.97776" "0.95324" +"32" 0.11 0.085 "50000" "307" "7511" "0.97114" "0.98244" "0.95984" +"42" 0.11 0.11 "50000" "307" "7508" "0.97604" "0.98584" "0.96624" +"52" 0.135 0.01 "50000" "307" "7520" "0.92474" "0.94632" "0.90316" +"62" 0.135 0.035 "50000" "307" "7522" "0.96084" "0.976" "0.94568" +"25" 0.16 0.085 "50000" "307" "7525" "0.97652" "0.98644" "0.9666" +"33" 0.16 0.11 "50000" "307" "7498" "0.98204" "0.98928" "0.9748" +"43" 0.16 0.135 "50000" "307" "7518" "0.9832" "0.99012" "0.97628" +"53" 0.16 0.16 "50000" "307" "7511" "0.98534" "0.99096" "0.97972" +"63" 0.185 0.01 "50000" "307" "7515" "0.9304" "0.93784" "0.92296" +"64" 1e-06 1e-06 "50000" "307" "7519" "0.78348" "0.91592" "0.65104" +"65" 1e-06 1e-05 "50000" "307" "7522" "0.77502" "0.85296" "0.69708" diff --git a/07_final_assignment/resultdat0.txt b/07_final_assignment/resultdat0.txt deleted file mode 100644 index b8bbd6c..0000000 --- a/07_final_assignment/resultdat0.txt +++ /dev/null @@ -1,23 +0,0 @@ -"alpha" "beta" "NumTrials" "NumWordsLearned" "NumNonwordsPresented" "GeneralAccuracy" "WordAccuracy" "NonwordAccuracy" -"1" "0" "0" "0" "0" "0" "0" "0" "0" -"2" "0" "0" "50000" "246" "7539" "0.49816" "0.49788" "0.49844" -"3" "0" "0.0277777777777778" "50000" "249" "7507" "0.50252" "0.50348" "0.50156" -"4" "0" "0.0555555555555556" "50000" "254" "7513" "0.49934" "0.49992" "0.49876" -"5" "0" "0.0833333333333333" "50000" "257" "7561" "0.49952" "0.5002" "0.49884" -"6" "0" "0.111111111111111" "50000" "238" "7481" "0.4976" "0.49928" "0.49592" -"7" "0" "0.138888888888889" "50000" "247" "7511" "0.49922" "0.49828" "0.50016" -"8" "0" "0.166666666666667" "50000" "245" "7529" "0.49584" "0.49892" "0.49276" -"9" "0" "0.194444444444444" "50000" "258" "7495" "0.49718" "0.50036" "0.494" -"10" "0" "0.222222222222222" "50000" "237" "7516" "0.49704" "0.49556" "0.49852" -"11" "0" "0.25" "50000" "252" "7533" "0.5003" "0.50024" "0.50036" -"12" "0.0277777777777778" "0" "50000" "258" "7512" "0.50084" "0.49832" "0.50336" -"13" "0.0277777777777778" "0.0277777777777778" "50000" "307" "7507" "0.89304" "0.91932" "0.86676" -"14" "0.0277777777777778" "0.0555555555555556" "50000" "307" "7504" "0.92238" "0.93996" "0.9048" -"15" "0.0277777777777778" "0.0833333333333333" "50000" "307" "7474" "0.94464" "0.959" "0.93028" -"16" "0.0277777777777778" "0.111111111111111" "50000" "307" "7509" "0.94342" "0.9586" "0.92824" -"17" "0.0277777777777778" "0.138888888888889" "50000" "307" "7492" "0.95592" "0.96752" "0.94432" -"18" "0.0277777777777778" "0.166666666666667" "50000" "307" "7525" "0.95826" "0.97004" "0.94648" -"19" "0.0277777777777778" "0.194444444444444" "50000" "307" "7524" "0.96136" "0.97356" "0.94916" -"20" "0.0277777777777778" "0.222222222222222" "50000" "307" "7519" "0.96428" "0.975" "0.95356" -"21" "0.0277777777777778" "0.25" "50000" "307" "7491" "0.96798" "0.9796" "0.95636" -"22" "0.0555555555555556" "0" "50000" "250" "7485" "0.50116" "0.50108" "0.50124" diff --git a/07_final_assignment/resultdat1.txt b/07_final_assignment/resultdat1.txt deleted file mode 100644 index b4341e9..0000000 --- a/07_final_assignment/resultdat1.txt +++ /dev/null @@ -1,7 +0,0 @@ -"alpha" "beta" "NumTrials" "NumWordsLearned" "NumNonwordsPresented" "GeneralAccuracy" "WordAccuracy" "NonwordAccuracy" -"1" "0" "0" "0" "0" "0" "0" "0" "0" -"2" "0.01" "0.01" "50000" "307" "7529" "0.8255" "0.92116" "0.72984" -"3" "0.035" "0.01" "50000" "307" "7518" "0.85618" "0.9088" "0.80356" -"4" "0.035" "0.035" "50000" "307" "7500" "0.91126" "0.93668" "0.88584" -"5" "0.06" "0.01" "50000" "307" "7448" "0.88458" "0.9022" "0.86696" -"6" "0.06" "0.035" "50000" "307" "7489" "0.9405" "0.95708" "0.92392" diff --git a/07_final_assignment/resultdat2.txt b/07_final_assignment/resultdat2.txt deleted file mode 100644 index 23c9be5..0000000 --- a/07_final_assignment/resultdat2.txt +++ /dev/null @@ -1,7 +0,0 @@ -"alpha" "beta" "NumTrials" "NumWordsLearned" "NumNonwordsPresented" "GeneralAccuracy" "WordAccuracy" "NonwordAccuracy" -"1" "0" "0" "0" "0" "0" "0" "0" "0" -"2" "0.11" "0.06" "50000" "307" "7504" "0.9655" "0.97776" "0.95324" -"3" "0.11" "0.085" "50000" "307" "7511" "0.97114" "0.98244" "0.95984" -"4" "0.11" "0.11" "50000" "307" "7508" "0.97604" "0.98584" "0.96624" -"5" "0.135" "0.01" "50000" "307" "7520" "0.92474" "0.94632" "0.90316" -"6" "0.135" "0.035" "50000" "307" "7522" "0.96084" "0.976" "0.94568" diff --git a/07_final_assignment/resultdat3.txt b/07_final_assignment/resultdat3.txt deleted file mode 100644 index 1346a87..0000000 --- a/07_final_assignment/resultdat3.txt +++ /dev/null @@ -1,7 +0,0 @@ -"alpha" "beta" "NumTrials" "NumWordsLearned" "NumNonwordsPresented" "GeneralAccuracy" "WordAccuracy" "NonwordAccuracy" -"1" "0" "0" "0" "0" "0" "0" "0" "0" -"2" "0.16" "0.085" "50000" "307" "7525" "0.97652" "0.98644" "0.9666" -"3" "0.16" "0.11" "50000" "307" "7498" "0.98204" "0.98928" "0.9748" -"4" "0.16" "0.135" "50000" "307" "7518" "0.9832" "0.99012" "0.97628" -"5" "0.16" "0.16" "50000" "307" "7511" "0.98534" "0.99096" "0.97972" -"6" "0.185" "0.01" "50000" "307" "7515" "0.9304" "0.93784" "0.92296" diff --git a/07_final_assignment/results_backup/preliminary_resultsV2.txt b/07_final_assignment/results_backup/preliminary_resultsV2.txt new file mode 100644 index 0000000..3b54cb0 --- /dev/null +++ b/07_final_assignment/results_backup/preliminary_resultsV2.txt @@ -0,0 +1,39 @@ +"alpha" "beta" "NumTrials" "NumWordsLearned" "NumNonwordsPresented" "GeneralAccuracy" "WordAccuracy" "NonwordAccuracy" +"2" 0 0 "50000" "246" "7539" "0.49816" "0.49788" "0.49844" +"3" 0 0.0277777777777778 "50000" "249" "7507" "0.50252" "0.50348" "0.50156" +"4" 0 0.0555555555555556 "50000" "254" "7513" "0.49934" "0.49992" "0.49876" +"5" 0 0.0833333333333333 "50000" "257" "7561" "0.49952" "0.5002" "0.49884" +"6" 0 0.111111111111111 "50000" "238" "7481" "0.4976" "0.49928" "0.49592" +"7" 0 0.138888888888889 "50000" "247" "7511" "0.49922" "0.49828" "0.50016" +"8" 0 0.166666666666667 "50000" "245" "7529" "0.49584" "0.49892" "0.49276" +"9" 0 0.194444444444444 "50000" "258" "7495" "0.49718" "0.50036" "0.494" +"10" 0 0.222222222222222 "50000" "237" "7516" "0.49704" "0.49556" "0.49852" +"11" 0 0.25 "50000" "252" "7533" "0.5003" "0.50024" "0.50036" +"12" 0.0277777777777778 0 "50000" "258" "7512" "0.50084" "0.49832" "0.50336" +"13" 0.0277777777777778 0.0277777777777778 "50000" "307" "7507" "0.89304" "0.91932" "0.86676" +"14" 0.0277777777777778 0.0555555555555556 "50000" "307" "7504" "0.92238" "0.93996" "0.9048" +"15" 0.0277777777777778 0.0833333333333333 "50000" "307" "7474" "0.94464" "0.959" "0.93028" +"16" 0.0277777777777778 0.111111111111111 "50000" "307" "7509" "0.94342" "0.9586" "0.92824" +"17" 0.0277777777777778 0.138888888888889 "50000" "307" "7492" "0.95592" "0.96752" "0.94432" +"18" 0.0277777777777778 0.166666666666667 "50000" "307" "7525" "0.95826" "0.97004" "0.94648" +"19" 0.0277777777777778 0.194444444444444 "50000" "307" "7524" "0.96136" "0.97356" "0.94916" +"20" 0.0277777777777778 0.222222222222222 "50000" "307" "7519" "0.96428" "0.975" "0.95356" +"21" 0.0277777777777778 0.25 "50000" "307" "7491" "0.96798" "0.9796" "0.95636" +"22" 0.0555555555555556 0 "50000" "250" "7485" "0.50116" "0.50108" "0.50124" +"23" 0.01 0.01 "50000" "307" "7529" "0.8255" "0.92116" "0.72984" +"31" 0.035 0.01 "50000" "307" "7518" "0.85618" "0.9088" "0.80356" +"41" 0.035 0.035 "50000" "307" "7500" "0.91126" "0.93668" "0.88584" +"51" 0.06 0.01 "50000" "307" "7448" "0.88458" "0.9022" "0.86696" +"61" 0.06 0.035 "50000" "307" "7489" "0.9405" "0.95708" "0.92392" +"24" 0.11 0.06 "50000" "307" "7504" "0.9655" "0.97776" "0.95324" +"32" 0.11 0.085 "50000" "307" "7511" "0.97114" "0.98244" "0.95984" +"42" 0.11 0.11 "50000" "307" "7508" "0.97604" "0.98584" "0.96624" +"52" 0.135 0.01 "50000" "307" "7520" "0.92474" "0.94632" "0.90316" +"62" 0.135 0.035 "50000" "307" "7522" "0.96084" "0.976" "0.94568" +"25" 0.16 0.085 "50000" "307" "7525" "0.97652" "0.98644" "0.9666" +"33" 0.16 0.11 "50000" "307" "7498" "0.98204" "0.98928" "0.9748" +"43" 0.16 0.135 "50000" "307" "7518" "0.9832" "0.99012" "0.97628" +"53" 0.16 0.16 "50000" "307" "7511" "0.98534" "0.99096" "0.97972" +"63" 0.185 0.01 "50000" "307" "7515" "0.9304" "0.93784" "0.92296" +"64" 1e-06 1e-06 "50000" "307" "7519" "0.78348" "0.91592" "0.65104" +"65" 1e-06 1e-05 "50000" "307" "7522" "0.77502" "0.85296" "0.69708" diff --git a/07_final_assignment/results_backup/resultdat.txt b/07_final_assignment/results_backup/resultdat.txt new file mode 100644 index 0000000..b8bbd6c --- /dev/null +++ b/07_final_assignment/results_backup/resultdat.txt @@ -0,0 +1,23 @@ +"alpha" "beta" "NumTrials" "NumWordsLearned" "NumNonwordsPresented" "GeneralAccuracy" "WordAccuracy" "NonwordAccuracy" +"1" "0" "0" "0" "0" "0" "0" "0" "0" +"2" "0" "0" "50000" "246" "7539" "0.49816" "0.49788" "0.49844" +"3" "0" "0.0277777777777778" "50000" "249" "7507" "0.50252" "0.50348" "0.50156" +"4" "0" "0.0555555555555556" "50000" "254" "7513" "0.49934" "0.49992" "0.49876" +"5" "0" "0.0833333333333333" "50000" "257" "7561" "0.49952" "0.5002" "0.49884" +"6" "0" "0.111111111111111" "50000" "238" "7481" "0.4976" "0.49928" "0.49592" +"7" "0" "0.138888888888889" "50000" "247" "7511" "0.49922" "0.49828" "0.50016" +"8" "0" "0.166666666666667" "50000" "245" "7529" "0.49584" "0.49892" "0.49276" +"9" "0" "0.194444444444444" "50000" "258" "7495" "0.49718" "0.50036" "0.494" +"10" "0" "0.222222222222222" "50000" "237" "7516" "0.49704" "0.49556" "0.49852" +"11" "0" "0.25" "50000" "252" "7533" "0.5003" "0.50024" "0.50036" +"12" "0.0277777777777778" "0" "50000" "258" "7512" "0.50084" "0.49832" "0.50336" +"13" "0.0277777777777778" "0.0277777777777778" "50000" "307" "7507" "0.89304" "0.91932" "0.86676" +"14" "0.0277777777777778" "0.0555555555555556" "50000" "307" "7504" "0.92238" "0.93996" "0.9048" +"15" "0.0277777777777778" "0.0833333333333333" "50000" "307" "7474" "0.94464" "0.959" "0.93028" +"16" "0.0277777777777778" "0.111111111111111" "50000" "307" "7509" "0.94342" "0.9586" "0.92824" +"17" "0.0277777777777778" "0.138888888888889" "50000" "307" "7492" "0.95592" "0.96752" "0.94432" +"18" "0.0277777777777778" "0.166666666666667" "50000" "307" "7525" "0.95826" "0.97004" "0.94648" +"19" "0.0277777777777778" "0.194444444444444" "50000" "307" "7524" "0.96136" "0.97356" "0.94916" +"20" "0.0277777777777778" "0.222222222222222" "50000" "307" "7519" "0.96428" "0.975" "0.95356" +"21" "0.0277777777777778" "0.25" "50000" "307" "7491" "0.96798" "0.9796" "0.95636" +"22" "0.0555555555555556" "0" "50000" "250" "7485" "0.50116" "0.50108" "0.50124" diff --git a/07_final_assignment/results_backup/resultdat0.txt b/07_final_assignment/results_backup/resultdat0.txt new file mode 100644 index 0000000..b8bbd6c --- /dev/null +++ b/07_final_assignment/results_backup/resultdat0.txt @@ -0,0 +1,23 @@ +"alpha" "beta" "NumTrials" "NumWordsLearned" "NumNonwordsPresented" "GeneralAccuracy" "WordAccuracy" "NonwordAccuracy" +"1" "0" "0" "0" "0" "0" "0" "0" "0" +"2" "0" "0" "50000" "246" "7539" "0.49816" "0.49788" "0.49844" +"3" "0" "0.0277777777777778" "50000" "249" "7507" "0.50252" "0.50348" "0.50156" +"4" "0" "0.0555555555555556" "50000" "254" "7513" "0.49934" "0.49992" "0.49876" +"5" "0" "0.0833333333333333" "50000" "257" "7561" "0.49952" "0.5002" "0.49884" +"6" "0" "0.111111111111111" "50000" "238" "7481" "0.4976" "0.49928" "0.49592" +"7" "0" "0.138888888888889" "50000" "247" "7511" "0.49922" "0.49828" "0.50016" +"8" "0" "0.166666666666667" "50000" "245" "7529" "0.49584" "0.49892" "0.49276" +"9" "0" "0.194444444444444" "50000" "258" "7495" "0.49718" "0.50036" "0.494" +"10" "0" "0.222222222222222" "50000" "237" "7516" "0.49704" "0.49556" "0.49852" +"11" "0" "0.25" "50000" "252" "7533" "0.5003" "0.50024" "0.50036" +"12" "0.0277777777777778" "0" "50000" "258" "7512" "0.50084" "0.49832" "0.50336" +"13" "0.0277777777777778" "0.0277777777777778" "50000" "307" "7507" "0.89304" "0.91932" "0.86676" +"14" "0.0277777777777778" "0.0555555555555556" "50000" "307" "7504" "0.92238" "0.93996" "0.9048" +"15" "0.0277777777777778" "0.0833333333333333" "50000" "307" "7474" "0.94464" "0.959" "0.93028" +"16" "0.0277777777777778" "0.111111111111111" "50000" "307" "7509" "0.94342" "0.9586" "0.92824" +"17" "0.0277777777777778" "0.138888888888889" "50000" "307" "7492" "0.95592" "0.96752" "0.94432" +"18" "0.0277777777777778" "0.166666666666667" "50000" "307" "7525" "0.95826" "0.97004" "0.94648" +"19" "0.0277777777777778" "0.194444444444444" "50000" "307" "7524" "0.96136" "0.97356" "0.94916" +"20" "0.0277777777777778" "0.222222222222222" "50000" "307" "7519" "0.96428" "0.975" "0.95356" +"21" "0.0277777777777778" "0.25" "50000" "307" "7491" "0.96798" "0.9796" "0.95636" +"22" "0.0555555555555556" "0" "50000" "250" "7485" "0.50116" "0.50108" "0.50124" diff --git a/07_final_assignment/results_backup/resultdat1.txt b/07_final_assignment/results_backup/resultdat1.txt new file mode 100644 index 0000000..b4341e9 --- /dev/null +++ b/07_final_assignment/results_backup/resultdat1.txt @@ -0,0 +1,7 @@ +"alpha" "beta" "NumTrials" "NumWordsLearned" "NumNonwordsPresented" "GeneralAccuracy" "WordAccuracy" "NonwordAccuracy" +"1" "0" "0" "0" "0" "0" "0" "0" "0" +"2" "0.01" "0.01" "50000" "307" "7529" "0.8255" "0.92116" "0.72984" +"3" "0.035" "0.01" "50000" "307" "7518" "0.85618" "0.9088" "0.80356" +"4" "0.035" "0.035" "50000" "307" "7500" "0.91126" "0.93668" "0.88584" +"5" "0.06" "0.01" "50000" "307" "7448" "0.88458" "0.9022" "0.86696" +"6" "0.06" "0.035" "50000" "307" "7489" "0.9405" "0.95708" "0.92392" diff --git a/07_final_assignment/results_backup/resultdat2.txt b/07_final_assignment/results_backup/resultdat2.txt new file mode 100644 index 0000000..23c9be5 --- /dev/null +++ b/07_final_assignment/results_backup/resultdat2.txt @@ -0,0 +1,7 @@ +"alpha" "beta" "NumTrials" "NumWordsLearned" "NumNonwordsPresented" "GeneralAccuracy" "WordAccuracy" "NonwordAccuracy" +"1" "0" "0" "0" "0" "0" "0" "0" "0" +"2" "0.11" "0.06" "50000" "307" "7504" "0.9655" "0.97776" "0.95324" +"3" "0.11" "0.085" "50000" "307" "7511" "0.97114" "0.98244" "0.95984" +"4" "0.11" "0.11" "50000" "307" "7508" "0.97604" "0.98584" "0.96624" +"5" "0.135" "0.01" "50000" "307" "7520" "0.92474" "0.94632" "0.90316" +"6" "0.135" "0.035" "50000" "307" "7522" "0.96084" "0.976" "0.94568" diff --git a/07_final_assignment/results_backup/resultdat3.txt b/07_final_assignment/results_backup/resultdat3.txt new file mode 100644 index 0000000..1346a87 --- /dev/null +++ b/07_final_assignment/results_backup/resultdat3.txt @@ -0,0 +1,7 @@ +"alpha" "beta" "NumTrials" "NumWordsLearned" "NumNonwordsPresented" "GeneralAccuracy" "WordAccuracy" "NonwordAccuracy" +"1" "0" "0" "0" "0" "0" "0" "0" "0" +"2" "0.16" "0.085" "50000" "307" "7525" "0.97652" "0.98644" "0.9666" +"3" "0.16" "0.11" "50000" "307" "7498" "0.98204" "0.98928" "0.9748" +"4" "0.16" "0.135" "50000" "307" "7518" "0.9832" "0.99012" "0.97628" +"5" "0.16" "0.16" "50000" "307" "7511" "0.98534" "0.99096" "0.97972" +"6" "0.185" "0.01" "50000" "307" "7515" "0.9304" "0.93784" "0.92296" diff --git a/07_final_assignment/resultz/0 0NULL.docx b/07_final_assignment/resultz/0 0NULL.docx deleted file mode 100644 index c4cb17a..0000000 --- a/07_final_assignment/resultz/0 0NULL.docx +++ /dev/null Binary files differ diff --git a/07_final_assignment/resultz/resultdat.txt b/07_final_assignment/resultz/resultdat.txt deleted file mode 100644 index b8bbd6c..0000000 --- a/07_final_assignment/resultz/resultdat.txt +++ /dev/null @@ -1,23 +0,0 @@ -"alpha" "beta" "NumTrials" "NumWordsLearned" "NumNonwordsPresented" "GeneralAccuracy" "WordAccuracy" "NonwordAccuracy" -"1" "0" "0" "0" "0" "0" "0" "0" "0" -"2" "0" "0" "50000" "246" "7539" "0.49816" "0.49788" "0.49844" -"3" "0" "0.0277777777777778" "50000" "249" "7507" "0.50252" "0.50348" "0.50156" -"4" "0" "0.0555555555555556" "50000" "254" "7513" "0.49934" "0.49992" "0.49876" -"5" "0" "0.0833333333333333" "50000" "257" "7561" "0.49952" "0.5002" "0.49884" -"6" "0" "0.111111111111111" "50000" "238" "7481" "0.4976" "0.49928" "0.49592" -"7" "0" "0.138888888888889" "50000" "247" "7511" "0.49922" "0.49828" "0.50016" -"8" "0" "0.166666666666667" "50000" "245" "7529" "0.49584" "0.49892" "0.49276" -"9" "0" "0.194444444444444" "50000" "258" "7495" "0.49718" "0.50036" "0.494" -"10" "0" "0.222222222222222" "50000" "237" "7516" "0.49704" "0.49556" "0.49852" -"11" "0" "0.25" "50000" "252" "7533" "0.5003" "0.50024" "0.50036" -"12" "0.0277777777777778" "0" "50000" "258" "7512" "0.50084" "0.49832" "0.50336" -"13" "0.0277777777777778" "0.0277777777777778" "50000" "307" "7507" "0.89304" "0.91932" "0.86676" -"14" "0.0277777777777778" "0.0555555555555556" "50000" "307" "7504" "0.92238" "0.93996" "0.9048" -"15" "0.0277777777777778" "0.0833333333333333" "50000" "307" "7474" "0.94464" "0.959" "0.93028" -"16" "0.0277777777777778" "0.111111111111111" "50000" "307" "7509" "0.94342" "0.9586" "0.92824" -"17" "0.0277777777777778" "0.138888888888889" "50000" "307" "7492" "0.95592" "0.96752" "0.94432" -"18" "0.0277777777777778" "0.166666666666667" "50000" "307" "7525" "0.95826" "0.97004" "0.94648" -"19" "0.0277777777777778" "0.194444444444444" "50000" "307" "7524" "0.96136" "0.97356" "0.94916" -"20" "0.0277777777777778" "0.222222222222222" "50000" "307" "7519" "0.96428" "0.975" "0.95356" -"21" "0.0277777777777778" "0.25" "50000" "307" "7491" "0.96798" "0.9796" "0.95636" -"22" "0.0555555555555556" "0" "50000" "250" "7485" "0.50116" "0.50108" "0.50124"