diff --git a/images/100x100/al_pacino.jpg b/images/100x100/al_pacino.jpg deleted file mode 100644 index c95cd0d..0000000 Binary files a/images/100x100/al_pacino.jpg and /dev/null differ diff --git a/images/100x100/al_pacino2.jpg b/images/100x100/al_pacino2.jpg deleted file mode 100644 index 8d45d9e..0000000 Binary files a/images/100x100/al_pacino2.jpg and /dev/null differ diff --git a/images/100x100/al_pacino3.jpg b/images/100x100/al_pacino3.jpg deleted file mode 100644 index 958a072..0000000 Binary files a/images/100x100/al_pacino3.jpg and /dev/null differ diff --git a/images/100x100/al_pacino4.jpg b/images/100x100/al_pacino4.jpg deleted file mode 100644 index f7db269..0000000 Binary files a/images/100x100/al_pacino4.jpg and /dev/null differ diff --git a/images/100x100/beyonce.jpg b/images/100x100/beyonce.jpg deleted file mode 100644 index 9564104..0000000 Binary files a/images/100x100/beyonce.jpg and /dev/null differ diff --git a/images/100x100/bledel.jpg b/images/100x100/bledel.jpg deleted file mode 100644 index b774ca4..0000000 Binary files a/images/100x100/bledel.jpg and /dev/null differ diff --git a/images/100x100/gisele.jpg b/images/100x100/gisele.jpg deleted file mode 100644 index 598b301..0000000 Binary files a/images/100x100/gisele.jpg and /dev/null differ diff --git a/images/100x100/halle_berry.jpg b/images/100x100/halle_berry.jpg deleted file mode 100644 index 7274209..0000000 Binary files a/images/100x100/halle_berry.jpg and /dev/null differ diff --git a/images/100x100/ski_man.jpg b/images/100x100/ski_man.jpg deleted file mode 100644 index da71bbb..0000000 Binary files a/images/100x100/ski_man.jpg and /dev/null differ diff --git a/images/smileys/circle.bmp b/images/smileys/circle.bmp new file mode 100644 index 0000000..3e2fc45 Binary files /dev/null and b/images/smileys/circle.bmp differ diff --git a/images/smileys/eleven.bmp b/images/smileys/eleven.bmp new file mode 100644 index 0000000..54b3ee8 Binary files /dev/null and b/images/smileys/eleven.bmp differ diff --git a/images/smileys/house.bmp b/images/smileys/house.bmp new file mode 100644 index 0000000..dc2078b Binary files /dev/null and b/images/smileys/house.bmp differ diff --git a/images/smileys/plus.bmp b/images/smileys/plus.bmp new file mode 100644 index 0000000..b6200a5 Binary files /dev/null and b/images/smileys/plus.bmp differ diff --git a/images/smileys/run/badcircle.bmp b/images/smileys/run/badcircle.bmp new file mode 100644 index 0000000..b6c512e Binary files /dev/null and b/images/smileys/run/badcircle.bmp differ diff --git a/images/smileys/squarecross.bmp b/images/smileys/squarecross.bmp new file mode 100644 index 0000000..840cdfb Binary files /dev/null and b/images/smileys/squarecross.bmp differ diff --git a/GHCIs.txt b/notes/GHCIs.txt similarity index 100% rename from GHCIs.txt rename to notes/GHCIs.txt diff --git a/notes/PERFORMANCE-TUNING.txt b/notes/PERFORMANCE-TUNING.txt new file mode 100644 index 0000000..6f5f5ab --- /dev/null +++ b/notes/PERFORMANCE-TUNING.txt @@ -0,0 +1,12 @@ +UTIL + +slow: + +columnVector +dotProduct + + +-- Random update + +before new random update: 2e5d858 - pattern size 60 - 1:12 +after new random update: c6d01c6 - pattern size 60 - 42 diff --git a/notes/profiles/experiments.prof b/notes/profiles/experiments.prof new file mode 100644 index 0000000..c04e555 --- /dev/null +++ b/notes/profiles/experiments.prof @@ -0,0 +1,193 @@ + Fri Jan 4 22:57 2013 Time and Allocation Profiling Report (Final) + + experiments +RTS -p -RTS + + total time = 49.40 secs (49399 ticks @ 1000 us, 1 processor) + total alloc = 77,022,878,872 bytes (excludes profiling overheads) + +COST CENTRE MODULE %time %alloc + +computeH_.weighted Hopfield 42.2 62.8 +randomElem Util 21.1 6.2 +*. Util 14.1 16.3 +update_.flipAtIndex Hopfield 5.0 6.2 +shuffle Util 4.0 3.1 +validWeights Hopfield 3.0 0.6 +getUpdatables_ Hopfield 2.6 2.6 +getUpdatables_.new Hopfield 2.1 0.8 + + + individual inherited +COST CENTRE MODULE no. entries %time %alloc %time %alloc + +MAIN MAIN 139 0 0.0 0.0 100.0 100.0 + main Main 279 0 0.0 0.0 0.1 0.0 + main.nets Main 338 1 0.0 0.0 0.0 0.0 + buildNetworks SuperAttractors 339 1 0.0 0.0 0.0 0.0 + oneSuperAttr SuperAttractors 342 4 0.0 0.0 0.0 0.0 + buildHopfieldData Hopfield 340 4 0.0 0.0 0.0 0.0 + train Hopfield 355 4 0.0 0.0 0.0 0.0 + vector2D Util 358 4 0.0 0.0 0.0 0.0 + train.ws Hopfield 357 4 0.0 0.0 0.0 0.0 + ./. Util 361 9804 0.0 0.0 0.0 0.0 + train.w Hopfield 360 10000 0.0 0.0 0.0 0.0 + train.n Hopfield 356 4 0.0 0.0 0.0 0.0 + buildHopfieldData.trainingFunction Hopfield 354 4 0.0 0.0 0.0 0.0 + buildHopfieldData.\ Hopfield 344 47 0.0 0.0 0.0 0.0 + buildHopfieldData.first_len Hopfield 343 4 0.0 0.0 0.0 0.0 + main.patErrs Main 337 1 0.0 0.0 0.0 0.0 + checkFixed Measurement 346 4 0.0 0.0 0.0 0.0 + checkFixed.\ Measurement 347 186 0.0 0.0 0.0 0.0 + compTerm Measurement 348 186 0.0 0.0 0.0 0.0 + computeH Hopfield 350 186 0.0 0.0 0.0 0.0 + checkWsPat Hopfield 351 186 0.0 0.0 0.0 0.0 + computeH.\ Hopfield 364 186 0.0 0.0 0.0 0.0 + computeH_ Hopfield 366 186 0.0 0.0 0.0 0.0 + computeH_.weighted Hopfield 367 186 0.0 0.0 0.0 0.0 + *. Util 368 9300 0.0 0.0 0.0 0.0 + computeH_.p Hopfield 365 186 0.0 0.0 0.0 0.0 + validWeightsPatternSize Hopfield 363 186 0.0 0.0 0.0 0.0 + validPattern Hopfield 362 186 0.0 0.0 0.0 0.0 + validWeights Hopfield 352 186 0.0 0.0 0.0 0.0 + validWeights.\ Hopfield 359 9300 0.0 0.0 0.0 0.0 + validWeights.n Hopfield 353 186 0.0 0.0 0.0 0.0 + compTerm.pat Measurement 349 4 0.0 0.0 0.0 0.0 + toPercents Util 335 1 0.0 0.0 0.0 0.0 + main.hammingPct Main 334 1 0.0 0.0 0.0 0.0 + ./. Util 336 8 0.0 0.0 0.0 0.0 + main.dist Main 317 1 0.0 0.0 0.0 0.0 + hammingDistribution Measurement 320 0 0.0 0.0 0.0 0.0 + patternGen Utils 310 0 0.0 0.0 0.0 0.0 + toGenVector Utils 311 0 0.0 0.0 0.0 0.0 + signGen Utils 333 0 0.0 0.0 0.0 0.0 + main.hammingDists Main 303 1 0.0 0.0 0.0 0.0 + hammingDistance Util 306 8 0.0 0.0 0.0 0.0 + hammingDistance.l2 Util 312 8 0.0 0.0 0.0 0.0 + hammingDistance.(...) Util 307 0 0.0 0.0 0.0 0.0 + hammingDistance.l1 Util 305 8 0.0 0.0 0.0 0.0 + hammingDistance.(...) Util 304 8 0.0 0.0 0.0 0.0 + prettyList Util 302 2 0.0 0.0 0.0 0.0 + main.pats Main 297 1 0.0 0.0 0.0 0.0 + main.p Main 296 1 0.0 0.0 0.0 0.0 + main.expErrs Main 295 1 0.0 0.0 0.0 0.0 + computeErrorSuperAttractorNumbers Analysis 299 4 0.0 0.0 0.0 0.0 + ./. Util 301 4 0.0 0.0 0.0 0.0 + *. Util 300 4 0.0 0.0 0.0 0.0 + attachLabels Util 288 1 0.0 0.0 0.0 0.0 + attachLabels.list Util 290 1 0.0 0.0 0.0 0.0 + sampleHammingRange Measurement 283 1 0.0 0.0 0.0 0.0 + sampleHammingDistance Measurement 285 8 0.0 0.0 0.0 0.0 + sampleHammingDistance.n Measurement 330 8 0.0 0.0 0.0 0.0 + sampleHammingDistance.basePerm Measurement 316 8 0.0 0.0 0.0 0.0 + toArray Util 328 8 0.0 0.0 0.0 0.0 + toArray.l Util 329 8 0.0 0.0 0.0 0.0 + sampleHammingDistance.multByPat Measurement 313 8 0.0 0.0 0.0 0.0 + sampleHammingDistance.coeffSamples Measurement 286 8 0.0 0.0 0.0 0.0 + shuffle Util 287 8 0.0 0.0 0.0 0.0 + shuffle.len Util 315 8 0.0 0.0 0.0 0.0 + shuffle.shuffledArray Util 314 8 0.0 0.0 0.0 0.0 + shuffle.shuffledArray.\ Util 331 400 0.0 0.0 0.0 0.0 + runT Util 284 1 0.0 0.0 0.0 0.0 + genIO Main 281 0 0.0 0.0 0.0 0.0 + CAF Main 277 0 0.0 0.0 99.9 100.0 + errorHeader Main 289 1 0.0 0.0 0.0 0.0 + main Main 278 1 0.0 0.0 99.9 100.0 + experimentUsingT1NoAvg Clusters 369 1 0.0 0.0 99.9 100.0 + basinsGivenProbabilityT1 Clusters 372 6 0.0 0.0 99.9 100.0 + randomSignVector Util 378 6 0.0 0.0 0.0 0.0 + randomSignVector.\ Util 405 120 0.0 0.0 0.0 0.0 + randomBinaryVector Util 379 6 0.0 0.0 0.0 0.0 + getCluster Clusters 375 6 0.0 0.0 0.0 0.0 + getPatternInCluster Clusters 377 6 0.0 0.0 0.0 0.0 + getPatternInCluster.transformBit Clusters 402 120 0.0 0.0 0.0 0.0 + gibbsSampling Util 404 6 0.0 0.0 0.0 0.0 + getPatternInCluster.transformBit.bit Clusters 403 1200 0.0 0.0 0.0 0.0 + flipBit Common 433 89 0.0 0.0 0.0 0.0 + avgBasinsGivenPats Clusters 373 6 0.0 0.0 99.9 100.0 + avgBasinsGivenPats.hopfield Clusters 390 6 0.0 0.0 0.0 0.0 + buildHopfieldData Hopfield 391 6 0.0 0.0 0.0 0.0 + train Hopfield 395 6 0.0 0.0 0.0 0.0 + vector2D Util 398 6 0.0 0.0 0.0 0.0 + train.ws Hopfield 397 6 0.0 0.0 0.0 0.0 + ./. Util 401 2286 0.0 0.0 0.0 0.0 + train.w Hopfield 400 2400 0.0 0.0 0.0 0.0 + train.n Hopfield 396 6 0.0 0.0 0.0 0.0 + buildHopfieldData.trainingFunction Hopfield 394 6 0.0 0.0 0.0 0.0 + buildHopfieldData.\ Hopfield 393 60 0.0 0.0 0.0 0.0 + buildHopfieldData.first_len Hopfield 392 6 0.0 0.0 0.0 0.0 + measurePatternBasin Measurement 376 60 0.0 0.0 99.9 100.0 + samplePatternBasin Measurement 380 60 0.0 0.0 99.9 100.0 + samplePatternRing Measurement 382 1181 0.1 0.1 99.9 100.0 + ./. Util 432 160 0.0 0.0 0.0 0.0 + checkWsPat Hopfield 387 118100 0.1 0.0 94.1 96.0 + repeatedUpdate Hopfield 417 0 0.0 0.0 91.0 95.4 + repeatedUpdate_ Hopfield 418 118100 0.0 0.0 91.0 95.4 + repeatUntilNothing Util 419 981284 0.9 0.3 90.9 95.4 + update_ Hopfield 420 981284 0.9 0.3 90.1 95.2 + randomElem Util 431 863184 21.1 6.2 21.1 6.2 + update_.flipAtIndex Hopfield 429 863184 5.0 6.2 5.9 6.2 + update_.valueAtIndex Hopfield 430 17263680 0.9 0.0 0.9 0.0 + update_.updatables Hopfield 421 981284 0.0 0.0 62.1 82.5 + getUpdatables_ Hopfield 422 981284 2.6 2.6 62.1 82.5 + getUpdatables_.new Hopfield 424 19625680 2.1 0.8 59.5 79.9 + computeH_ Hopfield 426 19625680 1.0 0.0 57.3 79.1 + computeH_.weighted Hopfield 427 19625680 42.2 62.8 56.4 79.1 + *. Util 428 392513600 14.1 16.3 14.1 16.3 + computeH_.p Hopfield 425 19625680 0.0 0.0 0.0 0.0 + validWeightsPatternSize Hopfield 416 118100 0.0 0.0 0.0 0.0 + validPattern Hopfield 406 118100 0.1 0.0 0.1 0.0 + validWeights Hopfield 388 118100 3.0 0.6 3.0 0.6 + validWeights.\ Hopfield 399 2362000 0.0 0.0 0.0 0.0 + validWeights.n Hopfield 389 118100 0.0 0.0 0.0 0.0 + repeatedUpdate Hopfield 386 1181 0.0 0.0 0.0 0.0 + sampleHammingDistance Measurement 384 1181 0.5 0.3 5.6 3.9 + sampleHammingDistance.n Measurement 414 1181 0.0 0.0 0.0 0.0 + sampleHammingDistance.basePerm Measurement 411 1181 0.0 0.0 0.0 0.0 + toArray Util 412 1181 0.0 0.0 0.0 0.0 + toArray.l Util 413 1181 0.0 0.0 0.0 0.0 + sampleHammingDistance.multByPat Measurement 407 118100 0.3 0.4 0.3 0.4 + sampleHammingDistance.coeffSamples Measurement 385 1181 0.0 0.0 4.8 3.2 + shuffle Util 408 1181 4.0 3.1 4.8 3.2 + shuffle.len Util 410 1181 0.0 0.0 0.0 0.0 + shuffle.shuffledArray Util 409 118100 0.6 0.1 0.8 0.1 + shuffle.shuffledArray.\ Util 415 2362000 0.2 0.0 0.2 0.0 + samplePatternRing.numConverging Measurement 383 160 0.0 0.0 0.0 0.0 + samplePatternBasin.n Measurement 381 60 0.0 0.0 0.0 0.0 + average Util 374 6 0.0 0.0 0.0 0.0 + main.originIndex Main 345 1 0.0 0.0 0.0 0.0 + main.patCombiner Main 341 1 0.0 0.0 0.0 0.0 + main.maxHamming Main 324 1 0.0 0.0 0.0 0.0 + .* Util 325 1 0.0 0.0 0.0 0.0 + main.minHamming Main 322 1 0.0 0.0 0.0 0.0 + .* Util 323 1 0.0 0.0 0.0 0.0 + main.dist Main 318 0 0.0 0.0 0.0 0.0 + hammingDistribution Measurement 319 1 0.0 0.0 0.0 0.0 + hammingDistribution.probs Measurement 327 1 0.0 0.0 0.0 0.0 + hammingDistribution.dist Measurement 326 1 0.0 0.0 0.0 0.0 + hammingDistribution.rs Measurement 321 1 0.0 0.0 0.0 0.0 + patternGen Utils 308 1 0.0 0.0 0.0 0.0 + toGenVector Utils 309 1 0.0 0.0 0.0 0.0 + main.n Main 298 1 0.0 0.0 0.0 0.0 + main.maxDegree Main 294 1 0.0 0.0 0.0 0.0 + main.degrees Main 291 1 0.0 0.0 0.0 0.0 + powersOfTwo SuperAttractors 292 1 0.0 0.0 0.0 0.0 + main.numRandoms Main 282 1 0.0 0.0 0.0 0.0 + genIO Main 280 1 0.0 0.0 0.0 0.0 + CAF Hopfield 275 0 0.0 0.0 0.0 0.0 + getUpdatables_ Hopfield 423 0 0.0 0.0 0.0 0.0 + CAF SuperAttractors 273 0 0.0 0.0 0.0 0.0 + powersOfTwo SuperAttractors 293 0 0.0 0.0 0.0 0.0 + CAF Utils 271 0 0.0 0.0 0.0 0.0 + signGen Utils 332 1 0.0 0.0 0.0 0.0 + CAF Clusters 270 0 0.0 0.0 0.0 0.0 + experimentUsingT1NoAvg Clusters 370 0 0.0 0.0 0.0 0.0 + experimentUsingT1NoAvg.probabilities Clusters 371 1 0.0 0.0 0.0 0.0 + CAF Math.Combinatorics.Exact.Primes 220 0 0.0 0.0 0.0 0.0 + CAF System.Random 213 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Encoding 192 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Handle.FD 189 0 0.0 0.0 0.0 0.0 + CAF GHC.Conc.Signal 184 0 0.0 0.0 0.0 0.0 + CAF GHC.Float 181 0 0.0 0.0 0.0 0.0 + CAF GHC.Float.ConversionUtils 180 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Encoding.Iconv 179 0 0.0 0.0 0.0 0.0 + CAF GHC.Integer.Logarithms.Internals 147 0 0.0 0.0 0.0 0.0 diff --git a/notes/profiles/experiments.prof-254935418 b/notes/profiles/experiments.prof-254935418 new file mode 100644 index 0000000..5ccd3b2 --- /dev/null +++ b/notes/profiles/experiments.prof-254935418 @@ -0,0 +1,232 @@ + Sat Jan 5 20:40 2013 Time and Allocation Profiling Report (Final) + + experiments +RTS -p -RTS + + total time = 72.95 secs (72946 ticks @ 1000 us, 1 processor) + total alloc = 114,789,466,688 bytes (excludes profiling overheads) + +COST CENTRE MODULE %time %alloc + +computeH_.cs Hopfield.Hopfield 31.3 38.1 +computeH_.weighted Hopfield.Hopfield 17.9 41.7 +computeH_.weighted.\ Hopfield.Hopfield 14.0 0.0 +randomElem Hopfield.Util 11.4 3.4 +*. Hopfield.Util 9.7 10.9 +computeH_ Hopfield.Hopfield 4.4 0.0 +shuffle Hopfield.Util 2.7 2.1 +validWeights Hopfield.Hopfield 2.4 0.4 +getUpdatables_ Hopfield.Hopfield 2.0 1.7 +getUpdatables_.new Hopfield.Hopfield 1.1 0.5 + + + individual inherited +COST CENTRE MODULE no. entries %time %alloc %time %alloc + +MAIN MAIN 136 0 0.0 0.0 100.0 100.0 + main Hopfield.Experiment 274 0 0.0 0.0 100.0 100.0 + experimentUsingT1NoAvg Hopfield.Clusters 383 0 0.0 0.0 99.6 99.9 + avgBasinsGivenPats Hopfield.Clusters 396 6 0.0 0.0 0.0 0.0 + avgBasinsGivenPats.hopfield Hopfield.Clusters 415 6 0.0 0.0 0.0 0.0 + buildHopfieldData Hopfield.Hopfield 416 6 0.0 0.0 0.0 0.0 + train Hopfield.Hopfield 420 6 0.0 0.0 0.0 0.0 + vector2D Hopfield.Util 423 6 0.0 0.0 0.0 0.0 + train.ws Hopfield.Hopfield 422 6 0.0 0.0 0.0 0.0 + ./. Hopfield.Util 426 2286 0.0 0.0 0.0 0.0 + train.w Hopfield.Hopfield 425 2400 0.0 0.0 0.0 0.0 + train.n Hopfield.Hopfield 421 6 0.0 0.0 0.0 0.0 + buildHopfieldData.trainingFunction Hopfield.Hopfield 419 6 0.0 0.0 0.0 0.0 + buildHopfieldData.\ Hopfield.Hopfield 418 60 0.0 0.0 0.0 0.0 + buildHopfieldData.first_len Hopfield.Hopfield 417 6 0.0 0.0 0.0 0.0 + measurePatternBasin Hopfield.Measurement 398 60 0.0 0.0 0.0 0.0 + samplePatternBasin Hopfield.Measurement 400 60 0.0 0.0 0.0 0.0 + samplePatternRing Hopfield.Measurement 403 1200 0.0 0.0 0.0 0.0 + repeatedUpdate Hopfield.Hopfield 411 1200 0.0 0.0 0.0 0.0 + sampleHammingDistance Hopfield.Measurement 405 1200 0.0 0.0 0.0 0.0 + sampleHammingDistance.multByPat Hopfield.Measurement 439 0 0.0 0.0 0.0 0.0 + sampleHammingDistance.n Hopfield.Measurement 436 1200 0.0 0.0 0.0 0.0 + sampleHammingDistance.basePerm Hopfield.Measurement 433 1200 0.0 0.0 0.0 0.0 + toArray Hopfield.Util 434 1200 0.0 0.0 0.0 0.0 + toArray.l Hopfield.Util 435 1200 0.0 0.0 0.0 0.0 + sampleHammingDistance.coeffSamples Hopfield.Measurement 407 1200 0.0 0.0 0.0 0.0 + shuffle Hopfield.Util 409 1200 0.0 0.0 0.0 0.0 + shuffle.len Hopfield.Util 432 1200 0.0 0.0 0.0 0.0 + shuffle.shuffledArray Hopfield.Util 431 0 0.0 0.0 0.0 0.0 + samplePatternBasin.n Hopfield.Measurement 401 60 0.0 0.0 0.0 0.0 + basinsGivenProbabilityT1 Hopfield.Clusters 387 0 0.0 0.0 99.6 99.8 + avgBasinsGivenPats Hopfield.Clusters 397 0 0.0 0.0 99.6 99.8 + average Hopfield.Util 460 6 0.0 0.0 0.0 0.0 + measurePatternBasin Hopfield.Measurement 399 0 0.0 0.0 99.6 99.8 + samplePatternBasin Hopfield.Measurement 402 0 0.0 0.0 99.6 99.8 + samplePatternRing Hopfield.Measurement 404 0 0.1 0.0 99.6 99.8 + ./. Hopfield.Util 462 166 0.0 0.0 0.0 0.0 + samplePatternRing.numConverging Hopfield.Measurement 461 166 0.0 0.0 0.0 0.0 + repeatedUpdate Hopfield.Hopfield 441 0 0.0 0.0 93.5 96.8 + repeatedUpdate_ Hopfield.Hopfield 442 120000 0.0 0.0 93.5 96.8 + repeatUntilNothing Hopfield.Util 443 976959 0.5 0.1 93.5 96.8 + update_ Hopfield.Hopfield 444 976959 0.5 0.1 93.0 96.8 + update_.flipAtIndex Hopfield.Hopfield 456 856959 0.7 0.2 0.7 0.3 + update_.flipAtIndex.\ Hopfield.Hopfield 458 856959 0.0 0.0 0.0 0.0 + update_.flipAtIndex.val Hopfield.Hopfield 457 856959 0.0 0.0 0.0 0.0 + randomElem Hopfield.Util 455 856959 11.4 3.4 11.4 3.4 + update_.updatables Hopfield.Hopfield 445 976959 0.0 0.0 80.4 92.9 + getUpdatables_ Hopfield.Hopfield 446 976959 2.0 1.7 80.4 92.9 + getUpdatables_.new Hopfield.Hopfield 448 19539180 1.1 0.5 78.4 91.2 + computeH_ Hopfield.Hopfield 450 19539180 4.4 0.0 77.3 90.7 + computeH_.cs Hopfield.Hopfield 452 19539180 31.3 38.1 31.3 38.1 + computeH_.weighted Hopfield.Hopfield 451 19539180 17.9 41.7 41.6 52.6 + computeH_.weighted.\ Hopfield.Hopfield 453 390783600 14.0 0.0 23.7 10.9 + *. Hopfield.Util 454 390783600 9.7 10.9 9.7 10.9 + computeH_.p Hopfield.Hopfield 449 19539180 0.0 0.0 0.0 0.0 + checkWsPat Hopfield.Hopfield 412 120000 0.0 0.0 2.2 0.4 + validWeightsPatternSize Hopfield.Hopfield 440 120000 0.0 0.0 0.0 0.0 + validPattern Hopfield.Hopfield 429 120000 0.1 0.0 0.1 0.0 + validWeights Hopfield.Hopfield 413 120000 2.1 0.4 2.1 0.4 + validWeights.\ Hopfield.Hopfield 424 2400000 0.0 0.0 0.0 0.0 + validWeights.n Hopfield.Hopfield 414 120000 0.0 0.0 0.0 0.0 + sampleHammingDistance Hopfield.Measurement 406 0 0.3 0.2 3.7 2.6 + sampleHammingDistance.multByPat Hopfield.Measurement 430 120000 0.2 0.3 0.2 0.3 + sampleHammingDistance.coeffSamples Hopfield.Measurement 408 0 0.0 0.0 3.2 2.1 + shuffle Hopfield.Util 410 0 2.7 2.1 3.2 2.1 + shuffle.shuffledArray Hopfield.Util 437 120000 0.4 0.0 0.5 0.0 + shuffle.shuffledArray.\ Hopfield.Util 438 2400000 0.1 0.0 0.1 0.0 + getCluster Hopfield.Clusters 392 6 0.0 0.0 0.0 0.0 + getPatternInCluster Hopfield.Clusters 393 6 0.0 0.0 0.0 0.0 + getPatternInCluster.transformBit Hopfield.Clusters 394 120 0.0 0.0 0.0 0.0 + getPatternInCluster.transformBit.bit Hopfield.Clusters 427 1200 0.0 0.0 0.0 0.0 + flipBit Hopfield.Common 459 87 0.0 0.0 0.0 0.0 + gibbsSampling Hopfield.Util 395 6 0.0 0.0 0.0 0.0 + randomSignVector Hopfield.Util 389 0 0.0 0.0 0.0 0.0 + randomSignVector.\ Hopfield.Util 428 120 0.0 0.0 0.0 0.0 + randomBinaryVector Hopfield.Util 391 0 0.0 0.0 0.0 0.0 + main.originIndex Hopfield.Experiment 352 1 0.0 0.0 0.0 0.0 + doCheckFixed Hopfield.ExpUtil 345 1 0.0 0.0 0.2 0.0 + prettyList Hopfield.Util 381 1 0.0 0.0 0.0 0.0 + doCheckFixed.msg Hopfield.ExpUtil 378 1 0.0 0.0 0.0 0.0 + doCheckFixed.patErrs Hopfield.ExpUtil 346 1 0.0 0.0 0.2 0.0 + checkFixed Hopfield.Measurement 353 6 0.0 0.0 0.2 0.0 + checkFixed.\ Hopfield.Measurement 354 539 0.0 0.0 0.2 0.0 + compTerm Hopfield.Measurement 355 539 0.0 0.0 0.2 0.0 + computeH Hopfield.Hopfield 357 539 0.0 0.0 0.2 0.0 + checkWsPat Hopfield.Hopfield 358 539 0.0 0.0 0.2 0.0 + computeH.\ Hopfield.Hopfield 371 539 0.0 0.0 0.0 0.0 + computeH_ Hopfield.Hopfield 373 539 0.0 0.0 0.0 0.0 + computeH_.cs Hopfield.Hopfield 375 539 0.0 0.0 0.0 0.0 + computeH_.weighted Hopfield.Hopfield 374 539 0.0 0.0 0.0 0.0 + computeH_.weighted.\ Hopfield.Hopfield 376 53900 0.0 0.0 0.0 0.0 + *. Hopfield.Util 377 53900 0.0 0.0 0.0 0.0 + computeH_.p Hopfield.Hopfield 372 539 0.0 0.0 0.0 0.0 + validWeightsPatternSize Hopfield.Hopfield 370 539 0.0 0.0 0.0 0.0 + validPattern Hopfield.Hopfield 369 539 0.0 0.0 0.0 0.0 + validWeights Hopfield.Hopfield 359 539 0.2 0.0 0.2 0.0 + validWeights.\ Hopfield.Hopfield 366 53900 0.0 0.0 0.0 0.0 + validWeights.n Hopfield.Hopfield 360 539 0.0 0.0 0.0 0.0 + compTerm.pat Hopfield.Measurement 356 6 0.0 0.0 0.0 0.0 + main.nets Hopfield.Experiment 343 1 0.0 0.0 0.1 0.1 + buildNetworks Hopfield.SuperAttractors 344 1 0.0 0.0 0.1 0.1 + oneSuperAttr Hopfield.SuperAttractors 349 6 0.0 0.0 0.0 0.0 + buildHopfieldData Hopfield.Hopfield 347 6 0.0 0.0 0.1 0.1 + train Hopfield.Hopfield 362 6 0.0 0.0 0.1 0.1 + vector2D Hopfield.Util 365 6 0.0 0.0 0.0 0.0 + train.ws Hopfield.Hopfield 364 6 0.0 0.0 0.1 0.1 + ./. Hopfield.Util 368 59406 0.0 0.0 0.0 0.0 + train.w Hopfield.Hopfield 367 60000 0.1 0.1 0.1 0.1 + train.n Hopfield.Hopfield 363 6 0.0 0.0 0.0 0.0 + buildHopfieldData.trainingFunction Hopfield.Hopfield 361 6 0.0 0.0 0.0 0.0 + buildHopfieldData.\ Hopfield.Hopfield 351 111 0.0 0.0 0.0 0.0 + buildHopfieldData.first_len Hopfield.Hopfield 350 6 0.0 0.0 0.0 0.0 + main.dist Hopfield.Experiment 322 1 0.0 0.0 0.0 0.0 + hammingDistribution Hopfield.Measurement 325 0 0.0 0.0 0.0 0.0 + patternGen Hopfield.TestUtil 315 0 0.0 0.0 0.0 0.0 + toGenVector Hopfield.TestUtil 316 0 0.0 0.0 0.0 0.0 + signGen Hopfield.TestUtil 338 0 0.0 0.0 0.0 0.0 + doHamming Hopfield.ExpUtil 303 1 0.0 0.0 0.0 0.0 + doHamming.n Hopfield.ExpUtil 342 1 0.0 0.0 0.0 0.0 + toPercents Hopfield.Util 340 1 0.0 0.0 0.0 0.0 + doHamming.hammingPct Hopfield.ExpUtil 339 1 0.0 0.0 0.0 0.0 + ./. Hopfield.Util 341 8 0.0 0.0 0.0 0.0 + doHamming.hammingDists Hopfield.ExpUtil 308 1 0.0 0.0 0.0 0.0 + hammingDistance Hopfield.Util 311 8 0.0 0.0 0.0 0.0 + hammingDistance.l2 Hopfield.Util 317 8 0.0 0.0 0.0 0.0 + hammingDistance.(...) Hopfield.Util 312 0 0.0 0.0 0.0 0.0 + hammingDistance.l1 Hopfield.Util 310 8 0.0 0.0 0.0 0.0 + hammingDistance.(...) Hopfield.Util 309 8 0.0 0.0 0.0 0.0 + prettyList Hopfield.Util 307 1 0.0 0.0 0.0 0.0 + doHamming.msg Hopfield.ExpUtil 304 1 0.0 0.0 0.0 0.0 + main.pats Hopfield.Experiment 300 1 0.0 0.0 0.0 0.0 + main.p Hopfield.Experiment 299 1 0.0 0.0 0.0 0.0 + doErrorProb Hopfield.ExpUtil 284 1 0.0 0.0 0.0 0.0 + doErrorProb.expErrs Hopfield.ExpUtil 298 1 0.0 0.0 0.0 0.0 + computeErrorSuperAttractorNumbers Hopfield.Analysis 301 6 0.0 0.0 0.0 0.0 + ./. Hopfield.Util 302 6 0.0 0.0 0.0 0.0 + packL Hopfield.Common 291 2 0.0 0.0 0.0 0.0 + pack Hopfield.Common 297 2 0.0 0.0 0.0 0.0 + attachLabels Hopfield.Util 286 1 0.0 0.0 0.0 0.0 + attachLabels.list Hopfield.Util 289 1 0.0 0.0 0.0 0.0 + attachLabel Hopfield.Util 290 2 0.0 0.0 0.0 0.0 + showsPrec Hopfield.Common 296 12 0.0 0.0 0.0 0.0 + sampleHammingRange Hopfield.Measurement 278 1 0.0 0.0 0.0 0.0 + sampleHammingDistance Hopfield.Measurement 280 8 0.0 0.0 0.0 0.0 + sampleHammingDistance.n Hopfield.Measurement 335 8 0.0 0.0 0.0 0.0 + sampleHammingDistance.basePerm Hopfield.Measurement 321 8 0.0 0.0 0.0 0.0 + toArray Hopfield.Util 333 8 0.0 0.0 0.0 0.0 + toArray.l Hopfield.Util 334 8 0.0 0.0 0.0 0.0 + sampleHammingDistance.multByPat Hopfield.Measurement 318 8 0.0 0.0 0.0 0.0 + sampleHammingDistance.coeffSamples Hopfield.Measurement 281 8 0.0 0.0 0.0 0.0 + shuffle Hopfield.Util 282 8 0.0 0.0 0.0 0.0 + shuffle.len Hopfield.Util 320 8 0.0 0.0 0.0 0.0 + shuffle.shuffledArray Hopfield.Util 319 8 0.0 0.0 0.0 0.0 + shuffle.shuffledArray.\ Hopfield.Util 336 800 0.0 0.0 0.0 0.0 + runT Hopfield.Util 279 1 0.0 0.0 0.0 0.0 + genIO Hopfield.Experiment 276 0 0.0 0.0 0.0 0.0 + CAF Main 271 0 0.0 0.0 0.0 0.0 + main Main 272 1 0.0 0.0 0.0 0.0 + CAF Hopfield.Experiment 270 0 0.0 0.0 0.0 0.0 + main Hopfield.Experiment 273 1 0.0 0.0 0.0 0.0 + experimentUsingT1NoAvg Hopfield.Clusters 382 1 0.0 0.0 0.0 0.0 + basinsGivenProbabilityT1 Hopfield.Clusters 386 6 0.0 0.0 0.0 0.0 + randomSignVector Hopfield.Util 388 6 0.0 0.0 0.0 0.0 + randomBinaryVector Hopfield.Util 390 6 0.0 0.0 0.0 0.0 + main.patCombiner Hopfield.Experiment 348 1 0.0 0.0 0.0 0.0 + main.maxHamming Hopfield.Experiment 329 1 0.0 0.0 0.0 0.0 + .* Hopfield.Util 330 1 0.0 0.0 0.0 0.0 + main.minHamming Hopfield.Experiment 327 1 0.0 0.0 0.0 0.0 + .* Hopfield.Util 328 1 0.0 0.0 0.0 0.0 + main.dist Hopfield.Experiment 323 0 0.0 0.0 0.0 0.0 + hammingDistribution Hopfield.Measurement 324 1 0.0 0.0 0.0 0.0 + hammingDistribution.probs Hopfield.Measurement 332 1 0.0 0.0 0.0 0.0 + hammingDistribution.dist Hopfield.Measurement 331 1 0.0 0.0 0.0 0.0 + hammingDistribution.rs Hopfield.Measurement 326 1 0.0 0.0 0.0 0.0 + patternGen Hopfield.TestUtil 313 1 0.0 0.0 0.0 0.0 + toGenVector Hopfield.TestUtil 314 1 0.0 0.0 0.0 0.0 + main.maxDegree Hopfield.Experiment 295 1 0.0 0.0 0.0 0.0 + main.degrees Hopfield.Experiment 292 1 0.0 0.0 0.0 0.0 + powersOfTwo Hopfield.SuperAttractors 293 1 0.0 0.0 0.0 0.0 + main.n Hopfield.Experiment 283 1 0.0 0.0 0.0 0.0 + main.numRandoms Hopfield.Experiment 277 1 0.0 0.0 0.0 0.0 + genIO Hopfield.Experiment 275 1 0.0 0.0 0.0 0.0 + CAF Hopfield.TestUtil 269 0 0.0 0.0 0.0 0.0 + signGen Hopfield.TestUtil 337 1 0.0 0.0 0.0 0.0 + CAF Hopfield.ExpUtil 268 0 0.0 0.0 0.0 0.0 + doCheckFixed Hopfield.ExpUtil 379 0 0.0 0.0 0.0 0.0 + doCheckFixed.msg Hopfield.ExpUtil 380 0 0.0 0.0 0.0 0.0 + doHamming Hopfield.ExpUtil 305 0 0.0 0.0 0.0 0.0 + doHamming.msg Hopfield.ExpUtil 306 0 0.0 0.0 0.0 0.0 + doErrorProb.errorHeader Hopfield.ExpUtil 287 1 0.0 0.0 0.0 0.0 + doErrorProb Hopfield.ExpUtil 285 0 0.0 0.0 0.0 0.0 + doErrorProb.errorHeader Hopfield.ExpUtil 288 0 0.0 0.0 0.0 0.0 + CAF Hopfield.Hopfield 267 0 0.0 0.0 0.0 0.0 + getUpdatables_ Hopfield.Hopfield 447 0 0.0 0.0 0.0 0.0 + CAF Hopfield.Clusters 264 0 0.0 0.0 0.0 0.0 + experimentUsingT1NoAvg Hopfield.Clusters 384 0 0.0 0.0 0.0 0.0 + experimentUsingT1NoAvg.probabilities Hopfield.Clusters 385 1 0.0 0.0 0.0 0.0 + CAF Hopfield.SuperAttractors 261 0 0.0 0.0 0.0 0.0 + powersOfTwo Hopfield.SuperAttractors 294 0 0.0 0.0 0.0 0.0 + CAF Math.Combinatorics.Exact.Primes 214 0 0.0 0.0 0.0 0.0 + CAF System.Random 207 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Handle.FD 186 0 0.0 0.0 0.0 0.0 + CAF GHC.Conc.Signal 183 0 0.0 0.0 0.0 0.0 + CAF GHC.Float 179 0 0.0 0.0 0.0 0.0 + CAF GHC.Float.ConversionUtils 178 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Encoding 177 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Encoding.Iconv 176 0 0.0 0.0 0.0 0.0 + CAF GHC.Integer.Logarithms.Internals 144 0 0.0 0.0 0.0 0.0 diff --git a/notes/profiles/experiments.prof-50c8895-hebbian-20-10 b/notes/profiles/experiments.prof-50c8895-hebbian-20-10 new file mode 100644 index 0000000..9e08ba4 --- /dev/null +++ b/notes/profiles/experiments.prof-50c8895-hebbian-20-10 @@ -0,0 +1,232 @@ + Sat Jan 5 20:27 2013 Time and Allocation Profiling Report (Final) + + experiments +RTS -p -RTS + + total time = 77.18 secs (77184 ticks @ 1000 us, 1 processor) + total alloc = 121,317,420,048 bytes (excludes profiling overheads) + +COST CENTRE MODULE %time %alloc + +computeH_.cs Hopfield.Hopfield 31.9 38.2 +computeH_.weighted Hopfield.Hopfield 17.5 41.8 +computeH_.weighted.\ Hopfield.Hopfield 15.0 0.0 +randomElem Hopfield.Util 11.3 3.4 +*. Hopfield.Util 9.0 10.9 +computeH_ Hopfield.Hopfield 4.3 0.0 +shuffle Hopfield.Util 2.6 2.0 +validWeights Hopfield.Hopfield 2.1 0.4 +getUpdatables_ Hopfield.Hopfield 2.0 1.7 +getUpdatables_.new Hopfield.Hopfield 1.1 0.5 + + + individual inherited +COST CENTRE MODULE no. entries %time %alloc %time %alloc + +MAIN MAIN 136 0 0.0 0.0 100.0 100.0 + main Hopfield.Experiment 274 0 0.0 0.0 100.0 100.0 + experimentUsingT1NoAvg Hopfield.Clusters 383 0 0.0 0.0 99.7 99.9 + avgBasinsGivenPats Hopfield.Clusters 396 6 0.0 0.0 0.0 0.0 + avgBasinsGivenPats.hopfield Hopfield.Clusters 415 6 0.0 0.0 0.0 0.0 + buildHopfieldData Hopfield.Hopfield 416 6 0.0 0.0 0.0 0.0 + train Hopfield.Hopfield 420 6 0.0 0.0 0.0 0.0 + vector2D Hopfield.Util 423 6 0.0 0.0 0.0 0.0 + train.ws Hopfield.Hopfield 422 6 0.0 0.0 0.0 0.0 + ./. Hopfield.Util 426 2286 0.0 0.0 0.0 0.0 + train.w Hopfield.Hopfield 425 2400 0.0 0.0 0.0 0.0 + train.n Hopfield.Hopfield 421 6 0.0 0.0 0.0 0.0 + buildHopfieldData.trainingFunction Hopfield.Hopfield 419 6 0.0 0.0 0.0 0.0 + buildHopfieldData.\ Hopfield.Hopfield 418 60 0.0 0.0 0.0 0.0 + buildHopfieldData.first_len Hopfield.Hopfield 417 6 0.0 0.0 0.0 0.0 + measurePatternBasin Hopfield.Measurement 398 60 0.0 0.0 0.0 0.0 + samplePatternBasin Hopfield.Measurement 400 60 0.0 0.0 0.0 0.0 + samplePatternRing Hopfield.Measurement 403 1200 0.0 0.0 0.0 0.0 + repeatedUpdate Hopfield.Hopfield 411 1200 0.0 0.0 0.0 0.0 + sampleHammingDistance Hopfield.Measurement 405 1200 0.0 0.0 0.0 0.0 + sampleHammingDistance.multByPat Hopfield.Measurement 439 0 0.0 0.0 0.0 0.0 + sampleHammingDistance.n Hopfield.Measurement 436 1200 0.0 0.0 0.0 0.0 + sampleHammingDistance.basePerm Hopfield.Measurement 433 1200 0.0 0.0 0.0 0.0 + toArray Hopfield.Util 434 1200 0.0 0.0 0.0 0.0 + toArray.l Hopfield.Util 435 1200 0.0 0.0 0.0 0.0 + sampleHammingDistance.coeffSamples Hopfield.Measurement 407 1200 0.0 0.0 0.0 0.0 + shuffle Hopfield.Util 409 1200 0.0 0.0 0.0 0.0 + shuffle.len Hopfield.Util 432 1200 0.0 0.0 0.0 0.0 + shuffle.shuffledArray Hopfield.Util 431 0 0.0 0.0 0.0 0.0 + samplePatternBasin.n Hopfield.Measurement 401 60 0.0 0.0 0.0 0.0 + basinsGivenProbabilityT1 Hopfield.Clusters 387 0 0.0 0.0 99.6 99.9 + avgBasinsGivenPats Hopfield.Clusters 397 0 0.0 0.0 99.6 99.9 + average Hopfield.Util 460 6 0.0 0.0 0.0 0.0 + measurePatternBasin Hopfield.Measurement 399 0 0.0 0.0 99.6 99.9 + samplePatternBasin Hopfield.Measurement 402 0 0.0 0.0 99.6 99.9 + samplePatternRing Hopfield.Measurement 404 0 0.1 0.0 99.6 99.8 + ./. Hopfield.Util 462 164 0.0 0.0 0.0 0.0 + samplePatternRing.numConverging Hopfield.Measurement 461 164 0.0 0.0 0.0 0.0 + repeatedUpdate Hopfield.Hopfield 441 0 0.0 0.0 93.9 97.0 + repeatedUpdate_ Hopfield.Hopfield 442 120000 0.0 0.0 93.9 97.0 + repeatUntilNothing Hopfield.Util 443 1034565 0.5 0.1 93.9 97.0 + update_ Hopfield.Hopfield 444 1034565 0.5 0.1 93.4 96.9 + update_.flipAtIndex Hopfield.Hopfield 456 914565 0.7 0.2 0.8 0.3 + update_.flipAtIndex.\ Hopfield.Hopfield 458 914565 0.0 0.0 0.0 0.0 + update_.flipAtIndex.val Hopfield.Hopfield 457 914565 0.1 0.0 0.1 0.0 + randomElem Hopfield.Util 455 914565 11.3 3.4 11.3 3.4 + update_.updatables Hopfield.Hopfield 445 1034565 0.0 0.0 80.8 93.1 + getUpdatables_ Hopfield.Hopfield 446 1034565 2.0 1.7 80.7 93.1 + getUpdatables_.new Hopfield.Hopfield 448 20691300 1.1 0.5 78.7 91.4 + computeH_ Hopfield.Hopfield 450 20691300 4.3 0.0 77.6 90.9 + computeH_.cs Hopfield.Hopfield 452 20691300 31.8 38.2 31.8 38.2 + computeH_.weighted Hopfield.Hopfield 451 20691300 17.5 41.8 41.5 52.7 + computeH_.weighted.\ Hopfield.Hopfield 453 413826000 15.0 0.0 23.9 10.9 + *. Hopfield.Util 454 413826000 9.0 10.9 9.0 10.9 + computeH_.p Hopfield.Hopfield 449 20691300 0.0 0.0 0.0 0.0 + checkWsPat Hopfield.Hopfield 412 120000 0.0 0.0 2.0 0.4 + validWeightsPatternSize Hopfield.Hopfield 440 120000 0.0 0.0 0.0 0.0 + validPattern Hopfield.Hopfield 429 120000 0.1 0.0 0.1 0.0 + validWeights Hopfield.Hopfield 413 120000 1.9 0.4 1.9 0.4 + validWeights.\ Hopfield.Hopfield 424 2400000 0.0 0.0 0.0 0.0 + validWeights.n Hopfield.Hopfield 414 120000 0.0 0.0 0.0 0.0 + sampleHammingDistance Hopfield.Measurement 406 0 0.3 0.2 3.7 2.5 + sampleHammingDistance.multByPat Hopfield.Measurement 430 120000 0.2 0.2 0.2 0.2 + sampleHammingDistance.coeffSamples Hopfield.Measurement 408 0 0.0 0.0 3.1 2.0 + shuffle Hopfield.Util 410 0 2.6 2.0 3.1 2.0 + shuffle.shuffledArray Hopfield.Util 437 120000 0.3 0.0 0.5 0.0 + shuffle.shuffledArray.\ Hopfield.Util 438 2400000 0.1 0.0 0.1 0.0 + getCluster Hopfield.Clusters 392 6 0.0 0.0 0.0 0.0 + getPatternInCluster Hopfield.Clusters 393 6 0.0 0.0 0.0 0.0 + getPatternInCluster.transformBit Hopfield.Clusters 394 120 0.0 0.0 0.0 0.0 + getPatternInCluster.transformBit.bit Hopfield.Clusters 427 1200 0.0 0.0 0.0 0.0 + flipBit Hopfield.Common 459 91 0.0 0.0 0.0 0.0 + gibbsSampling Hopfield.Util 395 6 0.0 0.0 0.0 0.0 + randomSignVector Hopfield.Util 389 0 0.0 0.0 0.0 0.0 + randomSignVector.\ Hopfield.Util 428 120 0.0 0.0 0.0 0.0 + randomBinaryVector Hopfield.Util 391 0 0.0 0.0 0.0 0.0 + main.originIndex Hopfield.Experiment 352 1 0.0 0.0 0.0 0.0 + doCheckFixed Hopfield.ExpUtil 345 1 0.0 0.0 0.2 0.0 + prettyList Hopfield.Util 381 1 0.0 0.0 0.0 0.0 + doCheckFixed.msg Hopfield.ExpUtil 378 1 0.0 0.0 0.0 0.0 + doCheckFixed.patErrs Hopfield.ExpUtil 346 1 0.0 0.0 0.2 0.0 + checkFixed Hopfield.Measurement 353 6 0.0 0.0 0.2 0.0 + checkFixed.\ Hopfield.Measurement 354 460 0.0 0.0 0.2 0.0 + compTerm Hopfield.Measurement 355 460 0.0 0.0 0.2 0.0 + computeH Hopfield.Hopfield 357 460 0.0 0.0 0.2 0.0 + checkWsPat Hopfield.Hopfield 358 460 0.0 0.0 0.2 0.0 + computeH.\ Hopfield.Hopfield 371 460 0.0 0.0 0.0 0.0 + computeH_ Hopfield.Hopfield 373 460 0.0 0.0 0.0 0.0 + computeH_.cs Hopfield.Hopfield 375 460 0.0 0.0 0.0 0.0 + computeH_.weighted Hopfield.Hopfield 374 460 0.0 0.0 0.0 0.0 + computeH_.weighted.\ Hopfield.Hopfield 376 46000 0.0 0.0 0.0 0.0 + *. Hopfield.Util 377 46000 0.0 0.0 0.0 0.0 + computeH_.p Hopfield.Hopfield 372 460 0.0 0.0 0.0 0.0 + validWeightsPatternSize Hopfield.Hopfield 370 460 0.0 0.0 0.0 0.0 + validPattern Hopfield.Hopfield 369 460 0.0 0.0 0.0 0.0 + validWeights Hopfield.Hopfield 359 460 0.2 0.0 0.2 0.0 + validWeights.\ Hopfield.Hopfield 366 46000 0.0 0.0 0.0 0.0 + validWeights.n Hopfield.Hopfield 360 460 0.0 0.0 0.0 0.0 + compTerm.pat Hopfield.Measurement 356 6 0.0 0.0 0.0 0.0 + main.nets Hopfield.Experiment 343 1 0.0 0.0 0.1 0.1 + buildNetworks Hopfield.SuperAttractors 344 1 0.0 0.0 0.1 0.1 + oneSuperAttr Hopfield.SuperAttractors 349 6 0.0 0.0 0.0 0.0 + buildHopfieldData Hopfield.Hopfield 347 6 0.0 0.0 0.1 0.1 + train Hopfield.Hopfield 362 6 0.0 0.0 0.1 0.1 + vector2D Hopfield.Util 365 6 0.0 0.0 0.0 0.0 + train.ws Hopfield.Hopfield 364 6 0.0 0.0 0.1 0.1 + ./. Hopfield.Util 368 59406 0.0 0.0 0.0 0.0 + train.w Hopfield.Hopfield 367 60000 0.1 0.1 0.1 0.1 + train.n Hopfield.Hopfield 363 6 0.0 0.0 0.0 0.0 + buildHopfieldData.trainingFunction Hopfield.Hopfield 361 6 0.0 0.0 0.0 0.0 + buildHopfieldData.\ Hopfield.Hopfield 351 111 0.0 0.0 0.0 0.0 + buildHopfieldData.first_len Hopfield.Hopfield 350 6 0.0 0.0 0.0 0.0 + main.dist Hopfield.Experiment 322 1 0.0 0.0 0.0 0.0 + hammingDistribution Hopfield.Measurement 325 0 0.0 0.0 0.0 0.0 + patternGen Hopfield.TestUtil 315 0 0.0 0.0 0.0 0.0 + toGenVector Hopfield.TestUtil 316 0 0.0 0.0 0.0 0.0 + signGen Hopfield.TestUtil 338 0 0.0 0.0 0.0 0.0 + doHamming Hopfield.ExpUtil 303 1 0.0 0.0 0.0 0.0 + doHamming.n Hopfield.ExpUtil 342 1 0.0 0.0 0.0 0.0 + toPercents Hopfield.Util 340 1 0.0 0.0 0.0 0.0 + doHamming.hammingPct Hopfield.ExpUtil 339 1 0.0 0.0 0.0 0.0 + ./. Hopfield.Util 341 8 0.0 0.0 0.0 0.0 + doHamming.hammingDists Hopfield.ExpUtil 308 1 0.0 0.0 0.0 0.0 + hammingDistance Hopfield.Util 311 8 0.0 0.0 0.0 0.0 + hammingDistance.l2 Hopfield.Util 317 8 0.0 0.0 0.0 0.0 + hammingDistance.(...) Hopfield.Util 312 0 0.0 0.0 0.0 0.0 + hammingDistance.l1 Hopfield.Util 310 8 0.0 0.0 0.0 0.0 + hammingDistance.(...) Hopfield.Util 309 8 0.0 0.0 0.0 0.0 + prettyList Hopfield.Util 307 1 0.0 0.0 0.0 0.0 + doHamming.msg Hopfield.ExpUtil 304 1 0.0 0.0 0.0 0.0 + main.pats Hopfield.Experiment 300 1 0.0 0.0 0.0 0.0 + main.p Hopfield.Experiment 299 1 0.0 0.0 0.0 0.0 + doErrorProb Hopfield.ExpUtil 284 1 0.0 0.0 0.0 0.0 + doErrorProb.expErrs Hopfield.ExpUtil 298 1 0.0 0.0 0.0 0.0 + computeErrorSuperAttractorNumbers Hopfield.Analysis 301 6 0.0 0.0 0.0 0.0 + ./. Hopfield.Util 302 6 0.0 0.0 0.0 0.0 + packL Hopfield.Common 291 2 0.0 0.0 0.0 0.0 + pack Hopfield.Common 297 2 0.0 0.0 0.0 0.0 + attachLabels Hopfield.Util 286 1 0.0 0.0 0.0 0.0 + attachLabels.list Hopfield.Util 289 1 0.0 0.0 0.0 0.0 + attachLabel Hopfield.Util 290 2 0.0 0.0 0.0 0.0 + showsPrec Hopfield.Common 296 12 0.0 0.0 0.0 0.0 + sampleHammingRange Hopfield.Measurement 278 1 0.0 0.0 0.0 0.0 + sampleHammingDistance Hopfield.Measurement 280 8 0.0 0.0 0.0 0.0 + sampleHammingDistance.n Hopfield.Measurement 335 8 0.0 0.0 0.0 0.0 + sampleHammingDistance.basePerm Hopfield.Measurement 321 8 0.0 0.0 0.0 0.0 + toArray Hopfield.Util 333 8 0.0 0.0 0.0 0.0 + toArray.l Hopfield.Util 334 8 0.0 0.0 0.0 0.0 + sampleHammingDistance.multByPat Hopfield.Measurement 318 8 0.0 0.0 0.0 0.0 + sampleHammingDistance.coeffSamples Hopfield.Measurement 281 8 0.0 0.0 0.0 0.0 + shuffle Hopfield.Util 282 8 0.0 0.0 0.0 0.0 + shuffle.len Hopfield.Util 320 8 0.0 0.0 0.0 0.0 + shuffle.shuffledArray Hopfield.Util 319 8 0.0 0.0 0.0 0.0 + shuffle.shuffledArray.\ Hopfield.Util 336 800 0.0 0.0 0.0 0.0 + runT Hopfield.Util 279 1 0.0 0.0 0.0 0.0 + genIO Hopfield.Experiment 276 0 0.0 0.0 0.0 0.0 + CAF Main 271 0 0.0 0.0 0.0 0.0 + main Main 272 1 0.0 0.0 0.0 0.0 + CAF Hopfield.Experiment 270 0 0.0 0.0 0.0 0.0 + main Hopfield.Experiment 273 1 0.0 0.0 0.0 0.0 + experimentUsingT1NoAvg Hopfield.Clusters 382 1 0.0 0.0 0.0 0.0 + basinsGivenProbabilityT1 Hopfield.Clusters 386 6 0.0 0.0 0.0 0.0 + randomSignVector Hopfield.Util 388 6 0.0 0.0 0.0 0.0 + randomBinaryVector Hopfield.Util 390 6 0.0 0.0 0.0 0.0 + main.patCombiner Hopfield.Experiment 348 1 0.0 0.0 0.0 0.0 + main.maxHamming Hopfield.Experiment 329 1 0.0 0.0 0.0 0.0 + .* Hopfield.Util 330 1 0.0 0.0 0.0 0.0 + main.minHamming Hopfield.Experiment 327 1 0.0 0.0 0.0 0.0 + .* Hopfield.Util 328 1 0.0 0.0 0.0 0.0 + main.dist Hopfield.Experiment 323 0 0.0 0.0 0.0 0.0 + hammingDistribution Hopfield.Measurement 324 1 0.0 0.0 0.0 0.0 + hammingDistribution.probs Hopfield.Measurement 332 1 0.0 0.0 0.0 0.0 + hammingDistribution.dist Hopfield.Measurement 331 1 0.0 0.0 0.0 0.0 + hammingDistribution.rs Hopfield.Measurement 326 1 0.0 0.0 0.0 0.0 + patternGen Hopfield.TestUtil 313 1 0.0 0.0 0.0 0.0 + toGenVector Hopfield.TestUtil 314 1 0.0 0.0 0.0 0.0 + main.maxDegree Hopfield.Experiment 295 1 0.0 0.0 0.0 0.0 + main.degrees Hopfield.Experiment 292 1 0.0 0.0 0.0 0.0 + powersOfTwo Hopfield.SuperAttractors 293 1 0.0 0.0 0.0 0.0 + main.n Hopfield.Experiment 283 1 0.0 0.0 0.0 0.0 + main.numRandoms Hopfield.Experiment 277 1 0.0 0.0 0.0 0.0 + genIO Hopfield.Experiment 275 1 0.0 0.0 0.0 0.0 + CAF Hopfield.TestUtil 269 0 0.0 0.0 0.0 0.0 + signGen Hopfield.TestUtil 337 1 0.0 0.0 0.0 0.0 + CAF Hopfield.ExpUtil 268 0 0.0 0.0 0.0 0.0 + doCheckFixed Hopfield.ExpUtil 379 0 0.0 0.0 0.0 0.0 + doCheckFixed.msg Hopfield.ExpUtil 380 0 0.0 0.0 0.0 0.0 + doHamming Hopfield.ExpUtil 305 0 0.0 0.0 0.0 0.0 + doHamming.msg Hopfield.ExpUtil 306 0 0.0 0.0 0.0 0.0 + doErrorProb.errorHeader Hopfield.ExpUtil 287 1 0.0 0.0 0.0 0.0 + doErrorProb Hopfield.ExpUtil 285 0 0.0 0.0 0.0 0.0 + doErrorProb.errorHeader Hopfield.ExpUtil 288 0 0.0 0.0 0.0 0.0 + CAF Hopfield.Hopfield 267 0 0.0 0.0 0.0 0.0 + getUpdatables_ Hopfield.Hopfield 447 0 0.0 0.0 0.0 0.0 + CAF Hopfield.Clusters 264 0 0.0 0.0 0.0 0.0 + experimentUsingT1NoAvg Hopfield.Clusters 384 0 0.0 0.0 0.0 0.0 + experimentUsingT1NoAvg.probabilities Hopfield.Clusters 385 1 0.0 0.0 0.0 0.0 + CAF Hopfield.SuperAttractors 261 0 0.0 0.0 0.0 0.0 + powersOfTwo Hopfield.SuperAttractors 294 0 0.0 0.0 0.0 0.0 + CAF Math.Combinatorics.Exact.Primes 214 0 0.0 0.0 0.0 0.0 + CAF System.Random 207 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Handle.FD 186 0 0.0 0.0 0.0 0.0 + CAF GHC.Conc.Signal 183 0 0.0 0.0 0.0 0.0 + CAF GHC.Float 179 0 0.0 0.0 0.0 0.0 + CAF GHC.Float.ConversionUtils 178 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Encoding 177 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Encoding.Iconv 176 0 0.0 0.0 0.0 0.0 + CAF GHC.Integer.Logarithms.Internals 144 0 0.0 0.0 0.0 0.0 diff --git a/notes/profiles/experiments.prof-d52f98c-print-03569BJNRXZgikmsevalRand-(experimentUsingT1NoAvg-Hebbian-20-10)-(mkStdGen-1) b/notes/profiles/experiments.prof-d52f98c-print-03569BJNRXZgikmsevalRand-(experimentUsingT1NoAvg-Hebbian-20-10)-(mkStdGen-1) new file mode 100644 index 0000000..b12b4d0 --- /dev/null +++ b/notes/profiles/experiments.prof-d52f98c-print-03569BJNRXZgikmsevalRand-(experimentUsingT1NoAvg-Hebbian-20-10)-(mkStdGen-1) @@ -0,0 +1,211 @@ + Sat Jan 5 20:12 2013 Time and Allocation Profiling Report (Final) + + experiments +RTS -p -RTS + + total time = 47.96 secs (47959 ticks @ 1000 us, 1 processor) + total alloc = 77,157,514,760 bytes (excludes profiling overheads) + +COST CENTRE MODULE %time %alloc + +computeH_.weighted Hopfield 41.2 62.7 +randomElem Util 21.2 6.2 +*. Util 14.7 16.3 +update_.flipAtIndex Hopfield 4.9 6.2 +shuffle Util 4.0 3.1 +validWeights Hopfield 3.5 0.6 +getUpdatables_ Hopfield 2.6 2.5 +getUpdatables_.new Hopfield 2.1 0.8 +computeH_ Hopfield 1.0 0.0 + + + individual inherited +COST CENTRE MODULE no. entries %time %alloc %time %alloc + +MAIN MAIN 134 0 0.0 0.0 100.0 100.0 + main Main 269 0 0.0 0.0 0.6 0.2 + main.originIndex Main 347 1 0.0 0.0 0.0 0.0 + doCheckFixed ExpUtil 340 1 0.0 0.0 0.3 0.0 + prettyList Util 374 1 0.0 0.0 0.0 0.0 + doCheckFixed.msg ExpUtil 371 1 0.0 0.0 0.0 0.0 + doCheckFixed.patErrs ExpUtil 341 1 0.0 0.0 0.3 0.0 + checkFixed Measurement 348 6 0.0 0.0 0.3 0.0 + checkFixed.\ Measurement 349 503 0.0 0.0 0.3 0.0 + compTerm Measurement 350 503 0.0 0.0 0.3 0.0 + computeH Hopfield 352 503 0.0 0.0 0.3 0.0 + checkWsPat Hopfield 353 503 0.0 0.0 0.3 0.0 + computeH.\ Hopfield 366 503 0.0 0.0 0.0 0.0 + computeH_ Hopfield 368 503 0.0 0.0 0.0 0.0 + computeH_.weighted Hopfield 369 503 0.0 0.0 0.0 0.0 + *. Util 370 50300 0.0 0.0 0.0 0.0 + computeH_.p Hopfield 367 503 0.0 0.0 0.0 0.0 + validWeightsPatternSize Hopfield 365 503 0.0 0.0 0.0 0.0 + validPattern Hopfield 364 503 0.0 0.0 0.0 0.0 + validWeights Hopfield 354 503 0.3 0.0 0.3 0.0 + validWeights.\ Hopfield 361 50300 0.0 0.0 0.0 0.0 + validWeights.n Hopfield 355 503 0.0 0.0 0.0 0.0 + compTerm.pat Measurement 351 6 0.0 0.0 0.0 0.0 + main.nets Main 338 1 0.0 0.0 0.2 0.2 + buildNetworks SuperAttractors 339 1 0.0 0.0 0.2 0.2 + oneSuperAttr SuperAttractors 344 6 0.0 0.0 0.0 0.0 + buildHopfieldData Hopfield 342 6 0.0 0.0 0.2 0.2 + train Hopfield 357 6 0.0 0.0 0.2 0.2 + vector2D Util 360 6 0.0 0.0 0.0 0.0 + train.ws Hopfield 359 6 0.0 0.0 0.2 0.2 + ./. Util 363 59406 0.0 0.0 0.0 0.0 + train.w Hopfield 362 60000 0.2 0.2 0.2 0.2 + train.n Hopfield 358 6 0.0 0.0 0.0 0.0 + buildHopfieldData.trainingFunction Hopfield 356 6 0.0 0.0 0.0 0.0 + buildHopfieldData.\ Hopfield 346 111 0.0 0.0 0.0 0.0 + buildHopfieldData.first_len Hopfield 345 6 0.0 0.0 0.0 0.0 + main.dist Main 317 1 0.0 0.0 0.0 0.0 + hammingDistribution Measurement 320 0 0.0 0.0 0.0 0.0 + patternGen Utils 310 0 0.0 0.0 0.0 0.0 + toGenVector Utils 311 0 0.0 0.0 0.0 0.0 + signGen Utils 333 0 0.0 0.0 0.0 0.0 + doHamming ExpUtil 298 1 0.0 0.0 0.0 0.0 + doHamming.n ExpUtil 337 1 0.0 0.0 0.0 0.0 + toPercents Util 335 1 0.0 0.0 0.0 0.0 + doHamming.hammingPct ExpUtil 334 1 0.0 0.0 0.0 0.0 + ./. Util 336 8 0.0 0.0 0.0 0.0 + doHamming.hammingDists ExpUtil 303 1 0.0 0.0 0.0 0.0 + hammingDistance Util 306 8 0.0 0.0 0.0 0.0 + hammingDistance.l2 Util 312 8 0.0 0.0 0.0 0.0 + hammingDistance.(...) Util 307 0 0.0 0.0 0.0 0.0 + hammingDistance.l1 Util 305 8 0.0 0.0 0.0 0.0 + hammingDistance.(...) Util 304 8 0.0 0.0 0.0 0.0 + prettyList Util 302 1 0.0 0.0 0.0 0.0 + doHamming.msg ExpUtil 299 1 0.0 0.0 0.0 0.0 + main.pats Main 295 1 0.0 0.0 0.0 0.0 + main.p Main 294 1 0.0 0.0 0.0 0.0 + doErrorProb ExpUtil 279 1 0.0 0.0 0.0 0.0 + doErrorProb.expErrs ExpUtil 293 1 0.0 0.0 0.0 0.0 + computeErrorSuperAttractorNumbers Analysis 296 6 0.0 0.0 0.0 0.0 + ./. Util 297 6 0.0 0.0 0.0 0.0 + packL Common 286 2 0.0 0.0 0.0 0.0 + pack Common 292 2 0.0 0.0 0.0 0.0 + attachLabels Util 281 1 0.0 0.0 0.0 0.0 + attachLabels.list Util 284 1 0.0 0.0 0.0 0.0 + attachLabel Util 285 2 0.0 0.0 0.0 0.0 + showsPrec Common 291 12 0.0 0.0 0.0 0.0 + sampleHammingRange Measurement 273 1 0.0 0.0 0.0 0.0 + sampleHammingDistance Measurement 275 8 0.0 0.0 0.0 0.0 + sampleHammingDistance.n Measurement 330 8 0.0 0.0 0.0 0.0 + sampleHammingDistance.basePerm Measurement 316 8 0.0 0.0 0.0 0.0 + toArray Util 328 8 0.0 0.0 0.0 0.0 + toArray.l Util 329 8 0.0 0.0 0.0 0.0 + sampleHammingDistance.multByPat Measurement 313 8 0.0 0.0 0.0 0.0 + sampleHammingDistance.coeffSamples Measurement 276 8 0.0 0.0 0.0 0.0 + shuffle Util 277 8 0.0 0.0 0.0 0.0 + shuffle.len Util 315 8 0.0 0.0 0.0 0.0 + shuffle.shuffledArray Util 314 8 0.0 0.0 0.0 0.0 + shuffle.shuffledArray.\ Util 331 800 0.0 0.0 0.0 0.0 + runT Util 274 1 0.0 0.0 0.0 0.0 + genIO Main 271 0 0.0 0.0 0.0 0.0 + CAF Main 267 0 0.0 0.0 99.4 99.8 + main Main 268 1 0.0 0.0 99.4 99.8 + experimentUsingT1NoAvg Clusters 375 1 0.0 0.0 99.4 99.8 + basinsGivenProbabilityT1 Clusters 378 6 0.0 0.0 99.4 99.8 + randomSignVector Util 384 6 0.0 0.0 0.0 0.0 + randomSignVector.\ Util 411 120 0.0 0.0 0.0 0.0 + randomBinaryVector Util 385 6 0.0 0.0 0.0 0.0 + getCluster Clusters 381 6 0.0 0.0 0.0 0.0 + getPatternInCluster Clusters 383 6 0.0 0.0 0.0 0.0 + getPatternInCluster.transformBit Clusters 408 120 0.0 0.0 0.0 0.0 + gibbsSampling Util 410 6 0.0 0.0 0.0 0.0 + getPatternInCluster.transformBit.bit Clusters 409 1200 0.0 0.0 0.0 0.0 + flipBit Common 439 89 0.0 0.0 0.0 0.0 + avgBasinsGivenPats Clusters 379 6 0.0 0.0 99.4 99.8 + avgBasinsGivenPats.hopfield Clusters 396 6 0.0 0.0 0.0 0.0 + buildHopfieldData Hopfield 397 6 0.0 0.0 0.0 0.0 + train Hopfield 401 6 0.0 0.0 0.0 0.0 + vector2D Util 404 6 0.0 0.0 0.0 0.0 + train.ws Hopfield 403 6 0.0 0.0 0.0 0.0 + ./. Util 407 2286 0.0 0.0 0.0 0.0 + train.w Hopfield 406 2400 0.0 0.0 0.0 0.0 + train.n Hopfield 402 6 0.0 0.0 0.0 0.0 + buildHopfieldData.trainingFunction Hopfield 400 6 0.0 0.0 0.0 0.0 + buildHopfieldData.\ Hopfield 399 60 0.0 0.0 0.0 0.0 + buildHopfieldData.first_len Hopfield 398 6 0.0 0.0 0.0 0.0 + measurePatternBasin Measurement 382 60 0.0 0.0 99.4 99.8 + samplePatternBasin Measurement 386 60 0.0 0.0 99.4 99.8 + samplePatternRing Measurement 388 1181 0.1 0.1 99.4 99.8 + ./. Util 438 160 0.0 0.0 0.0 0.0 + checkWsPat Hopfield 393 118100 0.1 0.0 93.7 95.8 + repeatedUpdate Hopfield 423 0 0.0 0.0 90.4 95.3 + repeatedUpdate_ Hopfield 424 118100 0.0 0.0 90.4 95.3 + repeatUntilNothing Util 425 981284 0.9 0.3 90.4 95.2 + update_ Hopfield 426 981284 0.9 0.3 89.5 95.0 + randomElem Util 437 863184 21.2 6.2 21.2 6.2 + update_.flipAtIndex Hopfield 435 863184 4.9 6.2 5.8 6.2 + update_.valueAtIndex Hopfield 436 17263680 0.9 0.0 0.9 0.0 + update_.updatables Hopfield 427 981284 0.0 0.0 61.6 82.3 + getUpdatables_ Hopfield 428 981284 2.6 2.5 61.6 82.3 + getUpdatables_.new Hopfield 430 19625680 2.1 0.8 59.0 79.8 + computeH_ Hopfield 432 19625680 1.0 0.0 56.9 79.0 + computeH_.weighted Hopfield 433 19625680 41.1 62.7 55.8 79.0 + *. Util 434 392513600 14.7 16.3 14.7 16.3 + computeH_.p Hopfield 431 19625680 0.0 0.0 0.0 0.0 + validWeightsPatternSize Hopfield 422 118100 0.0 0.0 0.0 0.0 + validPattern Hopfield 412 118100 0.1 0.0 0.1 0.0 + validWeights Hopfield 394 118100 3.1 0.6 3.1 0.6 + validWeights.\ Hopfield 405 2362000 0.0 0.0 0.0 0.0 + validWeights.n Hopfield 395 118100 0.0 0.0 0.0 0.0 + repeatedUpdate Hopfield 392 1181 0.0 0.0 0.0 0.0 + sampleHammingDistance Measurement 390 1181 0.4 0.3 5.5 3.9 + sampleHammingDistance.n Measurement 420 1181 0.0 0.0 0.0 0.0 + sampleHammingDistance.basePerm Measurement 417 1181 0.0 0.0 0.0 0.0 + toArray Util 418 1181 0.0 0.0 0.0 0.0 + toArray.l Util 419 1181 0.0 0.0 0.0 0.0 + sampleHammingDistance.multByPat Measurement 413 118100 0.3 0.4 0.3 0.4 + sampleHammingDistance.coeffSamples Measurement 391 1181 0.1 0.0 4.8 3.2 + shuffle Util 414 1181 4.0 3.1 4.7 3.2 + shuffle.len Util 416 1181 0.0 0.0 0.0 0.0 + shuffle.shuffledArray Util 415 118100 0.6 0.1 0.8 0.1 + shuffle.shuffledArray.\ Util 421 2362000 0.2 0.0 0.2 0.0 + samplePatternRing.numConverging Measurement 389 160 0.0 0.0 0.0 0.0 + samplePatternBasin.n Measurement 387 60 0.0 0.0 0.0 0.0 + average Util 380 6 0.0 0.0 0.0 0.0 + main.patCombiner Main 343 1 0.0 0.0 0.0 0.0 + main.maxHamming Main 324 1 0.0 0.0 0.0 0.0 + .* Util 325 1 0.0 0.0 0.0 0.0 + main.minHamming Main 322 1 0.0 0.0 0.0 0.0 + .* Util 323 1 0.0 0.0 0.0 0.0 + main.dist Main 318 0 0.0 0.0 0.0 0.0 + hammingDistribution Measurement 319 1 0.0 0.0 0.0 0.0 + hammingDistribution.probs Measurement 327 1 0.0 0.0 0.0 0.0 + hammingDistribution.dist Measurement 326 1 0.0 0.0 0.0 0.0 + hammingDistribution.rs Measurement 321 1 0.0 0.0 0.0 0.0 + patternGen Utils 308 1 0.0 0.0 0.0 0.0 + toGenVector Utils 309 1 0.0 0.0 0.0 0.0 + main.maxDegree Main 290 1 0.0 0.0 0.0 0.0 + main.degrees Main 287 1 0.0 0.0 0.0 0.0 + powersOfTwo SuperAttractors 288 1 0.0 0.0 0.0 0.0 + main.n Main 278 1 0.0 0.0 0.0 0.0 + main.numRandoms Main 272 1 0.0 0.0 0.0 0.0 + genIO Main 270 1 0.0 0.0 0.0 0.0 + CAF ExpUtil 265 0 0.0 0.0 0.0 0.0 + doCheckFixed ExpUtil 372 0 0.0 0.0 0.0 0.0 + doCheckFixed.msg ExpUtil 373 0 0.0 0.0 0.0 0.0 + doHamming ExpUtil 300 0 0.0 0.0 0.0 0.0 + doHamming.msg ExpUtil 301 0 0.0 0.0 0.0 0.0 + doErrorProb.errorHeader ExpUtil 282 1 0.0 0.0 0.0 0.0 + doErrorProb ExpUtil 280 0 0.0 0.0 0.0 0.0 + doErrorProb.errorHeader ExpUtil 283 0 0.0 0.0 0.0 0.0 + CAF Hopfield 264 0 0.0 0.0 0.0 0.0 + getUpdatables_ Hopfield 429 0 0.0 0.0 0.0 0.0 + CAF SuperAttractors 262 0 0.0 0.0 0.0 0.0 + powersOfTwo SuperAttractors 289 0 0.0 0.0 0.0 0.0 + CAF Utils 260 0 0.0 0.0 0.0 0.0 + signGen Utils 332 1 0.0 0.0 0.0 0.0 + CAF Clusters 259 0 0.0 0.0 0.0 0.0 + experimentUsingT1NoAvg Clusters 376 0 0.0 0.0 0.0 0.0 + experimentUsingT1NoAvg.probabilities Clusters 377 1 0.0 0.0 0.0 0.0 + CAF Math.Combinatorics.Exact.Primes 212 0 0.0 0.0 0.0 0.0 + CAF System.Random 205 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Handle.FD 184 0 0.0 0.0 0.0 0.0 + CAF GHC.Conc.Signal 181 0 0.0 0.0 0.0 0.0 + CAF GHC.Float 177 0 0.0 0.0 0.0 0.0 + CAF GHC.Float.ConversionUtils 176 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Encoding 175 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Encoding.Iconv 174 0 0.0 0.0 0.0 0.0 + CAF GHC.Integer.Logarithms.Internals 142 0 0.0 0.0 0.0 0.0 diff --git a/notes/profiles/experiments.prof-d52f98c-print-=<<-experimentUsingT1NoAvg-Hebbian-20-10 b/notes/profiles/experiments.prof-d52f98c-print-=<<-experimentUsingT1NoAvg-Hebbian-20-10 new file mode 100644 index 0000000..dbbdb24 --- /dev/null +++ b/notes/profiles/experiments.prof-d52f98c-print-=<<-experimentUsingT1NoAvg-Hebbian-20-10 @@ -0,0 +1,221 @@ + Sat Jan 5 20:15 2013 Time and Allocation Profiling Report (Final) + + experiments +RTS -p -RTS + + total time = 44.78 secs (44776 ticks @ 1000 us, 1 processor) + total alloc = 74,817,005,472 bytes (excludes profiling overheads) + +COST CENTRE MODULE %time %alloc + +computeH_.weighted Hopfield 43.7 63.5 +randomElem Util 17.2 5.2 +*. Util 15.2 16.5 +update_.flipAtIndex Hopfield 5.1 6.2 +shuffle Util 4.2 3.2 +validWeights Hopfield 3.6 0.6 +getUpdatables_ Hopfield 3.1 2.6 +getUpdatables_.new Hopfield 2.2 0.8 +computeH_ Hopfield 1.1 0.0 + + + individual inherited +COST CENTRE MODULE no. entries %time %alloc %time %alloc + +MAIN MAIN 134 0 0.0 0.0 100.0 100.0 + main Main 269 0 0.0 0.0 100.0 100.0 + experimentUsingT1NoAvg Clusters 373 0 0.0 0.0 99.4 99.8 + avgBasinsGivenPats Clusters 386 6 0.0 0.0 0.1 0.0 + avgBasinsGivenPats.hopfield Clusters 405 6 0.0 0.0 0.0 0.0 + buildHopfieldData Hopfield 406 6 0.0 0.0 0.0 0.0 + train Hopfield 410 6 0.0 0.0 0.0 0.0 + vector2D Util 413 6 0.0 0.0 0.0 0.0 + train.ws Hopfield 412 6 0.0 0.0 0.0 0.0 + ./. Util 416 2286 0.0 0.0 0.0 0.0 + train.w Hopfield 415 2400 0.0 0.0 0.0 0.0 + train.n Hopfield 411 6 0.0 0.0 0.0 0.0 + buildHopfieldData.trainingFunction Hopfield 409 6 0.0 0.0 0.0 0.0 + buildHopfieldData.\ Hopfield 408 60 0.0 0.0 0.0 0.0 + buildHopfieldData.first_len Hopfield 407 6 0.0 0.0 0.0 0.0 + measurePatternBasin Measurement 388 60 0.0 0.0 0.1 0.0 + samplePatternBasin Measurement 390 60 0.0 0.0 0.1 0.0 + samplePatternRing Measurement 393 1200 0.0 0.0 0.1 0.0 + repeatedUpdate Hopfield 401 1200 0.0 0.0 0.0 0.0 + sampleHammingDistance Measurement 395 1200 0.0 0.0 0.0 0.0 + sampleHammingDistance.multByPat Measurement 429 0 0.0 0.0 0.0 0.0 + sampleHammingDistance.n Measurement 426 1200 0.0 0.0 0.0 0.0 + sampleHammingDistance.basePerm Measurement 423 1200 0.0 0.0 0.0 0.0 + toArray Util 424 1200 0.0 0.0 0.0 0.0 + toArray.l Util 425 1200 0.0 0.0 0.0 0.0 + sampleHammingDistance.coeffSamples Measurement 397 1200 0.0 0.0 0.0 0.0 + shuffle Util 399 1200 0.0 0.0 0.0 0.0 + shuffle.len Util 422 1200 0.0 0.0 0.0 0.0 + shuffle.shuffledArray Util 421 0 0.0 0.0 0.0 0.0 + samplePatternBasin.n Measurement 391 60 0.0 0.0 0.0 0.0 + basinsGivenProbabilityT1 Clusters 377 0 0.0 0.0 99.3 99.8 + avgBasinsGivenPats Clusters 387 0 0.0 0.0 99.3 99.8 + average Util 447 6 0.0 0.0 0.0 0.0 + measurePatternBasin Measurement 389 0 0.0 0.0 99.3 99.8 + samplePatternBasin Measurement 392 0 0.1 0.0 99.3 99.8 + samplePatternRing Measurement 394 0 0.1 0.0 99.2 99.7 + ./. Util 449 168 0.0 0.0 0.0 0.0 + samplePatternRing.numConverging Measurement 448 168 0.0 0.0 0.0 0.0 + repeatedUpdate Hopfield 431 0 0.0 0.0 89.9 95.2 + repeatedUpdate_ Hopfield 432 120000 0.0 0.0 89.9 95.2 + repeatUntilNothing Util 433 963429 0.7 0.1 89.9 95.1 + update_ Hopfield 434 963429 0.7 0.2 89.1 95.0 + update_.flipAtIndex Hopfield 444 843429 5.1 6.2 6.0 6.2 + update_.valueAtIndex Hopfield 445 16868580 0.9 0.0 0.9 0.0 + randomElem Util 443 843429 17.2 5.2 17.2 5.2 + update_.updatables Hopfield 435 963429 0.0 0.0 65.2 83.4 + getUpdatables_ Hopfield 436 963429 3.1 2.6 65.2 83.4 + getUpdatables_.new Hopfield 438 19268580 2.2 0.8 62.1 80.8 + computeH_ Hopfield 440 19268580 1.1 0.0 60.0 79.9 + computeH_.weighted Hopfield 441 19268580 43.7 63.5 58.9 79.9 + *. Util 442 385371600 15.2 16.5 15.2 16.5 + computeH_.p Hopfield 439 19268580 0.0 0.0 0.0 0.0 + checkWsPat Hopfield 402 120000 0.1 0.0 3.4 0.6 + validWeightsPatternSize Hopfield 430 120000 0.0 0.0 0.0 0.0 + validPattern Hopfield 419 120000 0.1 0.0 0.1 0.0 + validWeights Hopfield 403 120000 3.2 0.6 3.2 0.6 + validWeights.\ Hopfield 414 2400000 0.0 0.0 0.0 0.0 + validWeights.n Hopfield 404 120000 0.0 0.0 0.0 0.0 + sampleHammingDistance Measurement 396 0 0.5 0.3 5.8 4.0 + sampleHammingDistance.multByPat Measurement 420 120000 0.3 0.4 0.3 0.4 + sampleHammingDistance.coeffSamples Measurement 398 0 0.0 0.0 5.0 3.3 + shuffle Util 400 0 4.2 3.2 5.0 3.2 + shuffle.shuffledArray Util 427 120000 0.5 0.1 0.8 0.1 + shuffle.shuffledArray.\ Util 428 2400000 0.2 0.0 0.2 0.0 + getCluster Clusters 382 6 0.0 0.0 0.0 0.0 + getPatternInCluster Clusters 383 6 0.0 0.0 0.0 0.0 + getPatternInCluster.transformBit Clusters 384 120 0.0 0.0 0.0 0.0 + getPatternInCluster.transformBit.bit Clusters 417 1200 0.0 0.0 0.0 0.0 + flipBit Common 446 88 0.0 0.0 0.0 0.0 + gibbsSampling Util 385 6 0.0 0.0 0.0 0.0 + randomSignVector Util 379 0 0.0 0.0 0.0 0.0 + randomSignVector.\ Util 418 120 0.0 0.0 0.0 0.0 + randomBinaryVector Util 381 0 0.0 0.0 0.0 0.0 + main.originIndex Main 347 1 0.0 0.0 0.0 0.0 + doCheckFixed ExpUtil 340 1 0.0 0.0 0.4 0.0 + doCheckFixed.patErrs ExpUtil 341 1 0.0 0.0 0.4 0.0 + checkFixed Measurement 348 6 0.0 0.0 0.4 0.0 + checkFixed.\ Measurement 349 600 0.0 0.0 0.4 0.0 + compTerm Measurement 350 600 0.0 0.0 0.4 0.0 + computeH Hopfield 352 600 0.0 0.0 0.4 0.0 + checkWsPat Hopfield 353 600 0.0 0.0 0.4 0.0 + computeH.\ Hopfield 366 600 0.0 0.0 0.0 0.0 + computeH_ Hopfield 368 600 0.0 0.0 0.0 0.0 + computeH_.weighted Hopfield 369 600 0.0 0.0 0.0 0.0 + *. Util 370 60000 0.0 0.0 0.0 0.0 + computeH_.p Hopfield 367 600 0.0 0.0 0.0 0.0 + validWeightsPatternSize Hopfield 365 600 0.0 0.0 0.0 0.0 + validPattern Hopfield 364 600 0.0 0.0 0.0 0.0 + validWeights Hopfield 354 600 0.4 0.0 0.4 0.0 + validWeights.\ Hopfield 361 60000 0.0 0.0 0.0 0.0 + validWeights.n Hopfield 355 600 0.0 0.0 0.0 0.0 + compTerm.pat Measurement 351 6 0.0 0.0 0.0 0.0 + main.nets Main 338 1 0.0 0.0 0.2 0.2 + buildNetworks SuperAttractors 339 1 0.0 0.0 0.2 0.2 + oneSuperAttr SuperAttractors 344 6 0.0 0.0 0.0 0.0 + buildHopfieldData Hopfield 342 6 0.0 0.0 0.2 0.2 + train Hopfield 357 6 0.0 0.0 0.2 0.2 + vector2D Util 360 6 0.0 0.0 0.0 0.0 + train.ws Hopfield 359 6 0.0 0.0 0.2 0.2 + ./. Util 363 59406 0.0 0.0 0.0 0.0 + train.w Hopfield 362 60000 0.2 0.2 0.2 0.2 + train.n Hopfield 358 6 0.0 0.0 0.0 0.0 + buildHopfieldData.trainingFunction Hopfield 356 6 0.0 0.0 0.0 0.0 + buildHopfieldData.\ Hopfield 346 111 0.0 0.0 0.0 0.0 + buildHopfieldData.first_len Hopfield 345 6 0.0 0.0 0.0 0.0 + main.dist Main 317 1 0.0 0.0 0.0 0.0 + hammingDistribution Measurement 320 0 0.0 0.0 0.0 0.0 + patternGen Utils 310 0 0.0 0.0 0.0 0.0 + toGenVector Utils 311 0 0.0 0.0 0.0 0.0 + signGen Utils 333 0 0.0 0.0 0.0 0.0 + doHamming ExpUtil 298 1 0.0 0.0 0.0 0.0 + doHamming.n ExpUtil 337 1 0.0 0.0 0.0 0.0 + toPercents Util 335 1 0.0 0.0 0.0 0.0 + doHamming.hammingPct ExpUtil 334 1 0.0 0.0 0.0 0.0 + ./. Util 336 8 0.0 0.0 0.0 0.0 + doHamming.hammingDists ExpUtil 303 1 0.0 0.0 0.0 0.0 + hammingDistance Util 306 8 0.0 0.0 0.0 0.0 + hammingDistance.l2 Util 312 8 0.0 0.0 0.0 0.0 + hammingDistance.(...) Util 307 0 0.0 0.0 0.0 0.0 + hammingDistance.l1 Util 305 8 0.0 0.0 0.0 0.0 + hammingDistance.(...) Util 304 8 0.0 0.0 0.0 0.0 + prettyList Util 302 1 0.0 0.0 0.0 0.0 + doHamming.msg ExpUtil 299 1 0.0 0.0 0.0 0.0 + main.pats Main 295 1 0.0 0.0 0.0 0.0 + main.p Main 294 1 0.0 0.0 0.0 0.0 + doErrorProb ExpUtil 279 1 0.0 0.0 0.0 0.0 + doErrorProb.expErrs ExpUtil 293 1 0.0 0.0 0.0 0.0 + computeErrorSuperAttractorNumbers Analysis 296 6 0.0 0.0 0.0 0.0 + ./. Util 297 6 0.0 0.0 0.0 0.0 + packL Common 286 2 0.0 0.0 0.0 0.0 + pack Common 292 2 0.0 0.0 0.0 0.0 + attachLabels Util 281 1 0.0 0.0 0.0 0.0 + attachLabels.list Util 284 1 0.0 0.0 0.0 0.0 + attachLabel Util 285 2 0.0 0.0 0.0 0.0 + showsPrec Common 291 12 0.0 0.0 0.0 0.0 + sampleHammingRange Measurement 273 1 0.0 0.0 0.0 0.0 + sampleHammingDistance Measurement 275 8 0.0 0.0 0.0 0.0 + sampleHammingDistance.n Measurement 330 8 0.0 0.0 0.0 0.0 + sampleHammingDistance.basePerm Measurement 316 8 0.0 0.0 0.0 0.0 + toArray Util 328 8 0.0 0.0 0.0 0.0 + toArray.l Util 329 8 0.0 0.0 0.0 0.0 + sampleHammingDistance.multByPat Measurement 313 8 0.0 0.0 0.0 0.0 + sampleHammingDistance.coeffSamples Measurement 276 8 0.0 0.0 0.0 0.0 + shuffle Util 277 8 0.0 0.0 0.0 0.0 + shuffle.len Util 315 8 0.0 0.0 0.0 0.0 + shuffle.shuffledArray Util 314 8 0.0 0.0 0.0 0.0 + shuffle.shuffledArray.\ Util 331 800 0.0 0.0 0.0 0.0 + runT Util 274 1 0.0 0.0 0.0 0.0 + genIO Main 271 0 0.0 0.0 0.0 0.0 + CAF Main 267 0 0.0 0.0 0.0 0.0 + main Main 268 1 0.0 0.0 0.0 0.0 + experimentUsingT1NoAvg Clusters 372 1 0.0 0.0 0.0 0.0 + basinsGivenProbabilityT1 Clusters 376 6 0.0 0.0 0.0 0.0 + randomSignVector Util 378 6 0.0 0.0 0.0 0.0 + randomBinaryVector Util 380 6 0.0 0.0 0.0 0.0 + main.patCombiner Main 343 1 0.0 0.0 0.0 0.0 + main.maxHamming Main 324 1 0.0 0.0 0.0 0.0 + .* Util 325 1 0.0 0.0 0.0 0.0 + main.minHamming Main 322 1 0.0 0.0 0.0 0.0 + .* Util 323 1 0.0 0.0 0.0 0.0 + main.dist Main 318 0 0.0 0.0 0.0 0.0 + hammingDistribution Measurement 319 1 0.0 0.0 0.0 0.0 + hammingDistribution.probs Measurement 327 1 0.0 0.0 0.0 0.0 + hammingDistribution.dist Measurement 326 1 0.0 0.0 0.0 0.0 + hammingDistribution.rs Measurement 321 1 0.0 0.0 0.0 0.0 + patternGen Utils 308 1 0.0 0.0 0.0 0.0 + toGenVector Utils 309 1 0.0 0.0 0.0 0.0 + main.maxDegree Main 290 1 0.0 0.0 0.0 0.0 + main.degrees Main 287 1 0.0 0.0 0.0 0.0 + powersOfTwo SuperAttractors 288 1 0.0 0.0 0.0 0.0 + main.n Main 278 1 0.0 0.0 0.0 0.0 + main.numRandoms Main 272 1 0.0 0.0 0.0 0.0 + genIO Main 270 1 0.0 0.0 0.0 0.0 + CAF ExpUtil 265 0 0.0 0.0 0.0 0.0 + doCheckFixed ExpUtil 371 0 0.0 0.0 0.0 0.0 + doHamming ExpUtil 300 0 0.0 0.0 0.0 0.0 + doHamming.msg ExpUtil 301 0 0.0 0.0 0.0 0.0 + doErrorProb.errorHeader ExpUtil 282 1 0.0 0.0 0.0 0.0 + doErrorProb ExpUtil 280 0 0.0 0.0 0.0 0.0 + doErrorProb.errorHeader ExpUtil 283 0 0.0 0.0 0.0 0.0 + CAF Hopfield 264 0 0.0 0.0 0.0 0.0 + getUpdatables_ Hopfield 437 0 0.0 0.0 0.0 0.0 + CAF SuperAttractors 262 0 0.0 0.0 0.0 0.0 + powersOfTwo SuperAttractors 289 0 0.0 0.0 0.0 0.0 + CAF Utils 260 0 0.0 0.0 0.0 0.0 + signGen Utils 332 1 0.0 0.0 0.0 0.0 + CAF Clusters 259 0 0.0 0.0 0.0 0.0 + experimentUsingT1NoAvg Clusters 374 0 0.0 0.0 0.0 0.0 + experimentUsingT1NoAvg.probabilities Clusters 375 1 0.0 0.0 0.0 0.0 + CAF Math.Combinatorics.Exact.Primes 212 0 0.0 0.0 0.0 0.0 + CAF System.Random 205 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Handle.FD 184 0 0.0 0.0 0.0 0.0 + CAF GHC.Conc.Signal 181 0 0.0 0.0 0.0 0.0 + CAF GHC.Float 177 0 0.0 0.0 0.0 0.0 + CAF GHC.Float.ConversionUtils 176 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Encoding 175 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Encoding.Iconv 174 0 0.0 0.0 0.0 0.0 + CAF GHC.Integer.Logarithms.Internals 142 0 0.0 0.0 0.0 0.0 diff --git a/notes/profiles/experiments.prof.new b/notes/profiles/experiments.prof.new new file mode 100644 index 0000000..f214bf5 --- /dev/null +++ b/notes/profiles/experiments.prof.new @@ -0,0 +1,232 @@ + Sat Jan 5 19:46 2013 Time and Allocation Profiling Report (Final) + + experiments +RTS -p -RTS + + total time = 75.19 secs (75192 ticks @ 1000 us, 1 processor) + total alloc = 117,554,462,904 bytes (excludes profiling overheads) + +COST CENTRE MODULE %time %alloc + +computeH_.cs Hopfield.Hopfield 32.4 38.2 +computeH_.weighted Hopfield.Hopfield 17.5 41.7 +computeH_.weighted.\ Hopfield.Hopfield 13.0 0.0 +randomElem Hopfield.Util 11.4 3.4 +*. Hopfield.Util 9.8 10.9 +computeH_ Hopfield.Hopfield 4.4 0.0 +shuffle Hopfield.Util 2.8 2.0 +validWeights Hopfield.Hopfield 2.3 0.4 +getUpdatables_ Hopfield.Hopfield 2.2 1.7 +getUpdatables_.new Hopfield.Hopfield 1.1 0.5 + + + individual inherited +COST CENTRE MODULE no. entries %time %alloc %time %alloc + +MAIN MAIN 136 0 0.0 0.0 100.0 100.0 + main Hopfield.Experiment 274 0 0.0 0.0 100.0 100.0 + experimentUsingT1NoAvg Hopfield.Clusters 383 0 0.0 0.0 99.6 99.9 + avgBasinsGivenPats Hopfield.Clusters 396 6 0.0 0.0 0.0 0.0 + avgBasinsGivenPats.hopfield Hopfield.Clusters 415 6 0.0 0.0 0.0 0.0 + buildHopfieldData Hopfield.Hopfield 416 6 0.0 0.0 0.0 0.0 + train Hopfield.Hopfield 420 6 0.0 0.0 0.0 0.0 + vector2D Hopfield.Util 423 6 0.0 0.0 0.0 0.0 + train.ws Hopfield.Hopfield 422 6 0.0 0.0 0.0 0.0 + ./. Hopfield.Util 426 2286 0.0 0.0 0.0 0.0 + train.w Hopfield.Hopfield 425 2400 0.0 0.0 0.0 0.0 + train.n Hopfield.Hopfield 421 6 0.0 0.0 0.0 0.0 + buildHopfieldData.trainingFunction Hopfield.Hopfield 419 6 0.0 0.0 0.0 0.0 + buildHopfieldData.\ Hopfield.Hopfield 418 60 0.0 0.0 0.0 0.0 + buildHopfieldData.first_len Hopfield.Hopfield 417 6 0.0 0.0 0.0 0.0 + measurePatternBasin Hopfield.Measurement 398 60 0.0 0.0 0.0 0.0 + samplePatternBasin Hopfield.Measurement 400 60 0.0 0.0 0.0 0.0 + samplePatternRing Hopfield.Measurement 403 1200 0.0 0.0 0.0 0.0 + repeatedUpdate Hopfield.Hopfield 411 1200 0.0 0.0 0.0 0.0 + sampleHammingDistance Hopfield.Measurement 405 1200 0.0 0.0 0.0 0.0 + sampleHammingDistance.multByPat Hopfield.Measurement 439 0 0.0 0.0 0.0 0.0 + sampleHammingDistance.n Hopfield.Measurement 436 1200 0.0 0.0 0.0 0.0 + sampleHammingDistance.basePerm Hopfield.Measurement 433 1200 0.0 0.0 0.0 0.0 + toArray Hopfield.Util 434 1200 0.0 0.0 0.0 0.0 + toArray.l Hopfield.Util 435 1200 0.0 0.0 0.0 0.0 + sampleHammingDistance.coeffSamples Hopfield.Measurement 407 1200 0.0 0.0 0.0 0.0 + shuffle Hopfield.Util 409 1200 0.0 0.0 0.0 0.0 + shuffle.len Hopfield.Util 432 1200 0.0 0.0 0.0 0.0 + shuffle.shuffledArray Hopfield.Util 431 0 0.0 0.0 0.0 0.0 + samplePatternBasin.n Hopfield.Measurement 401 60 0.0 0.0 0.0 0.0 + basinsGivenProbabilityT1 Hopfield.Clusters 387 0 0.0 0.0 99.5 99.8 + avgBasinsGivenPats Hopfield.Clusters 397 0 0.0 0.0 99.5 99.8 + average Hopfield.Util 460 6 0.0 0.0 0.0 0.0 + measurePatternBasin Hopfield.Measurement 399 0 0.0 0.0 99.5 99.8 + samplePatternBasin Hopfield.Measurement 402 0 0.0 0.0 99.5 99.8 + samplePatternRing Hopfield.Measurement 404 0 0.1 0.0 99.5 99.8 + ./. Hopfield.Util 462 168 0.0 0.0 0.0 0.0 + samplePatternRing.numConverging Hopfield.Measurement 461 168 0.0 0.0 0.0 0.0 + repeatedUpdate Hopfield.Hopfield 441 0 0.0 0.0 93.5 96.9 + repeatedUpdate_ Hopfield.Hopfield 442 120000 0.0 0.0 93.5 96.9 + repeatUntilNothing Hopfield.Util 443 1001640 0.6 0.1 93.5 96.9 + update_ Hopfield.Hopfield 444 1001640 0.5 0.1 93.0 96.8 + update_.flipAtIndex Hopfield.Hopfield 456 881640 0.7 0.2 0.8 0.3 + update_.flipAtIndex.\ Hopfield.Hopfield 458 881640 0.0 0.0 0.0 0.0 + update_.flipAtIndex.val Hopfield.Hopfield 457 881640 0.0 0.0 0.0 0.0 + randomElem Hopfield.Util 455 881640 11.4 3.4 11.4 3.4 + update_.updatables Hopfield.Hopfield 445 1001640 0.0 0.0 80.3 93.1 + getUpdatables_ Hopfield.Hopfield 446 1001640 2.2 1.7 80.3 93.1 + getUpdatables_.new Hopfield.Hopfield 448 20032800 1.1 0.5 78.1 91.3 + computeH_ Hopfield.Hopfield 450 20032800 4.4 0.0 77.0 90.8 + computeH_.cs Hopfield.Hopfield 452 20032800 32.3 38.2 32.3 38.2 + computeH_.weighted Hopfield.Hopfield 451 20032800 17.4 41.7 40.2 52.6 + computeH_.weighted.\ Hopfield.Hopfield 453 400656000 13.0 0.0 22.8 10.9 + *. Hopfield.Util 454 400656000 9.8 10.9 9.8 10.9 + computeH_.p Hopfield.Hopfield 449 20032800 0.0 0.0 0.0 0.0 + checkWsPat Hopfield.Hopfield 412 120000 0.0 0.0 2.1 0.4 + validWeightsPatternSize Hopfield.Hopfield 440 120000 0.0 0.0 0.0 0.0 + validPattern Hopfield.Hopfield 429 120000 0.0 0.0 0.0 0.0 + validWeights Hopfield.Hopfield 413 120000 2.0 0.4 2.0 0.4 + validWeights.\ Hopfield.Hopfield 424 2400000 0.0 0.0 0.0 0.0 + validWeights.n Hopfield.Hopfield 414 120000 0.0 0.0 0.0 0.0 + sampleHammingDistance Hopfield.Measurement 406 0 0.3 0.2 3.8 2.5 + sampleHammingDistance.multByPat Hopfield.Measurement 430 120000 0.2 0.2 0.2 0.2 + sampleHammingDistance.coeffSamples Hopfield.Measurement 408 0 0.0 0.0 3.3 2.1 + shuffle Hopfield.Util 410 0 2.8 2.0 3.3 2.1 + shuffle.shuffledArray Hopfield.Util 437 120000 0.4 0.0 0.5 0.0 + shuffle.shuffledArray.\ Hopfield.Util 438 2400000 0.1 0.0 0.1 0.0 + getCluster Hopfield.Clusters 392 6 0.0 0.0 0.0 0.0 + getPatternInCluster Hopfield.Clusters 393 6 0.0 0.0 0.0 0.0 + getPatternInCluster.transformBit Hopfield.Clusters 394 120 0.0 0.0 0.0 0.0 + getPatternInCluster.transformBit.bit Hopfield.Clusters 427 1200 0.0 0.0 0.0 0.0 + flipBit Hopfield.Common 459 91 0.0 0.0 0.0 0.0 + gibbsSampling Hopfield.Util 395 6 0.0 0.0 0.0 0.0 + randomSignVector Hopfield.Util 389 0 0.0 0.0 0.0 0.0 + randomSignVector.\ Hopfield.Util 428 120 0.0 0.0 0.0 0.0 + randomBinaryVector Hopfield.Util 391 0 0.0 0.0 0.0 0.0 + main.originIndex Hopfield.Experiment 352 1 0.0 0.0 0.0 0.0 + doCheckFixed Hopfield.ExpUtil 345 1 0.0 0.0 0.3 0.0 + prettyList Hopfield.Util 381 1 0.0 0.0 0.0 0.0 + doCheckFixed.msg Hopfield.ExpUtil 378 1 0.0 0.0 0.0 0.0 + doCheckFixed.patErrs Hopfield.ExpUtil 346 1 0.0 0.0 0.3 0.0 + checkFixed Hopfield.Measurement 353 6 0.0 0.0 0.3 0.0 + checkFixed.\ Hopfield.Measurement 354 522 0.0 0.0 0.3 0.0 + compTerm Hopfield.Measurement 355 522 0.0 0.0 0.3 0.0 + computeH Hopfield.Hopfield 357 522 0.0 0.0 0.3 0.0 + checkWsPat Hopfield.Hopfield 358 522 0.0 0.0 0.3 0.0 + computeH.\ Hopfield.Hopfield 371 522 0.0 0.0 0.0 0.0 + computeH_ Hopfield.Hopfield 373 522 0.0 0.0 0.0 0.0 + computeH_.cs Hopfield.Hopfield 375 522 0.0 0.0 0.0 0.0 + computeH_.weighted Hopfield.Hopfield 374 522 0.0 0.0 0.0 0.0 + computeH_.weighted.\ Hopfield.Hopfield 376 52200 0.0 0.0 0.0 0.0 + *. Hopfield.Util 377 52200 0.0 0.0 0.0 0.0 + computeH_.p Hopfield.Hopfield 372 522 0.0 0.0 0.0 0.0 + validWeightsPatternSize Hopfield.Hopfield 370 522 0.0 0.0 0.0 0.0 + validPattern Hopfield.Hopfield 369 522 0.0 0.0 0.0 0.0 + validWeights Hopfield.Hopfield 359 522 0.3 0.0 0.3 0.0 + validWeights.\ Hopfield.Hopfield 366 52200 0.0 0.0 0.0 0.0 + validWeights.n Hopfield.Hopfield 360 522 0.0 0.0 0.0 0.0 + compTerm.pat Hopfield.Measurement 356 6 0.0 0.0 0.0 0.0 + main.nets Hopfield.Experiment 343 1 0.0 0.0 0.1 0.1 + buildNetworks Hopfield.SuperAttractors 344 1 0.0 0.0 0.1 0.1 + oneSuperAttr Hopfield.SuperAttractors 349 6 0.0 0.0 0.0 0.0 + buildHopfieldData Hopfield.Hopfield 347 6 0.0 0.0 0.1 0.1 + train Hopfield.Hopfield 362 6 0.0 0.0 0.1 0.1 + vector2D Hopfield.Util 365 6 0.0 0.0 0.0 0.0 + train.ws Hopfield.Hopfield 364 6 0.0 0.0 0.1 0.1 + ./. Hopfield.Util 368 59406 0.0 0.0 0.0 0.0 + train.w Hopfield.Hopfield 367 60000 0.1 0.1 0.1 0.1 + train.n Hopfield.Hopfield 363 6 0.0 0.0 0.0 0.0 + buildHopfieldData.trainingFunction Hopfield.Hopfield 361 6 0.0 0.0 0.0 0.0 + buildHopfieldData.\ Hopfield.Hopfield 351 111 0.0 0.0 0.0 0.0 + buildHopfieldData.first_len Hopfield.Hopfield 350 6 0.0 0.0 0.0 0.0 + main.dist Hopfield.Experiment 322 1 0.0 0.0 0.0 0.0 + hammingDistribution Hopfield.Measurement 325 0 0.0 0.0 0.0 0.0 + patternGen Hopfield.TestUtil 315 0 0.0 0.0 0.0 0.0 + toGenVector Hopfield.TestUtil 316 0 0.0 0.0 0.0 0.0 + signGen Hopfield.TestUtil 338 0 0.0 0.0 0.0 0.0 + doHamming Hopfield.ExpUtil 303 1 0.0 0.0 0.0 0.0 + doHamming.n Hopfield.ExpUtil 342 1 0.0 0.0 0.0 0.0 + toPercents Hopfield.Util 340 1 0.0 0.0 0.0 0.0 + doHamming.hammingPct Hopfield.ExpUtil 339 1 0.0 0.0 0.0 0.0 + ./. Hopfield.Util 341 8 0.0 0.0 0.0 0.0 + doHamming.hammingDists Hopfield.ExpUtil 308 1 0.0 0.0 0.0 0.0 + hammingDistance Hopfield.Util 311 8 0.0 0.0 0.0 0.0 + hammingDistance.l2 Hopfield.Util 317 8 0.0 0.0 0.0 0.0 + hammingDistance.(...) Hopfield.Util 312 0 0.0 0.0 0.0 0.0 + hammingDistance.l1 Hopfield.Util 310 8 0.0 0.0 0.0 0.0 + hammingDistance.(...) Hopfield.Util 309 8 0.0 0.0 0.0 0.0 + prettyList Hopfield.Util 307 1 0.0 0.0 0.0 0.0 + doHamming.msg Hopfield.ExpUtil 304 1 0.0 0.0 0.0 0.0 + main.pats Hopfield.Experiment 300 1 0.0 0.0 0.0 0.0 + main.p Hopfield.Experiment 299 1 0.0 0.0 0.0 0.0 + doErrorProb Hopfield.ExpUtil 284 1 0.0 0.0 0.0 0.0 + doErrorProb.expErrs Hopfield.ExpUtil 298 1 0.0 0.0 0.0 0.0 + computeErrorSuperAttractorNumbers Hopfield.Analysis 301 6 0.0 0.0 0.0 0.0 + ./. Hopfield.Util 302 6 0.0 0.0 0.0 0.0 + packL Hopfield.Common 291 2 0.0 0.0 0.0 0.0 + pack Hopfield.Common 297 2 0.0 0.0 0.0 0.0 + attachLabels Hopfield.Util 286 1 0.0 0.0 0.0 0.0 + attachLabels.list Hopfield.Util 289 1 0.0 0.0 0.0 0.0 + attachLabel Hopfield.Util 290 2 0.0 0.0 0.0 0.0 + showsPrec Hopfield.Common 296 12 0.0 0.0 0.0 0.0 + sampleHammingRange Hopfield.Measurement 278 1 0.0 0.0 0.0 0.0 + sampleHammingDistance Hopfield.Measurement 280 8 0.0 0.0 0.0 0.0 + sampleHammingDistance.n Hopfield.Measurement 335 8 0.0 0.0 0.0 0.0 + sampleHammingDistance.basePerm Hopfield.Measurement 321 8 0.0 0.0 0.0 0.0 + toArray Hopfield.Util 333 8 0.0 0.0 0.0 0.0 + toArray.l Hopfield.Util 334 8 0.0 0.0 0.0 0.0 + sampleHammingDistance.multByPat Hopfield.Measurement 318 8 0.0 0.0 0.0 0.0 + sampleHammingDistance.coeffSamples Hopfield.Measurement 281 8 0.0 0.0 0.0 0.0 + shuffle Hopfield.Util 282 8 0.0 0.0 0.0 0.0 + shuffle.len Hopfield.Util 320 8 0.0 0.0 0.0 0.0 + shuffle.shuffledArray Hopfield.Util 319 8 0.0 0.0 0.0 0.0 + shuffle.shuffledArray.\ Hopfield.Util 336 800 0.0 0.0 0.0 0.0 + runT Hopfield.Util 279 1 0.0 0.0 0.0 0.0 + genIO Hopfield.Experiment 276 0 0.0 0.0 0.0 0.0 + CAF Main 271 0 0.0 0.0 0.0 0.0 + main Main 272 1 0.0 0.0 0.0 0.0 + CAF Hopfield.Experiment 270 0 0.0 0.0 0.0 0.0 + main Hopfield.Experiment 273 1 0.0 0.0 0.0 0.0 + experimentUsingT1NoAvg Hopfield.Clusters 382 1 0.0 0.0 0.0 0.0 + basinsGivenProbabilityT1 Hopfield.Clusters 386 6 0.0 0.0 0.0 0.0 + randomSignVector Hopfield.Util 388 6 0.0 0.0 0.0 0.0 + randomBinaryVector Hopfield.Util 390 6 0.0 0.0 0.0 0.0 + main.patCombiner Hopfield.Experiment 348 1 0.0 0.0 0.0 0.0 + main.maxHamming Hopfield.Experiment 329 1 0.0 0.0 0.0 0.0 + .* Hopfield.Util 330 1 0.0 0.0 0.0 0.0 + main.minHamming Hopfield.Experiment 327 1 0.0 0.0 0.0 0.0 + .* Hopfield.Util 328 1 0.0 0.0 0.0 0.0 + main.dist Hopfield.Experiment 323 0 0.0 0.0 0.0 0.0 + hammingDistribution Hopfield.Measurement 324 1 0.0 0.0 0.0 0.0 + hammingDistribution.probs Hopfield.Measurement 332 1 0.0 0.0 0.0 0.0 + hammingDistribution.dist Hopfield.Measurement 331 1 0.0 0.0 0.0 0.0 + hammingDistribution.rs Hopfield.Measurement 326 1 0.0 0.0 0.0 0.0 + patternGen Hopfield.TestUtil 313 1 0.0 0.0 0.0 0.0 + toGenVector Hopfield.TestUtil 314 1 0.0 0.0 0.0 0.0 + main.maxDegree Hopfield.Experiment 295 1 0.0 0.0 0.0 0.0 + main.degrees Hopfield.Experiment 292 1 0.0 0.0 0.0 0.0 + powersOfTwo Hopfield.SuperAttractors 293 1 0.0 0.0 0.0 0.0 + main.n Hopfield.Experiment 283 1 0.0 0.0 0.0 0.0 + main.numRandoms Hopfield.Experiment 277 1 0.0 0.0 0.0 0.0 + genIO Hopfield.Experiment 275 1 0.0 0.0 0.0 0.0 + CAF Hopfield.TestUtil 269 0 0.0 0.0 0.0 0.0 + signGen Hopfield.TestUtil 337 1 0.0 0.0 0.0 0.0 + CAF Hopfield.ExpUtil 268 0 0.0 0.0 0.0 0.0 + doCheckFixed Hopfield.ExpUtil 379 0 0.0 0.0 0.0 0.0 + doCheckFixed.msg Hopfield.ExpUtil 380 0 0.0 0.0 0.0 0.0 + doHamming Hopfield.ExpUtil 305 0 0.0 0.0 0.0 0.0 + doHamming.msg Hopfield.ExpUtil 306 0 0.0 0.0 0.0 0.0 + doErrorProb.errorHeader Hopfield.ExpUtil 287 1 0.0 0.0 0.0 0.0 + doErrorProb Hopfield.ExpUtil 285 0 0.0 0.0 0.0 0.0 + doErrorProb.errorHeader Hopfield.ExpUtil 288 0 0.0 0.0 0.0 0.0 + CAF Hopfield.Hopfield 267 0 0.0 0.0 0.0 0.0 + getUpdatables_ Hopfield.Hopfield 447 0 0.0 0.0 0.0 0.0 + CAF Hopfield.Clusters 264 0 0.0 0.0 0.0 0.0 + experimentUsingT1NoAvg Hopfield.Clusters 384 0 0.0 0.0 0.0 0.0 + experimentUsingT1NoAvg.probabilities Hopfield.Clusters 385 1 0.0 0.0 0.0 0.0 + CAF Hopfield.SuperAttractors 261 0 0.0 0.0 0.0 0.0 + powersOfTwo Hopfield.SuperAttractors 294 0 0.0 0.0 0.0 0.0 + CAF Math.Combinatorics.Exact.Primes 214 0 0.0 0.0 0.0 0.0 + CAF System.Random 207 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Handle.FD 186 0 0.0 0.0 0.0 0.0 + CAF GHC.Conc.Signal 183 0 0.0 0.0 0.0 0.0 + CAF GHC.Float 179 0 0.0 0.0 0.0 0.0 + CAF GHC.Float.ConversionUtils 178 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Encoding 177 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Encoding.Iconv 176 0 0.0 0.0 0.0 0.0 + CAF GHC.Integer.Logarithms.Internals 144 0 0.0 0.0 0.0 0.0 diff --git a/notes/profiles/experiments.prof.old.io b/notes/profiles/experiments.prof.old.io new file mode 100644 index 0000000..2866b3e --- /dev/null +++ b/notes/profiles/experiments.prof.old.io @@ -0,0 +1,230 @@ + Sat Jan 5 20:09 2013 Time and Allocation Profiling Report (Final) + + experiments +RTS -p -RTS + + total time = 5.91 secs (5905 ticks @ 1000 us, 1 processor) + total alloc = 7,444,305,000 bytes (excludes profiling overheads) + +COST CENTRE MODULE %time %alloc + +randomElem Util 25.8 10.2 +computeH_.weighted Hopfield 25.6 47.9 +*. Util 9.2 12.1 +shuffle Util 9.0 8.3 +validWeights Hopfield 7.2 1.8 +update_.flipAtIndex Hopfield 5.8 9.1 +getUpdatables_ Hopfield 3.5 3.9 +repeatUntilNothing Util 1.7 0.4 +getUpdatables_.new Hopfield 1.7 1.2 +train.w Hopfield 1.5 1.7 +sampleHammingDistance Measurement 1.4 1.1 +shuffle.shuffledArray Util 1.2 0.2 +computeH_ Hopfield 1.2 0.0 +update_.valueAtIndex Hopfield 1.2 0.0 +update_ Hopfield 1.1 0.5 + + + individual inherited +COST CENTRE MODULE no. entries %time %alloc %time %alloc + +MAIN MAIN 134 0 0.0 0.0 100.0 100.0 + main Main 269 0 0.0 0.0 100.0 100.0 + experimentUsingT1NoAvg Clusters 376 0 0.0 0.0 95.1 97.9 + avgBasinsGivenPats Clusters 389 6 0.0 0.0 0.1 0.1 + avgBasinsGivenPats.hopfield Clusters 408 6 0.0 0.0 0.0 0.0 + buildHopfieldData Hopfield 409 6 0.0 0.0 0.0 0.0 + train Hopfield 413 6 0.0 0.0 0.0 0.0 + vector2D Util 416 6 0.0 0.0 0.0 0.0 + train.ws Hopfield 415 6 0.0 0.0 0.0 0.0 + ./. Util 419 546 0.0 0.0 0.0 0.0 + train.w Hopfield 418 600 0.0 0.0 0.0 0.0 + train.n Hopfield 414 6 0.0 0.0 0.0 0.0 + buildHopfieldData.trainingFunction Hopfield 412 6 0.0 0.0 0.0 0.0 + buildHopfieldData.\ Hopfield 411 60 0.0 0.0 0.0 0.0 + buildHopfieldData.first_len Hopfield 410 6 0.0 0.0 0.0 0.0 + measurePatternBasin Measurement 391 60 0.0 0.0 0.1 0.1 + samplePatternBasin Measurement 393 60 0.0 0.0 0.1 0.1 + samplePatternRing Measurement 396 600 0.0 0.0 0.1 0.1 + repeatedUpdate Hopfield 404 600 0.0 0.0 0.0 0.0 + sampleHammingDistance Measurement 398 600 0.0 0.0 0.1 0.1 + sampleHammingDistance.multByPat Measurement 432 0 0.0 0.0 0.0 0.0 + sampleHammingDistance.n Measurement 429 600 0.0 0.0 0.0 0.0 + sampleHammingDistance.basePerm Measurement 426 600 0.0 0.0 0.0 0.0 + toArray Util 427 600 0.0 0.0 0.0 0.0 + toArray.l Util 428 600 0.0 0.0 0.0 0.0 + sampleHammingDistance.coeffSamples Measurement 400 600 0.0 0.1 0.0 0.1 + shuffle Util 402 600 0.0 0.0 0.0 0.0 + shuffle.len Util 425 600 0.0 0.0 0.0 0.0 + shuffle.shuffledArray Util 424 0 0.0 0.0 0.0 0.0 + samplePatternBasin.n Measurement 394 60 0.0 0.0 0.0 0.0 + basinsGivenProbabilityT1 Clusters 380 0 0.0 0.0 95.0 97.8 + avgBasinsGivenPats Clusters 390 0 0.0 0.0 94.9 97.8 + average Util 450 6 0.0 0.0 0.0 0.0 + measurePatternBasin Measurement 392 0 0.0 0.0 94.9 97.8 + samplePatternBasin Measurement 395 0 0.2 0.1 94.9 97.8 + samplePatternRing Measurement 397 0 0.4 0.0 94.8 97.7 + ./. Util 452 114 0.0 0.0 0.0 0.0 + samplePatternRing.numConverging Measurement 451 114 0.0 0.0 0.0 0.0 + repeatedUpdate Hopfield 434 0 0.0 0.0 77.0 85.4 + repeatedUpdate_ Hopfield 435 60000 0.1 0.1 77.0 85.4 + repeatUntilNothing Util 436 281761 1.7 0.4 76.8 85.3 + update_ Hopfield 437 281761 1.1 0.5 75.1 84.9 + update_.flipAtIndex Hopfield 447 221761 5.8 9.1 6.9 9.2 + update_.valueAtIndex Hopfield 448 2217610 1.2 0.0 1.2 0.0 + randomElem Util 446 221761 25.8 10.2 25.8 10.2 + update_.updatables Hopfield 438 281761 0.1 0.0 41.2 65.1 + getUpdatables_ Hopfield 439 281761 3.5 3.9 41.1 65.1 + getUpdatables_.new Hopfield 441 2817610 1.7 1.2 37.6 61.2 + computeH_ Hopfield 443 2817610 1.2 0.0 35.9 60.0 + computeH_.weighted Hopfield 444 2817610 25.5 47.8 34.6 60.0 + *. Util 445 28176100 9.1 12.1 9.1 12.1 + computeH_.p Hopfield 442 2817610 0.0 0.0 0.0 0.0 + checkWsPat Hopfield 405 60000 0.2 0.0 4.6 1.7 + validWeightsPatternSize Hopfield 433 60000 0.0 0.0 0.0 0.0 + validPattern Hopfield 422 60000 0.2 0.0 0.2 0.0 + validWeights Hopfield 406 60000 4.2 1.7 4.2 1.7 + validWeights.\ Hopfield 417 600000 0.0 0.0 0.0 0.0 + validWeights.n Hopfield 407 60000 0.0 0.0 0.0 0.0 + sampleHammingDistance Measurement 399 0 1.4 1.1 12.8 10.6 + sampleHammingDistance.multByPat Measurement 423 60000 0.5 1.0 0.5 1.0 + sampleHammingDistance.coeffSamples Measurement 401 0 0.2 0.0 10.9 8.5 + shuffle Util 403 0 8.9 8.3 10.8 8.5 + shuffle.shuffledArray Util 430 60000 1.2 0.2 1.8 0.2 + shuffle.shuffledArray.\ Util 431 600000 0.6 0.0 0.6 0.0 + getCluster Clusters 385 6 0.0 0.0 0.0 0.0 + getPatternInCluster Clusters 386 6 0.0 0.0 0.0 0.0 + getPatternInCluster.transformBit Clusters 387 60 0.0 0.0 0.0 0.0 + getPatternInCluster.transformBit.bit Clusters 420 600 0.0 0.0 0.0 0.0 + flipBit Common 449 45 0.0 0.0 0.0 0.0 + gibbsSampling Util 388 6 0.0 0.0 0.0 0.0 + randomSignVector Util 382 0 0.0 0.0 0.0 0.0 + randomSignVector.\ Util 421 60 0.0 0.0 0.0 0.0 + randomBinaryVector Util 384 0 0.0 0.0 0.0 0.0 + main.originIndex Main 347 1 0.0 0.0 0.0 0.0 + doCheckFixed ExpUtil 340 1 0.0 0.0 3.2 0.2 + prettyList Util 374 1 0.0 0.0 0.0 0.0 + doCheckFixed.msg ExpUtil 371 1 0.0 0.0 0.0 0.0 + doCheckFixed.patErrs ExpUtil 341 1 0.0 0.0 3.2 0.2 + checkFixed Measurement 348 6 0.0 0.0 3.2 0.2 + checkFixed.\ Measurement 349 551 0.0 0.0 3.2 0.2 + compTerm Measurement 350 551 0.0 0.0 3.2 0.2 + computeH Hopfield 352 551 0.0 0.0 3.2 0.2 + checkWsPat Hopfield 353 551 0.0 0.0 3.2 0.2 + computeH.\ Hopfield 366 551 0.0 0.0 0.2 0.1 + computeH_ Hopfield 368 551 0.0 0.0 0.2 0.1 + computeH_.weighted Hopfield 369 551 0.1 0.1 0.2 0.1 + *. Util 370 55100 0.1 0.0 0.1 0.0 + computeH_.p Hopfield 367 551 0.0 0.0 0.0 0.0 + validWeightsPatternSize Hopfield 365 551 0.0 0.0 0.0 0.0 + validPattern Hopfield 364 551 0.0 0.0 0.0 0.0 + validWeights Hopfield 354 551 3.0 0.1 3.0 0.1 + validWeights.\ Hopfield 361 55100 0.0 0.0 0.0 0.0 + validWeights.n Hopfield 355 551 0.0 0.0 0.0 0.0 + compTerm.pat Measurement 351 6 0.0 0.0 0.0 0.0 + main.nets Main 338 1 0.0 0.0 1.6 1.8 + buildNetworks SuperAttractors 339 1 0.0 0.0 1.6 1.8 + oneSuperAttr SuperAttractors 344 6 0.0 0.0 0.0 0.0 + buildHopfieldData Hopfield 342 6 0.0 0.0 1.6 1.8 + train Hopfield 357 6 0.0 0.0 1.6 1.8 + vector2D Util 360 6 0.1 0.0 0.1 0.0 + train.ws Hopfield 359 6 0.1 0.1 1.6 1.8 + ./. Util 363 59406 0.0 0.0 0.0 0.0 + train.w Hopfield 362 60000 1.4 1.7 1.4 1.7 + train.n Hopfield 358 6 0.0 0.0 0.0 0.0 + buildHopfieldData.trainingFunction Hopfield 356 6 0.0 0.0 0.0 0.0 + buildHopfieldData.\ Hopfield 346 111 0.0 0.0 0.0 0.0 + buildHopfieldData.first_len Hopfield 345 6 0.0 0.0 0.0 0.0 + main.dist Main 317 1 0.0 0.0 0.0 0.0 + hammingDistribution Measurement 320 0 0.0 0.0 0.0 0.0 + patternGen Utils 310 0 0.0 0.0 0.0 0.0 + toGenVector Utils 311 0 0.0 0.0 0.0 0.0 + signGen Utils 333 0 0.0 0.0 0.0 0.0 + doHamming ExpUtil 298 1 0.0 0.0 0.0 0.0 + doHamming.n ExpUtil 337 1 0.0 0.0 0.0 0.0 + toPercents Util 335 1 0.0 0.0 0.0 0.0 + doHamming.hammingPct ExpUtil 334 1 0.0 0.0 0.0 0.0 + ./. Util 336 8 0.0 0.0 0.0 0.0 + doHamming.hammingDists ExpUtil 303 1 0.0 0.0 0.0 0.0 + hammingDistance Util 306 8 0.0 0.0 0.0 0.0 + hammingDistance.l2 Util 312 8 0.0 0.0 0.0 0.0 + hammingDistance.(...) Util 307 0 0.0 0.0 0.0 0.0 + hammingDistance.l1 Util 305 8 0.0 0.0 0.0 0.0 + hammingDistance.(...) Util 304 8 0.0 0.0 0.0 0.0 + prettyList Util 302 1 0.0 0.0 0.0 0.0 + doHamming.msg ExpUtil 299 1 0.0 0.0 0.0 0.0 + main.pats Main 295 1 0.0 0.0 0.0 0.0 + main.p Main 294 1 0.0 0.0 0.0 0.0 + doErrorProb ExpUtil 279 1 0.0 0.0 0.0 0.0 + doErrorProb.expErrs ExpUtil 293 1 0.0 0.0 0.0 0.0 + computeErrorSuperAttractorNumbers Analysis 296 6 0.0 0.0 0.0 0.0 + ./. Util 297 6 0.0 0.0 0.0 0.0 + packL Common 286 2 0.0 0.0 0.0 0.0 + pack Common 292 2 0.0 0.0 0.0 0.0 + attachLabels Util 281 1 0.0 0.0 0.0 0.0 + attachLabels.list Util 284 1 0.0 0.0 0.0 0.0 + attachLabel Util 285 2 0.0 0.0 0.0 0.0 + showsPrec Common 291 12 0.0 0.0 0.0 0.0 + sampleHammingRange Measurement 273 1 0.0 0.0 0.0 0.0 + sampleHammingDistance Measurement 275 8 0.0 0.0 0.0 0.0 + sampleHammingDistance.n Measurement 330 8 0.0 0.0 0.0 0.0 + sampleHammingDistance.basePerm Measurement 316 8 0.0 0.0 0.0 0.0 + toArray Util 328 8 0.0 0.0 0.0 0.0 + toArray.l Util 329 8 0.0 0.0 0.0 0.0 + sampleHammingDistance.multByPat Measurement 313 8 0.0 0.0 0.0 0.0 + sampleHammingDistance.coeffSamples Measurement 276 8 0.0 0.0 0.0 0.0 + shuffle Util 277 8 0.0 0.0 0.0 0.0 + shuffle.len Util 315 8 0.0 0.0 0.0 0.0 + shuffle.shuffledArray Util 314 8 0.0 0.0 0.0 0.0 + shuffle.shuffledArray.\ Util 331 800 0.0 0.0 0.0 0.0 + runT Util 274 1 0.0 0.0 0.0 0.0 + genIO Main 271 0 0.0 0.0 0.0 0.0 + CAF Main 267 0 0.0 0.0 0.0 0.0 + main Main 268 1 0.0 0.0 0.0 0.0 + experimentUsingT1NoAvg Clusters 375 1 0.0 0.0 0.0 0.0 + basinsGivenProbabilityT1 Clusters 379 6 0.0 0.0 0.0 0.0 + randomSignVector Util 381 6 0.0 0.0 0.0 0.0 + randomBinaryVector Util 383 6 0.0 0.0 0.0 0.0 + main.patCombiner Main 343 1 0.0 0.0 0.0 0.0 + main.maxHamming Main 324 1 0.0 0.0 0.0 0.0 + .* Util 325 1 0.0 0.0 0.0 0.0 + main.minHamming Main 322 1 0.0 0.0 0.0 0.0 + .* Util 323 1 0.0 0.0 0.0 0.0 + main.dist Main 318 0 0.0 0.0 0.0 0.0 + hammingDistribution Measurement 319 1 0.0 0.0 0.0 0.0 + hammingDistribution.probs Measurement 327 1 0.0 0.0 0.0 0.0 + hammingDistribution.dist Measurement 326 1 0.0 0.0 0.0 0.0 + hammingDistribution.rs Measurement 321 1 0.0 0.0 0.0 0.0 + patternGen Utils 308 1 0.0 0.0 0.0 0.0 + toGenVector Utils 309 1 0.0 0.0 0.0 0.0 + main.maxDegree Main 290 1 0.0 0.0 0.0 0.0 + main.degrees Main 287 1 0.0 0.0 0.0 0.0 + powersOfTwo SuperAttractors 288 1 0.0 0.0 0.0 0.0 + main.n Main 278 1 0.0 0.0 0.0 0.0 + main.numRandoms Main 272 1 0.0 0.0 0.0 0.0 + genIO Main 270 1 0.0 0.0 0.0 0.0 + CAF ExpUtil 265 0 0.0 0.0 0.0 0.0 + doCheckFixed ExpUtil 372 0 0.0 0.0 0.0 0.0 + doCheckFixed.msg ExpUtil 373 0 0.0 0.0 0.0 0.0 + doHamming ExpUtil 300 0 0.0 0.0 0.0 0.0 + doHamming.msg ExpUtil 301 0 0.0 0.0 0.0 0.0 + doErrorProb.errorHeader ExpUtil 282 1 0.0 0.0 0.0 0.0 + doErrorProb ExpUtil 280 0 0.0 0.0 0.0 0.0 + doErrorProb.errorHeader ExpUtil 283 0 0.0 0.0 0.0 0.0 + CAF Hopfield 264 0 0.0 0.0 0.0 0.0 + getUpdatables_ Hopfield 440 0 0.0 0.0 0.0 0.0 + CAF SuperAttractors 262 0 0.0 0.0 0.0 0.0 + powersOfTwo SuperAttractors 289 0 0.0 0.0 0.0 0.0 + CAF Utils 260 0 0.0 0.0 0.0 0.0 + signGen Utils 332 1 0.0 0.0 0.0 0.0 + CAF Clusters 259 0 0.0 0.0 0.0 0.0 + experimentUsingT1NoAvg Clusters 377 0 0.0 0.0 0.0 0.0 + experimentUsingT1NoAvg.probabilities Clusters 378 1 0.0 0.0 0.0 0.0 + CAF Math.Combinatorics.Exact.Primes 212 0 0.0 0.0 0.0 0.0 + CAF System.Random 205 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Handle.FD 184 0 0.0 0.0 0.0 0.0 + CAF GHC.Conc.Signal 181 0 0.0 0.0 0.0 0.0 + CAF GHC.Float 177 0 0.0 0.0 0.0 0.0 + CAF GHC.Float.ConversionUtils 176 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Encoding 175 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Encoding.Iconv 174 0 0.0 0.0 0.0 0.0 + CAF GHC.Integer.Logarithms.Internals 142 0 0.0 0.0 0.0 0.0 diff --git a/notes/profiles/recognize.prof-2549354 b/notes/profiles/recognize.prof-2549354 new file mode 100644 index 0000000..18bc8c2 --- /dev/null +++ b/notes/profiles/recognize.prof-2549354 @@ -0,0 +1,127 @@ + Sun Jan 6 01:04 2013 Time and Allocation Profiling Report (Final) + + recognize +RTS -p -RTS inbuiltbench bench2 + + total time = 9.91 secs (9914 ticks @ 1000 us, 1 processor) + total alloc = 15,908,682,240 bytes (excludes profiling overheads) + +COST CENTRE MODULE %time %alloc + +computeH_.weighted Hopfield.Hopfield 42.3 65.9 +randomElem Hopfield.Util 20.3 6.0 +*. Hopfield.Util 15.0 17.1 +shuffle Hopfield.Util 6.0 4.5 +validWeights Hopfield.Hopfield 4.3 0.8 +getUpdatables_ Hopfield.Hopfield 3.0 2.7 +getUpdatables_.new Hopfield.Hopfield 1.9 0.9 +computeH_ Hopfield.Hopfield 1.1 0.0 +repeatUntilNothing Hopfield.Util 1.1 0.2 + + + individual inherited +COST CENTRE MODULE no. entries %time %alloc %time %alloc + +MAIN MAIN 149 0 0.0 0.0 100.0 100.0 + main Main 299 0 0.0 0.0 99.9 100.0 + bench2 Hopfield.Benchmark 306 0 0.0 0.0 99.9 100.0 + performAndPrint1 Hopfield.ClusterExperiments 308 0 0.0 0.0 99.9 100.0 + oneIteration1 Hopfield.ClusterExperiments 312 2 0.0 0.0 99.9 100.0 + oneIteration1.f Hopfield.ClusterExperiments 353 0 0.0 0.0 0.0 0.0 + oneIteration1.evaluatedFunction Hopfield.ClusterExperiments 317 2 0.0 0.0 0.0 0.0 + ./ Hopfield.Util 325 2 0.0 0.0 0.0 0.0 + oneIteration1.cs Hopfield.ClusterExperiments 315 2 0.0 0.0 0.0 0.0 + oneIteration1.unevaluated Hopfield.ClusterExperiments 314 2 0.0 0.0 99.9 100.0 + oneIteration1.f Hopfield.ClusterExperiments 316 4 0.0 0.0 99.9 100.0 + oneIteration1.evaluatedFunction Hopfield.ClusterExperiments 318 0 0.0 0.0 99.9 100.0 + basinsGivenStdT2 Hopfield.Clusters 319 4 0.0 0.0 99.9 100.0 + getGaussianCluster Hopfield.Clusters 324 4 0.0 0.0 0.0 0.0 + normal Hopfield.Util 352 4 0.0 0.0 0.0 0.0 + getGaussianCluster.encoding Hopfield.Clusters 328 20 0.0 0.0 0.0 0.0 + getGaussianCluster.valueAtIndex Hopfield.Clusters 351 400 0.0 0.0 0.0 0.0 + getGaussianCluster.smallerValue Hopfield.Clusters 354 178 0.0 0.0 0.0 0.0 + getGaussianCluster.patSize Hopfield.Clusters 326 4 0.0 0.0 0.0 0.0 + randomSignVector Hopfield.Util 322 4 0.0 0.0 0.0 0.0 + randomBinaryVector Hopfield.Util 323 4 0.0 0.0 0.0 0.0 + avgBasinsGivenPats Hopfield.Clusters 320 4 0.0 0.0 99.9 100.0 + avgBasinsGivenPats.hopfield Hopfield.Clusters 339 4 0.0 0.0 0.0 0.0 + buildHopfieldData Hopfield.Hopfield 340 4 0.0 0.0 0.0 0.0 + train Hopfield.Hopfield 344 4 0.0 0.0 0.0 0.0 + vector2D Hopfield.Util 347 4 0.0 0.0 0.0 0.0 + train.ws Hopfield.Hopfield 346 4 0.0 0.0 0.0 0.0 + ./. Hopfield.Util 350 1524 0.0 0.0 0.0 0.0 + train.w Hopfield.Hopfield 349 1600 0.0 0.0 0.0 0.0 + train.n Hopfield.Hopfield 345 4 0.0 0.0 0.0 0.0 + buildHopfieldData.trainingFunction Hopfield.Hopfield 343 4 0.0 0.0 0.0 0.0 + buildHopfieldData.\ Hopfield.Hopfield 342 20 0.0 0.0 0.0 0.0 + buildHopfieldData.first_len Hopfield.Hopfield 341 4 0.0 0.0 0.0 0.0 + measurePatternBasin Hopfield.Measurement 327 20 0.0 0.0 99.9 100.0 + samplePatternBasin Hopfield.Measurement 329 20 0.0 0.0 99.9 100.0 + samplePatternRing Hopfield.Measurement 331 351 0.3 0.1 99.9 100.0 + ./. Hopfield.Util 382 182 0.0 0.0 0.0 0.0 + checkWsPat Hopfield.Hopfield 336 35100 0.1 0.0 91.2 94.3 + repeatedUpdate Hopfield.Hopfield 366 0 0.0 0.0 86.7 93.5 + repeatedUpdate_ Hopfield.Hopfield 367 35100 0.1 0.0 86.7 93.5 + repeatUntilNothing Hopfield.Util 368 212670 1.1 0.2 86.6 93.4 + update_ Hopfield.Hopfield 369 212670 0.8 0.3 85.5 93.2 + randomElem Hopfield.Util 380 177570 20.3 6.0 20.3 6.0 + update_.flipAtIndex Hopfield.Hopfield 378 177570 0.9 0.4 1.0 0.4 + update_.flipAtIndex.\ Hopfield.Hopfield 381 177570 0.0 0.0 0.0 0.0 + update_.flipAtIndex.val Hopfield.Hopfield 379 177570 0.0 0.0 0.0 0.0 + update_.updatables Hopfield.Hopfield 370 212670 0.0 0.0 63.4 86.5 + getUpdatables_ Hopfield.Hopfield 371 212670 3.0 2.7 63.4 86.5 + getUpdatables_.new Hopfield.Hopfield 373 4253400 1.9 0.9 60.4 83.8 + computeH_ Hopfield.Hopfield 375 4253400 1.1 0.0 58.5 83.0 + computeH_.weighted Hopfield.Hopfield 376 4253400 42.3 65.9 57.3 83.0 + *. Hopfield.Util 377 85068000 15.0 17.1 15.0 17.1 + computeH_.p Hopfield.Hopfield 374 4253400 0.0 0.0 0.0 0.0 + validWeightsPatternSize Hopfield.Hopfield 365 35100 0.0 0.0 0.0 0.0 + validPattern Hopfield.Hopfield 355 35100 0.1 0.0 0.1 0.0 + validWeights Hopfield.Hopfield 337 35100 4.3 0.8 4.3 0.8 + validWeights.\ Hopfield.Hopfield 348 702000 0.0 0.0 0.0 0.0 + validWeights.n Hopfield.Hopfield 338 35100 0.0 0.0 0.0 0.0 + repeatedUpdate Hopfield.Hopfield 335 351 0.0 0.0 0.0 0.0 + sampleHammingDistance Hopfield.Measurement 333 351 0.6 0.5 8.3 5.6 + sampleHammingDistance.n Hopfield.Measurement 363 351 0.0 0.0 0.0 0.0 + sampleHammingDistance.basePerm Hopfield.Measurement 360 351 0.0 0.0 0.0 0.0 + toArray Hopfield.Util 361 351 0.0 0.0 0.0 0.0 + toArray.l Hopfield.Util 362 351 0.0 0.0 0.0 0.0 + sampleHammingDistance.multByPat Hopfield.Measurement 356 35100 0.3 0.5 0.3 0.5 + sampleHammingDistance.coeffSamples Hopfield.Measurement 334 351 0.1 0.1 7.3 4.6 + shuffle Hopfield.Util 357 351 6.0 4.5 7.2 4.6 + shuffle.len Hopfield.Util 359 351 0.0 0.0 0.0 0.0 + shuffle.shuffledArray Hopfield.Util 358 35100 1.0 0.1 1.3 0.1 + shuffle.shuffledArray.\ Hopfield.Util 364 702000 0.3 0.0 0.3 0.0 + samplePatternRing.numConverging Hopfield.Measurement 332 182 0.2 0.0 0.2 0.0 + samplePatternBasin.n Hopfield.Measurement 330 20 0.0 0.0 0.0 0.0 + average Hopfield.Util 321 4 0.0 0.0 0.0 0.0 + oneIteration1.values Hopfield.ClusterExperiments 313 2 0.0 0.0 0.0 0.0 + showsPrec Hopfield.ClusterExperiments 309 1 0.0 0.0 0.0 0.0 + inbuiltBenchmarkOptions Main 304 0 0.0 0.0 0.0 0.0 + recognizeOptions Main 302 0 0.0 0.0 0.0 0.0 + CAF Main 297 0 0.0 0.0 0.0 0.0 + inbuiltBenchmarkOptions Main 303 1 0.0 0.0 0.0 0.0 + recognizeOptions Main 301 1 0.0 0.0 0.0 0.0 + recognizeArgParser Main 300 1 0.0 0.0 0.0 0.0 + main Main 298 1 0.0 0.0 0.0 0.0 + CAF Hopfield.Hopfield 296 0 0.0 0.0 0.0 0.0 + getUpdatables_ Hopfield.Hopfield 372 0 0.0 0.0 0.0 0.0 + CAF Hopfield.Benchmark 290 0 0.0 0.0 0.0 0.0 + bench2 Hopfield.Benchmark 305 1 0.0 0.0 0.0 0.0 + performAndPrint1 Hopfield.ClusterExperiments 307 1 0.0 0.0 0.0 0.0 + CAF Hopfield.ClusterExperiments 289 0 0.0 0.0 0.0 0.0 + performAndPrint1 Hopfield.ClusterExperiments 311 0 0.0 0.0 0.0 0.0 + showsPrec Hopfield.ClusterExperiments 310 0 0.0 0.0 0.0 0.0 + CAF Data.Random.Distribution.Normal 286 0 0.1 0.0 0.1 0.0 + CAF Options.Applicative.Extra 234 0 0.0 0.0 0.0 0.0 + CAF Options.Applicative.BashCompletion 229 0 0.0 0.0 0.0 0.0 + CAF System.Random 223 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Encoding 202 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Handle.FD 199 0 0.0 0.0 0.0 0.0 + CAF GHC.Show 198 0 0.0 0.0 0.0 0.0 + CAF GHC.Conc.Signal 194 0 0.0 0.0 0.0 0.0 + CAF GHC.Float 191 0 0.0 0.0 0.0 0.0 + CAF GHC.Float.ConversionUtils 190 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Encoding.Iconv 189 0 0.0 0.0 0.0 0.0 + CAF GHC.Event.Thread 169 0 0.0 0.0 0.0 0.0 + CAF GHC.Event.Internal 165 0 0.0 0.0 0.0 0.0 + CAF GHC.Integer.Logarithms.Internals 157 0 0.0 0.0 0.0 0.0 diff --git a/notes/profiles/recognize.prof-2549354-O3 b/notes/profiles/recognize.prof-2549354-O3 new file mode 100644 index 0000000..5204372 --- /dev/null +++ b/notes/profiles/recognize.prof-2549354-O3 @@ -0,0 +1,157 @@ + Sun Jan 6 02:50 2013 Time and Allocation Profiling Report (Final) + + recognize +RTS -p -RTS inbuiltbench bench2 + + total time = 13.33 secs (13331 ticks @ 1000 us, 1 processor) + total alloc = 13,845,641,744 bytes (excludes profiling overheads) + +COST CENTRE MODULE %time %alloc + +computeHmult Hopfield.Hopfield 33.5 5.0 +computeHsum Hopfield.Hopfield 23.8 75.7 +randomElem Hopfield.Util 14.9 6.9 +computeH_.weighted.w Hopfield.Hopfield 7.3 0.0 +shuffle Hopfield.Util 4.2 5.2 +computeHacc2 Hopfield.Hopfield 3.9 0.0 +validWeights Hopfield.Hopfield 2.5 0.9 +getUpdatables_ Hopfield.Hopfield 2.2 3.1 +getUpdatables_.new Hopfield.Hopfield 1.6 0.0 + + + individual inherited +COST CENTRE MODULE no. entries %time %alloc %time %alloc + +MAIN MAIN 543 0 0.0 0.0 100.0 100.0 + main Main 1087 0 0.0 0.0 100.0 100.0 + bench2 Hopfield.Benchmark 1101 0 0.0 0.0 100.0 100.0 + performAndPrint1 Hopfield.ClusterExperiments 1104 0 0.0 0.0 100.0 100.0 + oneIteration1 Hopfield.ClusterExperiments 1109 2 0.0 0.0 100.0 100.0 + oneIteration1.f Hopfield.ClusterExperiments 1150 0 0.0 0.0 0.0 0.0 + oneIteration1.evaluatedFunction Hopfield.ClusterExperiments 1114 2 0.0 0.0 0.0 0.0 + ./ Hopfield.Util 1122 2 0.0 0.0 0.0 0.0 + oneIteration1.cs Hopfield.ClusterExperiments 1112 2 0.0 0.0 0.0 0.0 + oneIteration1.unevaluated Hopfield.ClusterExperiments 1111 2 0.0 0.0 100.0 100.0 + oneIteration1.f Hopfield.ClusterExperiments 1113 4 0.0 0.0 100.0 100.0 + oneIteration1.evaluatedFunction Hopfield.ClusterExperiments 1115 0 0.0 0.0 100.0 100.0 + basinsGivenStdT2 Hopfield.Clusters 1116 4 0.0 0.0 100.0 100.0 + getGaussianCluster Hopfield.Clusters 1121 4 0.0 0.0 0.0 0.0 + normal Hopfield.Util 1149 4 0.0 0.0 0.0 0.0 + getGaussianCluster.encoding Hopfield.Clusters 1125 20 0.0 0.0 0.0 0.0 + getGaussianCluster.valueAtIndex Hopfield.Clusters 1148 400 0.0 0.0 0.0 0.0 + getGaussianCluster.smallerValue Hopfield.Clusters 1151 178 0.0 0.0 0.0 0.0 + getGaussianCluster.patSize Hopfield.Clusters 1123 4 0.0 0.0 0.0 0.0 + randomSignVector Hopfield.Util 1119 4 0.0 0.0 0.0 0.0 + randomBinaryVector Hopfield.Util 1120 4 0.0 0.0 0.0 0.0 + avgBasinsGivenPats Hopfield.Clusters 1117 4 0.0 0.0 100.0 100.0 + avgBasinsGivenPats.hopfield Hopfield.Clusters 1136 4 0.0 0.0 0.0 0.0 + buildHopfieldData Hopfield.Hopfield 1137 4 0.0 0.0 0.0 0.0 + train Hopfield.Hopfield 1141 4 0.0 0.0 0.0 0.0 + vector2D Hopfield.Util 1144 4 0.0 0.0 0.0 0.0 + train.ws Hopfield.Hopfield 1143 4 0.0 0.0 0.0 0.0 + ./. Hopfield.Util 1147 1524 0.0 0.0 0.0 0.0 + train.w Hopfield.Hopfield 1146 1600 0.0 0.0 0.0 0.0 + train.n Hopfield.Hopfield 1142 4 0.0 0.0 0.0 0.0 + buildHopfieldData.trainingFunction Hopfield.Hopfield 1140 4 0.0 0.0 0.0 0.0 + buildHopfieldData.\ Hopfield.Hopfield 1139 20 0.0 0.0 0.0 0.0 + buildHopfieldData.first_len Hopfield.Hopfield 1138 4 0.0 0.0 0.0 0.0 + measurePatternBasin Hopfield.Measurement 1124 20 0.0 0.0 100.0 100.0 + samplePatternBasin Hopfield.Measurement 1126 20 0.0 0.0 100.0 100.0 + samplePatternRing Hopfield.Measurement 1128 351 0.1 0.1 100.0 100.0 + ./. Hopfield.Util 1185 182 0.0 0.0 0.0 0.0 + checkWsPat Hopfield.Hopfield 1133 35100 0.1 0.0 94.0 93.7 + repeatedUpdate Hopfield.Hopfield 1163 0 0.0 0.0 91.4 92.7 + repeatedUpdate_ Hopfield.Hopfield 1164 35100 0.0 0.0 91.4 92.7 + repeatUntilNothing Hopfield.Util 1165 212670 0.7 0.3 91.4 92.7 + update_ Hopfield.Hopfield 1166 212670 0.7 0.3 90.6 92.4 + randomElem Hopfield.Util 1183 177570 14.9 6.9 14.9 6.9 + update_.flipAtIndex Hopfield.Hopfield 1181 177570 0.7 0.4 0.8 0.5 + update_.flipAtIndex.\ Hopfield.Hopfield 1184 177570 0.1 0.0 0.1 0.0 + update_.flipAtIndex.val Hopfield.Hopfield 1182 177570 0.0 0.0 0.0 0.0 + update_.updatables Hopfield.Hopfield 1167 212670 0.0 0.0 74.3 84.7 + getUpdatables_ Hopfield.Hopfield 1168 212670 2.2 3.1 74.3 84.7 + getUpdatables_.new Hopfield.Hopfield 1170 4253400 1.6 0.0 72.0 81.6 + computeH_ Hopfield.Hopfield 1173 4253400 0.6 0.0 70.5 81.6 + computeHall Hopfield.Hopfield 1180 4253400 0.1 0.0 0.1 0.0 + computeH_.weighted Hopfield.Hopfield 1174 4253400 0.5 1.0 69.7 81.6 + computeH_.weighted.ws_row Hopfield.Hopfield 1179 4253400 0.7 0.0 0.7 0.0 + computeHsum Hopfield.Hopfield 1175 4253400 23.8 75.7 68.5 80.7 + computeHmult Hopfield.Hopfield 1176 85068000 33.5 5.0 44.7 5.0 + computeH_.weighted.w Hopfield.Hopfield 1178 85068000 7.3 0.0 7.3 0.0 + computeHacc2 Hopfield.Hopfield 1177 85068000 3.9 0.0 3.9 0.0 + computeH_.p Hopfield.Hopfield 1172 4253400 0.0 0.0 0.0 0.0 + computeHvlength Hopfield.Hopfield 1171 4253400 0.0 0.0 0.0 0.0 + validWeightsPatternSize Hopfield.Hopfield 1162 35100 0.0 0.0 0.0 0.0 + validPattern Hopfield.Hopfield 1152 35100 0.1 0.0 0.1 0.0 + validWeights Hopfield.Hopfield 1134 35100 2.5 0.9 2.5 0.9 + validWeights.\ Hopfield.Hopfield 1145 702000 0.0 0.0 0.0 0.0 + validWeights.n Hopfield.Hopfield 1135 35100 0.0 0.0 0.0 0.0 + repeatedUpdate Hopfield.Hopfield 1132 351 0.0 0.0 0.0 0.0 + sampleHammingDistance Hopfield.Measurement 1130 351 0.4 0.3 5.8 6.2 + sampleHammingDistance.n Hopfield.Measurement 1160 351 0.0 0.0 0.0 0.0 + sampleHammingDistance.basePerm Hopfield.Measurement 1157 351 0.0 0.0 0.0 0.0 + toArray Hopfield.Util 1158 351 0.0 0.0 0.0 0.0 + toArray.l Hopfield.Util 1159 351 0.0 0.0 0.0 0.0 + sampleHammingDistance.multByPat Hopfield.Measurement 1153 35100 0.3 0.6 0.3 0.6 + sampleHammingDistance.coeffSamples Hopfield.Measurement 1131 351 0.1 0.1 5.1 5.3 + shuffle Hopfield.Util 1154 351 4.2 5.2 5.0 5.2 + shuffle.len Hopfield.Util 1156 351 0.0 0.0 0.0 0.0 + shuffle.shuffledArray Hopfield.Util 1155 35100 0.7 0.1 0.8 0.1 + shuffle.shuffledArray.\ Hopfield.Util 1161 702000 0.1 0.0 0.1 0.0 + samplePatternRing.numConverging Hopfield.Measurement 1129 182 0.0 0.0 0.0 0.0 + samplePatternBasin.n Hopfield.Measurement 1127 20 0.0 0.0 0.0 0.0 + average Hopfield.Util 1118 4 0.0 0.0 0.0 0.0 + oneIteration1.values Hopfield.ClusterExperiments 1110 2 0.0 0.0 0.0 0.0 + showsPrec Hopfield.ClusterExperiments 1105 1 0.0 0.0 0.0 0.0 + inbuiltBenchmarkOptions Main 1097 0 0.0 0.0 0.0 0.0 + recognizeOptions Main 1090 0 0.0 0.0 0.0 0.0 + CAF:main1 Main 1084 0 0.0 0.0 0.0 0.0 + main Main 1086 1 0.0 0.0 0.0 0.0 + CAF:main4 Main 1083 0 0.0 0.0 0.0 0.0 + main Main 1098 0 0.0 0.0 0.0 0.0 + CAF:main3 Main 1082 0 0.0 0.0 0.0 0.0 + main Main 1099 0 0.0 0.0 0.0 0.0 + CAF:recognizeArgParser Main 1062 0 0.0 0.0 0.0 0.0 + recognizeArgParser Main 1088 1 0.0 0.0 0.0 0.0 + CAF:recognizeOptions Main 1057 0 0.0 0.0 0.0 0.0 + recognizeOptions Main 1089 1 0.0 0.0 0.0 0.0 + CAF:recognizeOptions11 Main 1054 0 0.0 0.0 0.0 0.0 + recognizeOptions Main 1091 0 0.0 0.0 0.0 0.0 + CAF:inbuiltBenchmarkOptions Main 1048 0 0.0 0.0 0.0 0.0 + inbuiltBenchmarkOptions Main 1092 1 0.0 0.0 0.0 0.0 + CAF:inbuiltBenchmarkOptions1 Main 1047 0 0.0 0.0 0.0 0.0 + inbuiltBenchmarkOptions Main 1093 0 0.0 0.0 0.0 0.0 + CAF:inbuiltBenchmarkOptions4 Main 1046 0 0.0 0.0 0.0 0.0 + inbuiltBenchmarkOptions Main 1094 0 0.0 0.0 0.0 0.0 + CAF:inbuiltBenchmarkOptions5 Main 1045 0 0.0 0.0 0.0 0.0 + inbuiltBenchmarkOptions Main 1096 0 0.0 0.0 0.0 0.0 + CAF:inbuiltBenchmarkOptions8 Main 1042 0 0.0 0.0 0.0 0.0 + inbuiltBenchmarkOptions Main 1095 0 0.0 0.0 0.0 0.0 + CAF:getUpdatables1 Hopfield.Hopfield 941 0 0.0 0.0 0.0 0.0 + getUpdatables_ Hopfield.Hopfield 1169 0 0.0 0.0 0.0 0.0 + CAF:bench6 Hopfield.Benchmark 724 0 0.0 0.0 0.0 0.0 + bench2 Hopfield.Benchmark 1100 1 0.0 0.0 0.0 0.0 + CAF:bench7 Hopfield.Benchmark 723 0 0.0 0.0 0.0 0.0 + bench2 Hopfield.Benchmark 1102 0 0.0 0.0 0.0 0.0 + performAndPrint1 Hopfield.ClusterExperiments 1103 1 0.0 0.0 0.0 0.0 + CAF:lvl2_rNg7 Hopfield.ClusterExperiments 714 0 0.0 0.0 0.0 0.0 + performAndPrint1 Hopfield.ClusterExperiments 1108 0 0.0 0.0 0.0 0.0 + CAF:lvl1_rNg6 Hopfield.ClusterExperiments 713 0 0.0 0.0 0.0 0.0 + performAndPrint1 Hopfield.ClusterExperiments 1107 0 0.0 0.0 0.0 0.0 + CAF:lvl_rNg5 Hopfield.ClusterExperiments 712 0 0.0 0.0 0.0 0.0 + CAF:oneIteration1_$dMonadRandom Hopfield.ClusterExperiments 711 0 0.0 0.0 0.0 0.0 + CAF:$fShowExpType2 Hopfield.ClusterExperiments 705 0 0.0 0.0 0.0 0.0 + showsPrec Hopfield.ClusterExperiments 1106 0 0.0 0.0 0.0 0.0 + CAF Data.Random.Distribution.Normal 680 0 0.0 0.0 0.0 0.0 + CAF Options.Applicative.Extra 628 0 0.0 0.0 0.0 0.0 + CAF Options.Applicative.BashCompletion 623 0 0.0 0.0 0.0 0.0 + CAF System.Random 617 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Encoding 596 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Handle.FD 593 0 0.0 0.0 0.0 0.0 + CAF GHC.Show 592 0 0.0 0.0 0.0 0.0 + CAF GHC.Conc.Signal 588 0 0.0 0.0 0.0 0.0 + CAF GHC.Float 585 0 0.0 0.0 0.0 0.0 + CAF GHC.Float.ConversionUtils 584 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Encoding.Iconv 583 0 0.0 0.0 0.0 0.0 + CAF GHC.Event.Thread 563 0 0.0 0.0 0.0 0.0 + CAF GHC.Event.Internal 559 0 0.0 0.0 0.0 0.0 + CAF GHC.Integer.Logarithms.Internals 551 0 0.0 0.0 0.0 0.0 diff --git a/notes/profiles/recognize.prof-2549354-detailed b/notes/profiles/recognize.prof-2549354-detailed new file mode 100644 index 0000000..38f6fd0 --- /dev/null +++ b/notes/profiles/recognize.prof-2549354-detailed @@ -0,0 +1,132 @@ + Sun Jan 6 01:10 2013 Time and Allocation Profiling Report (Final) + + recognize +RTS -p -RTS inbuiltbench bench2 + + total time = 10.91 secs (10906 ticks @ 1000 us, 1 processor) + total alloc = 15,908,682,240 bytes (excludes profiling overheads) + +COST CENTRE MODULE %time %alloc + +computeHsum Hopfield.Hopfield 28.7 65.9 +randomElem Hopfield.Util 18.6 6.0 +computeHmult Hopfield.Hopfield 18.0 0.0 +*. Hopfield.Util 13.1 17.1 +shuffle Hopfield.Util 5.0 4.5 +validWeights Hopfield.Hopfield 3.9 0.8 +getUpdatables_ Hopfield.Hopfield 2.6 2.7 +getUpdatables_.new Hopfield.Hopfield 2.4 0.9 +computeH_ Hopfield.Hopfield 1.3 0.0 + + + individual inherited +COST CENTRE MODULE no. entries %time %alloc %time %alloc + +MAIN MAIN 149 0 0.0 0.0 100.0 100.0 + main Main 299 0 0.0 0.0 99.9 100.0 + bench2 Hopfield.Benchmark 306 0 0.0 0.0 99.9 100.0 + performAndPrint1 Hopfield.ClusterExperiments 308 0 0.0 0.0 99.9 100.0 + oneIteration1 Hopfield.ClusterExperiments 312 2 0.0 0.0 99.9 100.0 + oneIteration1.f Hopfield.ClusterExperiments 353 0 0.0 0.0 0.0 0.0 + oneIteration1.evaluatedFunction Hopfield.ClusterExperiments 317 2 0.0 0.0 0.0 0.0 + ./ Hopfield.Util 325 2 0.0 0.0 0.0 0.0 + oneIteration1.cs Hopfield.ClusterExperiments 315 2 0.0 0.0 0.0 0.0 + oneIteration1.unevaluated Hopfield.ClusterExperiments 314 2 0.0 0.0 99.9 100.0 + oneIteration1.f Hopfield.ClusterExperiments 316 4 0.0 0.0 99.9 100.0 + oneIteration1.evaluatedFunction Hopfield.ClusterExperiments 318 0 0.0 0.0 99.9 100.0 + basinsGivenStdT2 Hopfield.Clusters 319 4 0.0 0.0 99.9 100.0 + getGaussianCluster Hopfield.Clusters 324 4 0.0 0.0 0.0 0.0 + normal Hopfield.Util 352 4 0.0 0.0 0.0 0.0 + getGaussianCluster.encoding Hopfield.Clusters 328 20 0.0 0.0 0.0 0.0 + getGaussianCluster.valueAtIndex Hopfield.Clusters 351 400 0.0 0.0 0.0 0.0 + getGaussianCluster.smallerValue Hopfield.Clusters 354 178 0.0 0.0 0.0 0.0 + getGaussianCluster.patSize Hopfield.Clusters 326 4 0.0 0.0 0.0 0.0 + randomSignVector Hopfield.Util 322 4 0.0 0.0 0.0 0.0 + randomBinaryVector Hopfield.Util 323 4 0.0 0.0 0.0 0.0 + avgBasinsGivenPats Hopfield.Clusters 320 4 0.0 0.0 99.9 100.0 + avgBasinsGivenPats.hopfield Hopfield.Clusters 339 4 0.0 0.0 0.0 0.0 + buildHopfieldData Hopfield.Hopfield 340 4 0.0 0.0 0.0 0.0 + train Hopfield.Hopfield 344 4 0.0 0.0 0.0 0.0 + vector2D Hopfield.Util 347 4 0.0 0.0 0.0 0.0 + train.ws Hopfield.Hopfield 346 4 0.0 0.0 0.0 0.0 + ./. Hopfield.Util 350 1524 0.0 0.0 0.0 0.0 + train.w Hopfield.Hopfield 349 1600 0.0 0.0 0.0 0.0 + train.n Hopfield.Hopfield 345 4 0.0 0.0 0.0 0.0 + buildHopfieldData.trainingFunction Hopfield.Hopfield 343 4 0.0 0.0 0.0 0.0 + buildHopfieldData.\ Hopfield.Hopfield 342 20 0.0 0.0 0.0 0.0 + buildHopfieldData.first_len Hopfield.Hopfield 341 4 0.0 0.0 0.0 0.0 + measurePatternBasin Hopfield.Measurement 327 20 0.0 0.0 99.9 100.0 + samplePatternBasin Hopfield.Measurement 329 20 0.0 0.0 99.9 100.0 + samplePatternRing Hopfield.Measurement 331 351 0.2 0.1 99.9 100.0 + ./. Hopfield.Util 386 182 0.0 0.0 0.0 0.0 + checkWsPat Hopfield.Hopfield 336 35100 0.1 0.0 92.7 94.3 + repeatedUpdate Hopfield.Hopfield 366 0 0.0 0.0 88.6 93.5 + repeatedUpdate_ Hopfield.Hopfield 367 35100 0.0 0.0 88.6 93.5 + repeatUntilNothing Hopfield.Util 368 212670 1.0 0.2 88.5 93.4 + update_ Hopfield.Hopfield 369 212670 0.8 0.3 87.5 93.2 + randomElem Hopfield.Util 384 177570 18.6 6.0 18.6 6.0 + update_.flipAtIndex Hopfield.Hopfield 382 177570 0.9 0.4 1.0 0.4 + update_.flipAtIndex.\ Hopfield.Hopfield 385 177570 0.0 0.0 0.0 0.0 + update_.flipAtIndex.val Hopfield.Hopfield 383 177570 0.0 0.0 0.0 0.0 + update_.updatables Hopfield.Hopfield 370 212670 0.1 0.0 67.1 86.5 + getUpdatables_ Hopfield.Hopfield 371 212670 2.6 2.7 67.1 86.5 + getUpdatables_.new Hopfield.Hopfield 373 4253400 2.4 0.9 64.5 83.8 + computeH_ Hopfield.Hopfield 376 4253400 1.3 0.0 62.0 83.0 + computeHall Hopfield.Hopfield 381 4253400 0.3 0.0 0.3 0.0 + computeH_.weighted Hopfield.Hopfield 377 4253400 0.6 0.0 60.4 83.0 + computeHsum Hopfield.Hopfield 378 4253400 28.7 65.9 59.8 83.0 + computeHmult Hopfield.Hopfield 379 85068000 18.0 0.0 31.1 17.1 + *. Hopfield.Util 380 85068000 13.1 17.1 13.1 17.1 + computeH_.p Hopfield.Hopfield 375 4253400 0.0 0.0 0.0 0.0 + computeHvlength Hopfield.Hopfield 374 4253400 0.0 0.0 0.0 0.0 + validWeightsPatternSize Hopfield.Hopfield 365 35100 0.0 0.0 0.0 0.0 + validPattern Hopfield.Hopfield 355 35100 0.1 0.0 0.1 0.0 + validWeights Hopfield.Hopfield 337 35100 3.9 0.8 3.9 0.8 + validWeights.\ Hopfield.Hopfield 348 702000 0.0 0.0 0.0 0.0 + validWeights.n Hopfield.Hopfield 338 35100 0.0 0.0 0.0 0.0 + repeatedUpdate Hopfield.Hopfield 335 351 0.0 0.0 0.0 0.0 + sampleHammingDistance Hopfield.Measurement 333 351 0.5 0.5 6.8 5.6 + sampleHammingDistance.n Hopfield.Measurement 363 351 0.0 0.0 0.0 0.0 + sampleHammingDistance.basePerm Hopfield.Measurement 360 351 0.0 0.0 0.0 0.0 + toArray Hopfield.Util 361 351 0.0 0.0 0.0 0.0 + toArray.l Hopfield.Util 362 351 0.0 0.0 0.0 0.0 + sampleHammingDistance.multByPat Hopfield.Measurement 356 35100 0.3 0.5 0.3 0.5 + sampleHammingDistance.coeffSamples Hopfield.Measurement 334 351 0.1 0.1 6.0 4.6 + shuffle Hopfield.Util 357 351 5.0 4.5 6.0 4.6 + shuffle.len Hopfield.Util 359 351 0.0 0.0 0.0 0.0 + shuffle.shuffledArray Hopfield.Util 358 35100 0.6 0.1 1.0 0.1 + shuffle.shuffledArray.\ Hopfield.Util 364 702000 0.3 0.0 0.3 0.0 + samplePatternRing.numConverging Hopfield.Measurement 332 182 0.1 0.0 0.1 0.0 + samplePatternBasin.n Hopfield.Measurement 330 20 0.0 0.0 0.0 0.0 + average Hopfield.Util 321 4 0.0 0.0 0.0 0.0 + oneIteration1.values Hopfield.ClusterExperiments 313 2 0.0 0.0 0.0 0.0 + showsPrec Hopfield.ClusterExperiments 309 1 0.0 0.0 0.0 0.0 + inbuiltBenchmarkOptions Main 304 0 0.0 0.0 0.0 0.0 + recognizeOptions Main 302 0 0.0 0.0 0.0 0.0 + CAF Main 297 0 0.0 0.0 0.0 0.0 + inbuiltBenchmarkOptions Main 303 1 0.0 0.0 0.0 0.0 + recognizeOptions Main 301 1 0.0 0.0 0.0 0.0 + recognizeArgParser Main 300 1 0.0 0.0 0.0 0.0 + main Main 298 1 0.0 0.0 0.0 0.0 + CAF Hopfield.Hopfield 296 0 0.0 0.0 0.0 0.0 + getUpdatables_ Hopfield.Hopfield 372 0 0.0 0.0 0.0 0.0 + CAF Hopfield.Benchmark 290 0 0.0 0.0 0.0 0.0 + bench2 Hopfield.Benchmark 305 1 0.0 0.0 0.0 0.0 + performAndPrint1 Hopfield.ClusterExperiments 307 1 0.0 0.0 0.0 0.0 + CAF Hopfield.ClusterExperiments 289 0 0.0 0.0 0.0 0.0 + performAndPrint1 Hopfield.ClusterExperiments 311 0 0.0 0.0 0.0 0.0 + showsPrec Hopfield.ClusterExperiments 310 0 0.0 0.0 0.0 0.0 + CAF Data.Random.Distribution.Normal 286 0 0.1 0.0 0.1 0.0 + CAF Options.Applicative.Extra 234 0 0.0 0.0 0.0 0.0 + CAF Options.Applicative.BashCompletion 229 0 0.0 0.0 0.0 0.0 + CAF System.Random 223 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Encoding 202 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Handle.FD 199 0 0.0 0.0 0.0 0.0 + CAF GHC.Show 198 0 0.0 0.0 0.0 0.0 + CAF GHC.Conc.Signal 194 0 0.0 0.0 0.0 0.0 + CAF GHC.Float 191 0 0.0 0.0 0.0 0.0 + CAF GHC.Float.ConversionUtils 190 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Encoding.Iconv 189 0 0.0 0.0 0.0 0.0 + CAF GHC.Event.Thread 169 0 0.0 0.0 0.0 0.0 + CAF GHC.Event.Internal 165 0 0.0 0.0 0.0 0.0 + CAF GHC.Integer.Logarithms.Internals 157 0 0.0 0.0 0.0 0.0 + IDLE IDLE 150 0 0.0 0.0 0.0 0.0 diff --git a/notes/profiles/recognize.prof-2549354-detailed-more b/notes/profiles/recognize.prof-2549354-detailed-more new file mode 100644 index 0000000..99023f9 --- /dev/null +++ b/notes/profiles/recognize.prof-2549354-detailed-more @@ -0,0 +1,134 @@ + Sun Jan 6 02:04 2013 Time and Allocation Profiling Report (Final) + + recognize +RTS -p -RTS inbuiltbench bench2 + + total time = 16.59 secs (16590 ticks @ 1000 us, 1 processor) + total alloc = 15,908,682,240 bytes (excludes profiling overheads) + +COST CENTRE MODULE %time %alloc + +computeHmult Hopfield.Hopfield 35.8 0.0 +computeHsum Hopfield.Hopfield 19.6 65.9 +randomElem Hopfield.Util 12.7 6.0 +*. Hopfield.Util 10.5 17.1 +computeHacc1 Hopfield.Hopfield 3.7 0.0 +computeHacc2 Hopfield.Hopfield 3.6 0.0 +shuffle Hopfield.Util 3.5 4.5 +validWeights Hopfield.Hopfield 2.4 0.8 +getUpdatables_ Hopfield.Hopfield 1.7 2.7 +getUpdatables_.new Hopfield.Hopfield 1.5 0.9 + + + individual inherited +COST CENTRE MODULE no. entries %time %alloc %time %alloc + +MAIN MAIN 149 0 0.0 0.0 100.0 100.0 + main Main 299 0 0.0 0.0 100.0 100.0 + bench2 Hopfield.Benchmark 306 0 0.0 0.0 100.0 100.0 + performAndPrint1 Hopfield.ClusterExperiments 308 0 0.0 0.0 100.0 100.0 + oneIteration1 Hopfield.ClusterExperiments 312 2 0.0 0.0 100.0 100.0 + oneIteration1.f Hopfield.ClusterExperiments 353 0 0.0 0.0 0.0 0.0 + oneIteration1.evaluatedFunction Hopfield.ClusterExperiments 317 2 0.0 0.0 0.0 0.0 + ./ Hopfield.Util 325 2 0.0 0.0 0.0 0.0 + oneIteration1.cs Hopfield.ClusterExperiments 315 2 0.0 0.0 0.0 0.0 + oneIteration1.unevaluated Hopfield.ClusterExperiments 314 2 0.0 0.0 100.0 100.0 + oneIteration1.f Hopfield.ClusterExperiments 316 4 0.0 0.0 100.0 100.0 + oneIteration1.evaluatedFunction Hopfield.ClusterExperiments 318 0 0.0 0.0 100.0 100.0 + basinsGivenStdT2 Hopfield.Clusters 319 4 0.0 0.0 100.0 100.0 + getGaussianCluster Hopfield.Clusters 324 4 0.0 0.0 0.0 0.0 + normal Hopfield.Util 352 4 0.0 0.0 0.0 0.0 + getGaussianCluster.encoding Hopfield.Clusters 328 20 0.0 0.0 0.0 0.0 + getGaussianCluster.valueAtIndex Hopfield.Clusters 351 400 0.0 0.0 0.0 0.0 + getGaussianCluster.smallerValue Hopfield.Clusters 354 178 0.0 0.0 0.0 0.0 + getGaussianCluster.patSize Hopfield.Clusters 326 4 0.0 0.0 0.0 0.0 + randomSignVector Hopfield.Util 322 4 0.0 0.0 0.0 0.0 + randomBinaryVector Hopfield.Util 323 4 0.0 0.0 0.0 0.0 + avgBasinsGivenPats Hopfield.Clusters 320 4 0.0 0.0 100.0 100.0 + avgBasinsGivenPats.hopfield Hopfield.Clusters 339 4 0.0 0.0 0.0 0.0 + buildHopfieldData Hopfield.Hopfield 340 4 0.0 0.0 0.0 0.0 + train Hopfield.Hopfield 344 4 0.0 0.0 0.0 0.0 + vector2D Hopfield.Util 347 4 0.0 0.0 0.0 0.0 + train.ws Hopfield.Hopfield 346 4 0.0 0.0 0.0 0.0 + ./. Hopfield.Util 350 1524 0.0 0.0 0.0 0.0 + train.w Hopfield.Hopfield 349 1600 0.0 0.0 0.0 0.0 + train.n Hopfield.Hopfield 345 4 0.0 0.0 0.0 0.0 + buildHopfieldData.trainingFunction Hopfield.Hopfield 343 4 0.0 0.0 0.0 0.0 + buildHopfieldData.\ Hopfield.Hopfield 342 20 0.0 0.0 0.0 0.0 + buildHopfieldData.first_len Hopfield.Hopfield 341 4 0.0 0.0 0.0 0.0 + measurePatternBasin Hopfield.Measurement 327 20 0.0 0.0 100.0 100.0 + samplePatternBasin Hopfield.Measurement 329 20 0.0 0.0 100.0 100.0 + samplePatternRing Hopfield.Measurement 331 351 0.2 0.1 100.0 100.0 + ./. Hopfield.Util 388 182 0.0 0.0 0.0 0.0 + checkWsPat Hopfield.Hopfield 336 35100 0.0 0.0 94.9 94.3 + repeatedUpdate Hopfield.Hopfield 366 0 0.0 0.0 92.3 93.5 + repeatedUpdate_ Hopfield.Hopfield 367 35100 0.0 0.0 92.3 93.5 + repeatUntilNothing Hopfield.Util 368 212670 0.5 0.2 92.3 93.4 + update_ Hopfield.Hopfield 369 212670 0.6 0.3 91.8 93.2 + randomElem Hopfield.Util 386 177570 12.7 6.0 12.7 6.0 + update_.flipAtIndex Hopfield.Hopfield 384 177570 0.6 0.4 0.6 0.4 + update_.flipAtIndex.\ Hopfield.Hopfield 387 177570 0.0 0.0 0.0 0.0 + update_.flipAtIndex.val Hopfield.Hopfield 385 177570 0.0 0.0 0.0 0.0 + update_.updatables Hopfield.Hopfield 370 212670 0.1 0.0 77.8 86.5 + getUpdatables_ Hopfield.Hopfield 371 212670 1.7 2.7 77.8 86.5 + getUpdatables_.new Hopfield.Hopfield 373 4253400 1.5 0.9 76.1 83.8 + computeH_ Hopfield.Hopfield 376 4253400 1.0 0.0 74.6 83.0 + computeHall Hopfield.Hopfield 383 4253400 0.1 0.0 0.1 0.0 + computeH_.weighted Hopfield.Hopfield 377 4253400 0.4 0.0 73.5 83.0 + computeHsum Hopfield.Hopfield 378 4253400 19.6 65.9 73.2 83.0 + computeHmult Hopfield.Hopfield 379 85068000 35.8 0.0 53.6 17.1 + *. Hopfield.Util 382 85068000 10.5 17.1 10.5 17.1 + computeHacc2 Hopfield.Hopfield 381 85068000 3.6 0.0 3.6 0.0 + computeHacc1 Hopfield.Hopfield 380 85068000 3.7 0.0 3.7 0.0 + computeH_.p Hopfield.Hopfield 375 4253400 0.0 0.0 0.0 0.0 + computeHvlength Hopfield.Hopfield 374 4253400 0.0 0.0 0.0 0.0 + validWeightsPatternSize Hopfield.Hopfield 365 35100 0.0 0.0 0.0 0.0 + validPattern Hopfield.Hopfield 355 35100 0.1 0.0 0.1 0.0 + validWeights Hopfield.Hopfield 337 35100 2.4 0.8 2.4 0.8 + validWeights.\ Hopfield.Hopfield 348 702000 0.0 0.0 0.0 0.0 + validWeights.n Hopfield.Hopfield 338 35100 0.0 0.0 0.0 0.0 + repeatedUpdate Hopfield.Hopfield 335 351 0.0 0.0 0.0 0.0 + sampleHammingDistance Hopfield.Measurement 333 351 0.4 0.5 4.9 5.6 + sampleHammingDistance.n Hopfield.Measurement 363 351 0.0 0.0 0.0 0.0 + sampleHammingDistance.basePerm Hopfield.Measurement 360 351 0.0 0.0 0.0 0.0 + toArray Hopfield.Util 361 351 0.0 0.0 0.0 0.0 + toArray.l Hopfield.Util 362 351 0.0 0.0 0.0 0.0 + sampleHammingDistance.multByPat Hopfield.Measurement 356 35100 0.3 0.5 0.3 0.5 + sampleHammingDistance.coeffSamples Hopfield.Measurement 334 351 0.1 0.1 4.2 4.6 + shuffle Hopfield.Util 357 351 3.5 4.5 4.1 4.6 + shuffle.len Hopfield.Util 359 351 0.0 0.0 0.0 0.0 + shuffle.shuffledArray Hopfield.Util 358 35100 0.5 0.1 0.6 0.1 + shuffle.shuffledArray.\ Hopfield.Util 364 702000 0.1 0.0 0.1 0.0 + samplePatternRing.numConverging Hopfield.Measurement 332 182 0.1 0.0 0.1 0.0 + samplePatternBasin.n Hopfield.Measurement 330 20 0.0 0.0 0.0 0.0 + average Hopfield.Util 321 4 0.0 0.0 0.0 0.0 + oneIteration1.values Hopfield.ClusterExperiments 313 2 0.0 0.0 0.0 0.0 + showsPrec Hopfield.ClusterExperiments 309 1 0.0 0.0 0.0 0.0 + inbuiltBenchmarkOptions Main 304 0 0.0 0.0 0.0 0.0 + recognizeOptions Main 302 0 0.0 0.0 0.0 0.0 + CAF Main 297 0 0.0 0.0 0.0 0.0 + inbuiltBenchmarkOptions Main 303 1 0.0 0.0 0.0 0.0 + recognizeOptions Main 301 1 0.0 0.0 0.0 0.0 + recognizeArgParser Main 300 1 0.0 0.0 0.0 0.0 + main Main 298 1 0.0 0.0 0.0 0.0 + CAF Hopfield.Hopfield 296 0 0.0 0.0 0.0 0.0 + getUpdatables_ Hopfield.Hopfield 372 0 0.0 0.0 0.0 0.0 + CAF Hopfield.Benchmark 290 0 0.0 0.0 0.0 0.0 + bench2 Hopfield.Benchmark 305 1 0.0 0.0 0.0 0.0 + performAndPrint1 Hopfield.ClusterExperiments 307 1 0.0 0.0 0.0 0.0 + CAF Hopfield.ClusterExperiments 289 0 0.0 0.0 0.0 0.0 + performAndPrint1 Hopfield.ClusterExperiments 311 0 0.0 0.0 0.0 0.0 + showsPrec Hopfield.ClusterExperiments 310 0 0.0 0.0 0.0 0.0 + CAF Data.Random.Distribution.Normal 286 0 0.0 0.0 0.0 0.0 + CAF Options.Applicative.Extra 234 0 0.0 0.0 0.0 0.0 + CAF Options.Applicative.BashCompletion 229 0 0.0 0.0 0.0 0.0 + CAF System.Random 223 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Encoding 202 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Handle.FD 199 0 0.0 0.0 0.0 0.0 + CAF GHC.Show 198 0 0.0 0.0 0.0 0.0 + CAF GHC.Conc.Signal 194 0 0.0 0.0 0.0 0.0 + CAF GHC.Float 191 0 0.0 0.0 0.0 0.0 + CAF GHC.Float.ConversionUtils 190 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Encoding.Iconv 189 0 0.0 0.0 0.0 0.0 + CAF GHC.Event.Thread 169 0 0.0 0.0 0.0 0.0 + CAF GHC.Event.Internal 165 0 0.0 0.0 0.0 0.0 + CAF GHC.Integer.Logarithms.Internals 157 0 0.0 0.0 0.0 0.0 diff --git a/notes/profiles/recognize.prof-2549354-go b/notes/profiles/recognize.prof-2549354-go new file mode 100644 index 0000000..fda725a --- /dev/null +++ b/notes/profiles/recognize.prof-2549354-go @@ -0,0 +1,161 @@ + Sun Jan 6 02:58 2013 Time and Allocation Profiling Report (Final) + + recognize +RTS -p -RTS inbuiltbench bench2 + + total time = 21.16 secs (21165 ticks @ 1000 us, 1 processor) + total alloc = 2,706,128,640 bytes (excludes profiling overheads) + +COST CENTRE MODULE %time %alloc + +computeH_ Hopfield.Hopfield 50.1 0.0 +computeH_.go Hopfield.Hopfield 24.4 0.0 +randomElem Hopfield.Util 8.6 35.4 +computeH_.go.s' Hopfield.Hopfield 4.8 0.0 +shuffle Hopfield.Util 2.7 26.4 +computeH_.go.w Hopfield.Hopfield 2.5 0.0 +validWeights Hopfield.Hopfield 1.8 4.7 +getUpdatables_ Hopfield.Hopfield 1.4 15.6 +getUpdatables_.new Hopfield.Hopfield 1.2 5.0 +repeatUntilNothing Hopfield.Util 0.4 1.4 +update_.flipAtIndex Hopfield.Hopfield 0.4 2.2 +update_ Hopfield.Hopfield 0.3 1.7 +sampleHammingDistance Hopfield.Measurement 0.3 2.8 +sampleHammingDistance.multByPat Hopfield.Measurement 0.2 3.1 + + + individual inherited +COST CENTRE MODULE no. entries %time %alloc %time %alloc + +MAIN MAIN 541 0 0.0 0.0 100.0 100.0 + main Main 1083 0 0.0 0.0 100.0 100.0 + bench2 Hopfield.Benchmark 1097 0 0.0 0.0 100.0 100.0 + performAndPrint1 Hopfield.ClusterExperiments 1100 0 0.0 0.0 100.0 100.0 + oneIteration1 Hopfield.ClusterExperiments 1105 2 0.0 0.0 99.9 100.0 + oneIteration1.f Hopfield.ClusterExperiments 1146 0 0.0 0.0 0.0 0.0 + oneIteration1.evaluatedFunction Hopfield.ClusterExperiments 1110 2 0.0 0.0 0.0 0.0 + ./ Hopfield.Util 1118 2 0.0 0.0 0.0 0.0 + oneIteration1.cs Hopfield.ClusterExperiments 1108 2 0.0 0.0 0.0 0.0 + oneIteration1.unevaluated Hopfield.ClusterExperiments 1107 2 0.0 0.0 99.9 100.0 + oneIteration1.f Hopfield.ClusterExperiments 1109 4 0.0 0.0 99.9 100.0 + oneIteration1.evaluatedFunction Hopfield.ClusterExperiments 1111 0 0.0 0.0 99.9 100.0 + basinsGivenStdT2 Hopfield.Clusters 1112 4 0.0 0.0 99.9 100.0 + getGaussianCluster Hopfield.Clusters 1117 4 0.0 0.0 0.0 0.0 + normal Hopfield.Util 1145 4 0.0 0.0 0.0 0.0 + getGaussianCluster.encoding Hopfield.Clusters 1121 20 0.0 0.0 0.0 0.0 + getGaussianCluster.valueAtIndex Hopfield.Clusters 1144 400 0.0 0.0 0.0 0.0 + getGaussianCluster.smallerValue Hopfield.Clusters 1147 178 0.0 0.0 0.0 0.0 + getGaussianCluster.patSize Hopfield.Clusters 1119 4 0.0 0.0 0.0 0.0 + randomSignVector Hopfield.Util 1115 4 0.0 0.0 0.0 0.0 + randomBinaryVector Hopfield.Util 1116 4 0.0 0.0 0.0 0.0 + avgBasinsGivenPats Hopfield.Clusters 1113 4 0.0 0.0 99.9 100.0 + avgBasinsGivenPats.hopfield Hopfield.Clusters 1132 4 0.0 0.0 0.0 0.0 + buildHopfieldData Hopfield.Hopfield 1133 4 0.0 0.0 0.0 0.0 + train Hopfield.Hopfield 1137 4 0.0 0.0 0.0 0.0 + vector2D Hopfield.Util 1140 4 0.0 0.0 0.0 0.0 + train.ws Hopfield.Hopfield 1139 4 0.0 0.0 0.0 0.0 + ./. Hopfield.Util 1143 1524 0.0 0.0 0.0 0.0 + train.w Hopfield.Hopfield 1142 1600 0.0 0.0 0.0 0.0 + train.n Hopfield.Hopfield 1138 4 0.0 0.0 0.0 0.0 + buildHopfieldData.trainingFunction Hopfield.Hopfield 1136 4 0.0 0.0 0.0 0.0 + buildHopfieldData.\ Hopfield.Hopfield 1135 20 0.0 0.0 0.0 0.0 + buildHopfieldData.first_len Hopfield.Hopfield 1134 4 0.0 0.0 0.0 0.0 + measurePatternBasin Hopfield.Measurement 1120 20 0.0 0.0 99.9 99.9 + samplePatternBasin Hopfield.Measurement 1122 20 0.0 0.0 99.9 99.9 + samplePatternRing Hopfield.Measurement 1124 351 0.1 0.4 99.9 99.9 + ./. Hopfield.Util 1180 182 0.0 0.0 0.0 0.0 + checkWsPat Hopfield.Hopfield 1129 35100 0.0 0.0 96.1 66.3 + repeatedUpdate Hopfield.Hopfield 1159 0 0.0 0.0 94.2 61.5 + repeatedUpdate_ Hopfield.Hopfield 1160 35100 0.0 0.1 94.2 61.5 + repeatUntilNothing Hopfield.Util 1161 212670 0.4 1.4 94.2 61.4 + update_ Hopfield.Hopfield 1162 212670 0.3 1.7 93.8 60.0 + randomElem Hopfield.Util 1178 177570 8.6 35.4 8.6 35.4 + update_.flipAtIndex Hopfield.Hopfield 1176 177570 0.4 2.2 0.4 2.4 + update_.flipAtIndex.\ Hopfield.Hopfield 1179 177570 0.0 0.2 0.0 0.2 + update_.flipAtIndex.val Hopfield.Hopfield 1177 177570 0.0 0.0 0.0 0.0 + update_.updatables Hopfield.Hopfield 1163 212670 0.0 0.0 84.5 20.6 + getUpdatables_ Hopfield.Hopfield 1164 212670 1.4 15.6 84.5 20.6 + getUpdatables_.new Hopfield.Hopfield 1166 4253400 1.2 5.0 83.1 5.0 + computeH_ Hopfield.Hopfield 1169 4253400 50.1 0.0 81.9 0.0 + computeHall Hopfield.Hopfield 1175 4253400 0.1 0.0 0.1 0.0 + computeH_.go.s' Hopfield.Hopfield 1173 85068000 0.0 0.0 0.0 0.0 + computeH_.go Hopfield.Hopfield 1171 89321400 24.4 0.0 31.7 0.0 + computeH_.go.s' Hopfield.Hopfield 1174 0 4.8 0.0 4.8 0.0 + computeH_.go.w Hopfield.Hopfield 1172 85068000 2.5 0.0 2.5 0.0 + computeH_.weighted Hopfield.Hopfield 1170 4253400 0.0 0.0 0.0 0.0 + computeH_.p Hopfield.Hopfield 1168 4253400 0.0 0.0 0.0 0.0 + computeHvlength Hopfield.Hopfield 1167 4253400 0.0 0.0 0.0 0.0 + validWeightsPatternSize Hopfield.Hopfield 1158 35100 0.0 0.0 0.0 0.0 + validPattern Hopfield.Hopfield 1148 35100 0.0 0.0 0.0 0.0 + validWeights Hopfield.Hopfield 1130 35100 1.8 4.7 1.8 4.8 + validWeights.\ Hopfield.Hopfield 1141 702000 0.0 0.0 0.0 0.0 + validWeights.n Hopfield.Hopfield 1131 35100 0.0 0.0 0.0 0.0 + repeatedUpdate Hopfield.Hopfield 1128 351 0.0 0.0 0.0 0.0 + sampleHammingDistance Hopfield.Measurement 1126 351 0.3 2.8 3.7 33.2 + sampleHammingDistance.n Hopfield.Measurement 1156 351 0.0 0.0 0.0 0.0 + sampleHammingDistance.basePerm Hopfield.Measurement 1153 351 0.0 0.0 0.0 0.0 + toArray Hopfield.Util 1154 351 0.0 0.0 0.0 0.0 + toArray.l Hopfield.Util 1155 351 0.0 0.0 0.0 0.0 + sampleHammingDistance.multByPat Hopfield.Measurement 1149 35100 0.2 3.1 0.2 3.1 + sampleHammingDistance.coeffSamples Hopfield.Measurement 1127 351 0.0 0.4 3.2 27.2 + shuffle Hopfield.Util 1150 351 2.7 26.4 3.2 26.8 + shuffle.len Hopfield.Util 1152 351 0.0 0.0 0.0 0.0 + shuffle.shuffledArray Hopfield.Util 1151 35100 0.4 0.5 0.5 0.5 + shuffle.shuffledArray.\ Hopfield.Util 1157 702000 0.1 0.0 0.1 0.0 + samplePatternRing.numConverging Hopfield.Measurement 1125 182 0.0 0.0 0.0 0.0 + samplePatternBasin.n Hopfield.Measurement 1123 20 0.0 0.0 0.0 0.0 + average Hopfield.Util 1114 4 0.0 0.0 0.0 0.0 + oneIteration1.values Hopfield.ClusterExperiments 1106 2 0.0 0.0 0.0 0.0 + showsPrec Hopfield.ClusterExperiments 1101 1 0.0 0.0 0.0 0.0 + inbuiltBenchmarkOptions Main 1093 0 0.0 0.0 0.0 0.0 + recognizeOptions Main 1086 0 0.0 0.0 0.0 0.0 + CAF:main1 Main 1080 0 0.0 0.0 0.0 0.0 + main Main 1082 1 0.0 0.0 0.0 0.0 + CAF:main4 Main 1079 0 0.0 0.0 0.0 0.0 + main Main 1094 0 0.0 0.0 0.0 0.0 + CAF:main3 Main 1078 0 0.0 0.0 0.0 0.0 + main Main 1095 0 0.0 0.0 0.0 0.0 + CAF:recognizeArgParser Main 1058 0 0.0 0.0 0.0 0.0 + recognizeArgParser Main 1084 1 0.0 0.0 0.0 0.0 + CAF:recognizeOptions Main 1053 0 0.0 0.0 0.0 0.0 + recognizeOptions Main 1085 1 0.0 0.0 0.0 0.0 + CAF:recognizeOptions11 Main 1050 0 0.0 0.0 0.0 0.0 + recognizeOptions Main 1087 0 0.0 0.0 0.0 0.0 + CAF:inbuiltBenchmarkOptions Main 1044 0 0.0 0.0 0.0 0.0 + inbuiltBenchmarkOptions Main 1088 1 0.0 0.0 0.0 0.0 + CAF:inbuiltBenchmarkOptions1 Main 1043 0 0.0 0.0 0.0 0.0 + inbuiltBenchmarkOptions Main 1089 0 0.0 0.0 0.0 0.0 + CAF:inbuiltBenchmarkOptions4 Main 1042 0 0.0 0.0 0.0 0.0 + inbuiltBenchmarkOptions Main 1090 0 0.0 0.0 0.0 0.0 + CAF:inbuiltBenchmarkOptions5 Main 1041 0 0.0 0.0 0.0 0.0 + inbuiltBenchmarkOptions Main 1092 0 0.0 0.0 0.0 0.0 + CAF:inbuiltBenchmarkOptions8 Main 1038 0 0.0 0.0 0.0 0.0 + inbuiltBenchmarkOptions Main 1091 0 0.0 0.0 0.0 0.0 + CAF:getUpdatables1 Hopfield.Hopfield 937 0 0.0 0.0 0.0 0.0 + getUpdatables_ Hopfield.Hopfield 1165 0 0.0 0.0 0.0 0.0 + CAF:bench6 Hopfield.Benchmark 722 0 0.0 0.0 0.0 0.0 + bench2 Hopfield.Benchmark 1096 1 0.0 0.0 0.0 0.0 + CAF:bench7 Hopfield.Benchmark 721 0 0.0 0.0 0.0 0.0 + bench2 Hopfield.Benchmark 1098 0 0.0 0.0 0.0 0.0 + performAndPrint1 Hopfield.ClusterExperiments 1099 1 0.0 0.0 0.0 0.0 + CAF:lvl2_rqwX Hopfield.ClusterExperiments 712 0 0.0 0.0 0.0 0.0 + performAndPrint1 Hopfield.ClusterExperiments 1104 0 0.0 0.0 0.0 0.0 + CAF:lvl1_rqwW Hopfield.ClusterExperiments 711 0 0.0 0.0 0.0 0.0 + performAndPrint1 Hopfield.ClusterExperiments 1103 0 0.0 0.0 0.0 0.0 + CAF:lvl_rqwV Hopfield.ClusterExperiments 710 0 0.0 0.0 0.0 0.0 + CAF:oneIteration1_$dMonadRandom Hopfield.ClusterExperiments 709 0 0.0 0.0 0.0 0.0 + CAF:$fShowExpType2 Hopfield.ClusterExperiments 703 0 0.0 0.0 0.0 0.0 + showsPrec Hopfield.ClusterExperiments 1102 0 0.0 0.0 0.0 0.0 + CAF Data.Random.Distribution.Normal 678 0 0.0 0.0 0.0 0.0 + CAF Options.Applicative.Extra 626 0 0.0 0.0 0.0 0.0 + CAF Options.Applicative.BashCompletion 621 0 0.0 0.0 0.0 0.0 + CAF System.Random 615 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Encoding 594 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Handle.FD 591 0 0.0 0.0 0.0 0.0 + CAF GHC.Show 590 0 0.0 0.0 0.0 0.0 + CAF GHC.Conc.Signal 586 0 0.0 0.0 0.0 0.0 + CAF GHC.Float 583 0 0.0 0.0 0.0 0.0 + CAF GHC.Float.ConversionUtils 582 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Encoding.Iconv 581 0 0.0 0.0 0.0 0.0 + CAF GHC.Event.Thread 561 0 0.0 0.0 0.0 0.0 + CAF GHC.Event.Internal 557 0 0.0 0.0 0.0 0.0 + CAF GHC.Integer.Logarithms.Internals 549 0 0.0 0.0 0.0 0.0 diff --git a/notes/profiles/recognize.prof-2549354-if b/notes/profiles/recognize.prof-2549354-if new file mode 100644 index 0000000..e0ad691 --- /dev/null +++ b/notes/profiles/recognize.prof-2549354-if @@ -0,0 +1,133 @@ + Sun Jan 6 02:03 2013 Time and Allocation Profiling Report (Final) + + recognize +RTS -p -RTS inbuiltbench bench2 + + total time = 14.03 secs (14028 ticks @ 1000 us, 1 processor) + total alloc = 14,723,701,760 bytes (excludes profiling overheads) + +COST CENTRE MODULE %time %alloc + +computeHmult Hopfield.Hopfield 33.3 4.7 +computeHsum Hopfield.Hopfield 22.7 76.0 +randomElem Hopfield.Util 14.0 6.5 +computeH_.weighted.w Hopfield.Hopfield 9.8 0.0 +shuffle Hopfield.Util 4.1 4.8 +computeHacc2 Hopfield.Hopfield 3.6 0.0 +validWeights Hopfield.Hopfield 2.9 0.9 +getUpdatables_ Hopfield.Hopfield 2.0 2.9 +getUpdatables_.new Hopfield.Hopfield 1.8 1.8 +computeH_ Hopfield.Hopfield 1.1 0.0 + + + individual inherited +COST CENTRE MODULE no. entries %time %alloc %time %alloc + +MAIN MAIN 149 0 0.0 0.0 100.0 100.0 + main Main 299 0 0.0 0.0 99.9 100.0 + bench2 Hopfield.Benchmark 306 0 0.0 0.0 99.9 100.0 + performAndPrint1 Hopfield.ClusterExperiments 308 0 0.0 0.0 99.9 100.0 + oneIteration1 Hopfield.ClusterExperiments 312 2 0.0 0.0 99.9 100.0 + oneIteration1.f Hopfield.ClusterExperiments 353 0 0.0 0.0 0.0 0.0 + oneIteration1.evaluatedFunction Hopfield.ClusterExperiments 317 2 0.0 0.0 0.0 0.0 + ./ Hopfield.Util 325 2 0.0 0.0 0.0 0.0 + oneIteration1.cs Hopfield.ClusterExperiments 315 2 0.0 0.0 0.0 0.0 + oneIteration1.unevaluated Hopfield.ClusterExperiments 314 2 0.0 0.0 99.9 100.0 + oneIteration1.f Hopfield.ClusterExperiments 316 4 0.0 0.0 99.9 100.0 + oneIteration1.evaluatedFunction Hopfield.ClusterExperiments 318 0 0.0 0.0 99.9 100.0 + basinsGivenStdT2 Hopfield.Clusters 319 4 0.0 0.0 99.9 100.0 + getGaussianCluster Hopfield.Clusters 324 4 0.0 0.0 0.0 0.0 + normal Hopfield.Util 352 4 0.0 0.0 0.0 0.0 + getGaussianCluster.encoding Hopfield.Clusters 328 20 0.0 0.0 0.0 0.0 + getGaussianCluster.valueAtIndex Hopfield.Clusters 351 400 0.0 0.0 0.0 0.0 + getGaussianCluster.smallerValue Hopfield.Clusters 354 178 0.0 0.0 0.0 0.0 + getGaussianCluster.patSize Hopfield.Clusters 326 4 0.0 0.0 0.0 0.0 + randomSignVector Hopfield.Util 322 4 0.0 0.0 0.0 0.0 + randomBinaryVector Hopfield.Util 323 4 0.0 0.0 0.0 0.0 + avgBasinsGivenPats Hopfield.Clusters 320 4 0.0 0.0 99.9 100.0 + avgBasinsGivenPats.hopfield Hopfield.Clusters 339 4 0.0 0.0 0.0 0.0 + buildHopfieldData Hopfield.Hopfield 340 4 0.0 0.0 0.0 0.0 + train Hopfield.Hopfield 344 4 0.0 0.0 0.0 0.0 + vector2D Hopfield.Util 347 4 0.0 0.0 0.0 0.0 + train.ws Hopfield.Hopfield 346 4 0.0 0.0 0.0 0.0 + ./. Hopfield.Util 350 1524 0.0 0.0 0.0 0.0 + train.w Hopfield.Hopfield 349 1600 0.0 0.0 0.0 0.0 + train.n Hopfield.Hopfield 345 4 0.0 0.0 0.0 0.0 + buildHopfieldData.trainingFunction Hopfield.Hopfield 343 4 0.0 0.0 0.0 0.0 + buildHopfieldData.\ Hopfield.Hopfield 342 20 0.0 0.0 0.0 0.0 + buildHopfieldData.first_len Hopfield.Hopfield 341 4 0.0 0.0 0.0 0.0 + measurePatternBasin Hopfield.Measurement 327 20 0.0 0.0 99.9 100.0 + samplePatternBasin Hopfield.Measurement 329 20 0.0 0.0 99.9 100.0 + samplePatternRing Hopfield.Measurement 331 351 0.2 0.1 99.9 100.0 + ./. Hopfield.Util 387 182 0.0 0.0 0.0 0.0 + checkWsPat Hopfield.Hopfield 336 35100 0.1 0.0 94.2 93.8 + repeatedUpdate Hopfield.Hopfield 366 0 0.0 0.0 91.2 92.9 + repeatedUpdate_ Hopfield.Hopfield 367 35100 0.0 0.0 91.2 92.9 + repeatUntilNothing Hopfield.Util 368 212670 0.7 0.3 91.1 92.9 + update_ Hopfield.Hopfield 369 212670 0.6 0.3 90.5 92.7 + randomElem Hopfield.Util 385 177570 14.0 6.5 14.0 6.5 + update_.flipAtIndex Hopfield.Hopfield 383 177570 0.6 0.4 0.7 0.4 + update_.flipAtIndex.\ Hopfield.Hopfield 386 177570 0.0 0.0 0.0 0.0 + update_.flipAtIndex.val Hopfield.Hopfield 384 177570 0.0 0.0 0.0 0.0 + update_.updatables Hopfield.Hopfield 370 212670 0.0 0.0 75.2 85.4 + getUpdatables_ Hopfield.Hopfield 371 212670 2.0 2.9 75.2 85.4 + getUpdatables_.new Hopfield.Hopfield 373 4253400 1.8 1.8 73.2 82.5 + computeH_ Hopfield.Hopfield 376 4253400 1.1 0.0 71.4 80.7 + computeHall Hopfield.Hopfield 382 4253400 0.2 0.0 0.2 0.0 + computeH_.weighted Hopfield.Hopfield 377 4253400 0.6 0.0 70.1 80.7 + computeHsum Hopfield.Hopfield 378 4253400 22.7 76.0 69.5 80.7 + computeHmult Hopfield.Hopfield 379 85068000 33.3 4.7 46.8 4.7 + computeH_.weighted.w Hopfield.Hopfield 381 85068000 9.8 0.0 9.8 0.0 + computeHacc2 Hopfield.Hopfield 380 85068000 3.6 0.0 3.6 0.0 + computeH_.p Hopfield.Hopfield 375 4253400 0.0 0.0 0.0 0.0 + computeHvlength Hopfield.Hopfield 374 4253400 0.0 0.0 0.0 0.0 + validWeightsPatternSize Hopfield.Hopfield 365 35100 0.0 0.0 0.0 0.0 + validPattern Hopfield.Hopfield 355 35100 0.1 0.0 0.1 0.0 + validWeights Hopfield.Hopfield 337 35100 2.9 0.9 2.9 0.9 + validWeights.\ Hopfield.Hopfield 348 702000 0.0 0.0 0.0 0.0 + validWeights.n Hopfield.Hopfield 338 35100 0.0 0.0 0.0 0.0 + repeatedUpdate Hopfield.Hopfield 335 351 0.0 0.0 0.0 0.0 + sampleHammingDistance Hopfield.Measurement 333 351 0.4 0.5 5.5 6.1 + sampleHammingDistance.n Hopfield.Measurement 363 351 0.0 0.0 0.0 0.0 + sampleHammingDistance.basePerm Hopfield.Measurement 360 351 0.0 0.0 0.0 0.0 + toArray Hopfield.Util 361 351 0.0 0.0 0.0 0.0 + toArray.l Hopfield.Util 362 351 0.0 0.0 0.0 0.0 + sampleHammingDistance.multByPat Hopfield.Measurement 356 35100 0.2 0.6 0.2 0.6 + sampleHammingDistance.coeffSamples Hopfield.Measurement 334 351 0.1 0.1 4.9 5.0 + shuffle Hopfield.Util 357 351 4.1 4.8 4.8 4.9 + shuffle.len Hopfield.Util 359 351 0.0 0.0 0.0 0.0 + shuffle.shuffledArray Hopfield.Util 358 35100 0.6 0.1 0.8 0.1 + shuffle.shuffledArray.\ Hopfield.Util 364 702000 0.2 0.0 0.2 0.0 + samplePatternRing.numConverging Hopfield.Measurement 332 182 0.1 0.0 0.1 0.0 + samplePatternBasin.n Hopfield.Measurement 330 20 0.0 0.0 0.0 0.0 + average Hopfield.Util 321 4 0.0 0.0 0.0 0.0 + oneIteration1.values Hopfield.ClusterExperiments 313 2 0.0 0.0 0.0 0.0 + showsPrec Hopfield.ClusterExperiments 309 1 0.0 0.0 0.0 0.0 + inbuiltBenchmarkOptions Main 304 0 0.0 0.0 0.0 0.0 + recognizeOptions Main 302 0 0.0 0.0 0.0 0.0 + CAF Main 297 0 0.0 0.0 0.0 0.0 + inbuiltBenchmarkOptions Main 303 1 0.0 0.0 0.0 0.0 + recognizeOptions Main 301 1 0.0 0.0 0.0 0.0 + recognizeArgParser Main 300 1 0.0 0.0 0.0 0.0 + main Main 298 1 0.0 0.0 0.0 0.0 + CAF Hopfield.Hopfield 296 0 0.0 0.0 0.0 0.0 + getUpdatables_ Hopfield.Hopfield 372 0 0.0 0.0 0.0 0.0 + CAF Hopfield.Benchmark 290 0 0.0 0.0 0.0 0.0 + bench2 Hopfield.Benchmark 305 1 0.0 0.0 0.0 0.0 + performAndPrint1 Hopfield.ClusterExperiments 307 1 0.0 0.0 0.0 0.0 + CAF Hopfield.ClusterExperiments 289 0 0.0 0.0 0.0 0.0 + performAndPrint1 Hopfield.ClusterExperiments 311 0 0.0 0.0 0.0 0.0 + showsPrec Hopfield.ClusterExperiments 310 0 0.0 0.0 0.0 0.0 + CAF Data.Random.Distribution.Normal 286 0 0.1 0.0 0.1 0.0 + CAF Options.Applicative.Extra 234 0 0.0 0.0 0.0 0.0 + CAF Options.Applicative.BashCompletion 229 0 0.0 0.0 0.0 0.0 + CAF System.Random 223 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Encoding 202 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Handle.FD 199 0 0.0 0.0 0.0 0.0 + CAF GHC.Show 198 0 0.0 0.0 0.0 0.0 + CAF GHC.Conc.Signal 194 0 0.0 0.0 0.0 0.0 + CAF GHC.Float 191 0 0.0 0.0 0.0 0.0 + CAF GHC.Float.ConversionUtils 190 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Encoding.Iconv 189 0 0.0 0.0 0.0 0.0 + CAF GHC.Event.Thread 169 0 0.0 0.0 0.0 0.0 + CAF GHC.Event.Internal 165 0 0.0 0.0 0.0 0.0 + CAF GHC.Integer.Logarithms.Internals 157 0 0.0 0.0 0.0 0.0 diff --git a/notes/profiles/recognize.prof-unboxedvector-hopfield b/notes/profiles/recognize.prof-unboxedvector-hopfield new file mode 100644 index 0000000..bccae50 --- /dev/null +++ b/notes/profiles/recognize.prof-unboxedvector-hopfield @@ -0,0 +1,163 @@ + Sun Jan 6 05:34 2013 Time and Allocation Profiling Report (Final) + + recognize +RTS -p -RTS inbuiltbench bench2 + + total time = 9.59 secs (9589 ticks @ 1000 us, 1 processor) + total alloc = 13,366,787,320 bytes (excludes profiling overheads) + +COST CENTRE MODULE %time %alloc + +computeH_.weighted Hopfield.Hopfield 45.5 72.9 +randomElem Hopfield.Util 21.1 7.2 +computeH_.weighted.w Hopfield.Hopfield 7.8 5.0 +shuffle Hopfield.Util 5.3 5.3 +validWeights Hopfield.Hopfield 4.3 1.0 +getUpdatables_ Hopfield.Hopfield 2.5 2.7 +unboxInner Hopfield.Hopfield 2.3 1.8 +computeH_ Hopfield.Hopfield 1.8 1.0 +getUpdatables_.new Hopfield.Hopfield 1.5 0.0 +computeH_.ws_row Hopfield.Hopfield 1.3 0.0 + + + individual inherited +COST CENTRE MODULE no. entries %time %alloc %time %alloc + +MAIN MAIN 540 0 0.0 0.0 100.0 100.0 + main Main 1081 0 0.0 0.0 99.9 100.0 + bench2 Hopfield.Benchmark 1095 0 0.0 0.0 99.9 100.0 + performAndPrint1 Hopfield.ClusterExperiments 1098 0 0.0 0.0 99.9 100.0 + oneIteration1 Hopfield.ClusterExperiments 1103 2 0.0 0.0 99.9 100.0 + oneIteration1.f Hopfield.ClusterExperiments 1144 0 0.0 0.0 0.0 0.0 + oneIteration1.evaluatedFunction Hopfield.ClusterExperiments 1108 2 0.0 0.0 0.0 0.0 + ./ Hopfield.Util 1116 2 0.0 0.0 0.0 0.0 + oneIteration1.cs Hopfield.ClusterExperiments 1106 2 0.0 0.0 0.0 0.0 + oneIteration1.unevaluated Hopfield.ClusterExperiments 1105 2 0.0 0.0 99.9 100.0 + oneIteration1.f Hopfield.ClusterExperiments 1107 4 0.0 0.0 99.9 100.0 + oneIteration1.evaluatedFunction Hopfield.ClusterExperiments 1109 0 0.0 0.0 99.9 100.0 + basinsGivenStdT2 Hopfield.Clusters 1110 4 0.0 0.0 99.9 100.0 + getGaussianCluster Hopfield.Clusters 1115 4 0.0 0.0 0.0 0.0 + normal Hopfield.Util 1143 4 0.0 0.0 0.0 0.0 + getGaussianCluster.encoding Hopfield.Clusters 1119 20 0.0 0.0 0.0 0.0 + getGaussianCluster.valueAtIndex Hopfield.Clusters 1142 400 0.0 0.0 0.0 0.0 + getGaussianCluster.smallerValue Hopfield.Clusters 1145 178 0.0 0.0 0.0 0.0 + getGaussianCluster.patSize Hopfield.Clusters 1117 4 0.0 0.0 0.0 0.0 + randomSignVector Hopfield.Util 1113 4 0.0 0.0 0.0 0.0 + randomBinaryVector Hopfield.Util 1114 4 0.0 0.0 0.0 0.0 + avgBasinsGivenPats Hopfield.Clusters 1111 4 0.0 0.0 99.9 100.0 + avgBasinsGivenPats.hopfield Hopfield.Clusters 1130 4 0.0 0.0 0.0 0.0 + buildHopfieldData Hopfield.Hopfield 1131 4 0.0 0.0 0.0 0.0 + train Hopfield.Hopfield 1135 4 0.0 0.0 0.0 0.0 + vector2D Hopfield.Util 1138 4 0.0 0.0 0.0 0.0 + train.ws Hopfield.Hopfield 1137 4 0.0 0.0 0.0 0.0 + ./. Hopfield.Util 1141 1524 0.0 0.0 0.0 0.0 + train.w Hopfield.Hopfield 1140 1600 0.0 0.0 0.0 0.0 + train.n Hopfield.Hopfield 1136 4 0.0 0.0 0.0 0.0 + buildHopfieldData.trainingFunction Hopfield.Hopfield 1134 4 0.0 0.0 0.0 0.0 + buildHopfieldData.\ Hopfield.Hopfield 1133 20 0.0 0.0 0.0 0.0 + buildHopfieldData.first_len Hopfield.Hopfield 1132 4 0.0 0.0 0.0 0.0 + measurePatternBasin Hopfield.Measurement 1118 20 0.0 0.0 99.9 100.0 + samplePatternBasin Hopfield.Measurement 1120 20 0.0 0.0 99.9 100.0 + samplePatternRing Hopfield.Measurement 1122 351 0.3 0.1 99.9 100.0 + ./. Hopfield.Util 1182 182 0.0 0.0 0.0 0.0 + checkWsPat Hopfield.Hopfield 1127 35100 0.1 0.0 92.0 93.2 + repeatedUpdate Hopfield.Hopfield 1157 0 0.0 0.0 87.4 92.2 + repeatedUpdate.\ Hopfield.Hopfield 1158 35100 0.3 0.1 87.4 92.2 + unboxInner Hopfield.Hopfield 1177 0 2.3 1.8 2.3 1.8 + unbox Hopfield.Hopfield 1168 0 0.2 0.1 0.2 0.1 + repeatedUpdate_ Hopfield.Hopfield 1162 35100 0.0 0.0 84.5 90.2 + repeatUntilNothing Hopfield.Util 1163 212670 0.9 0.3 84.5 90.2 + update_ Hopfield.Hopfield 1164 212670 0.9 0.3 83.6 89.9 + randomElem Hopfield.Util 1180 177570 21.1 7.2 21.1 7.2 + update_.flipAtIndex Hopfield.Hopfield 1178 177570 0.8 0.3 0.9 0.4 + update_.flipAtIndex.\ Hopfield.Hopfield 1181 177570 0.1 0.0 0.1 0.0 + update_.flipAtIndex.val Hopfield.Hopfield 1179 177570 0.0 0.0 0.0 0.0 + update_.updatables Hopfield.Hopfield 1165 212670 0.0 0.0 60.8 82.1 + getUpdatables_ Hopfield.Hopfield 1166 212670 2.5 2.7 60.8 82.1 + getUpdatables_.new Hopfield.Hopfield 1170 4253400 1.5 0.0 58.2 79.4 + computeH_ Hopfield.Hopfield 1171 4253400 1.8 1.0 56.7 79.4 + computeH_.ws_row Hopfield.Hopfield 1175 4253400 1.3 0.0 1.3 0.0 + computeH_.weighted Hopfield.Hopfield 1173 4253400 45.5 72.9 53.3 77.9 + computeH_.weighted.w Hopfield.Hopfield 1174 85068000 7.8 5.0 7.8 5.0 + computeH_.p Hopfield.Hopfield 1172 4253400 0.3 0.5 0.3 0.5 + box Hopfield.Hopfield 1161 0 0.2 0.1 0.2 0.1 + validWeightsPatternSize Hopfield.Hopfield 1156 35100 0.0 0.0 0.0 0.0 + validPattern Hopfield.Hopfield 1146 35100 0.2 0.0 0.2 0.0 + validWeights Hopfield.Hopfield 1128 35100 4.3 1.0 4.3 1.0 + validWeights.\ Hopfield.Hopfield 1139 702000 0.0 0.0 0.0 0.0 + validWeights.n Hopfield.Hopfield 1129 35100 0.0 0.0 0.0 0.0 + repeatedUpdate Hopfield.Hopfield 1126 351 0.0 0.0 0.0 0.0 + sampleHammingDistance Hopfield.Measurement 1124 351 0.8 0.6 7.6 6.7 + sampleHammingDistance.n Hopfield.Measurement 1154 351 0.0 0.0 0.0 0.0 + sampleHammingDistance.basePerm Hopfield.Measurement 1151 351 0.0 0.0 0.0 0.0 + toArray Hopfield.Util 1152 351 0.0 0.0 0.0 0.0 + toArray.l Hopfield.Util 1153 351 0.0 0.0 0.0 0.0 + sampleHammingDistance.multByPat Hopfield.Measurement 1147 35100 0.4 0.6 0.4 0.6 + sampleHammingDistance.coeffSamples Hopfield.Measurement 1125 351 0.1 0.1 6.4 5.5 + shuffle Hopfield.Util 1148 351 5.3 5.3 6.4 5.4 + shuffle.len Hopfield.Util 1150 351 0.0 0.0 0.0 0.0 + shuffle.shuffledArray Hopfield.Util 1149 35100 0.8 0.1 1.1 0.1 + shuffle.shuffledArray.\ Hopfield.Util 1155 702000 0.3 0.0 0.3 0.0 + samplePatternRing.numConverging Hopfield.Measurement 1123 182 0.0 0.0 0.0 0.0 + samplePatternBasin.n Hopfield.Measurement 1121 20 0.0 0.0 0.0 0.0 + average Hopfield.Util 1112 4 0.0 0.0 0.0 0.0 + oneIteration1.values Hopfield.ClusterExperiments 1104 2 0.0 0.0 0.0 0.0 + showsPrec Hopfield.ClusterExperiments 1099 1 0.0 0.0 0.0 0.0 + inbuiltBenchmarkOptions Main 1091 0 0.0 0.0 0.0 0.0 + recognizeOptions Main 1084 0 0.0 0.0 0.0 0.0 + CAF:main1 Main 1078 0 0.0 0.0 0.0 0.0 + main Main 1080 1 0.0 0.0 0.0 0.0 + CAF:main4 Main 1077 0 0.0 0.0 0.0 0.0 + main Main 1092 0 0.0 0.0 0.0 0.0 + CAF:main3 Main 1076 0 0.0 0.0 0.0 0.0 + main Main 1093 0 0.0 0.0 0.0 0.0 + CAF:recognizeArgParser Main 1056 0 0.0 0.0 0.0 0.0 + recognizeArgParser Main 1082 1 0.0 0.0 0.0 0.0 + CAF:recognizeOptions Main 1051 0 0.0 0.0 0.0 0.0 + recognizeOptions Main 1083 1 0.0 0.0 0.0 0.0 + CAF:recognizeOptions11 Main 1048 0 0.0 0.0 0.0 0.0 + recognizeOptions Main 1085 0 0.0 0.0 0.0 0.0 + CAF:inbuiltBenchmarkOptions Main 1042 0 0.0 0.0 0.0 0.0 + inbuiltBenchmarkOptions Main 1086 1 0.0 0.0 0.0 0.0 + CAF:inbuiltBenchmarkOptions1 Main 1041 0 0.0 0.0 0.0 0.0 + inbuiltBenchmarkOptions Main 1087 0 0.0 0.0 0.0 0.0 + CAF:inbuiltBenchmarkOptions4 Main 1040 0 0.0 0.0 0.0 0.0 + inbuiltBenchmarkOptions Main 1088 0 0.0 0.0 0.0 0.0 + CAF:inbuiltBenchmarkOptions5 Main 1039 0 0.0 0.0 0.0 0.0 + inbuiltBenchmarkOptions Main 1090 0 0.0 0.0 0.0 0.0 + CAF:inbuiltBenchmarkOptions8 Main 1036 0 0.0 0.0 0.0 0.0 + inbuiltBenchmarkOptions Main 1089 0 0.0 0.0 0.0 0.0 + CAF:getUpdatables2 Hopfield.Hopfield 937 0 0.0 0.0 0.0 0.0 + getUpdatables_ Hopfield.Hopfield 1169 0 0.0 0.0 0.0 0.0 + CAF:unboxInner Hopfield.Hopfield 904 0 0.0 0.0 0.0 0.0 + unboxInner Hopfield.Hopfield 1176 1 0.0 0.0 0.0 0.0 + CAF:box Hopfield.Hopfield 903 0 0.0 0.0 0.0 0.0 + box Hopfield.Hopfield 1160 1 0.0 0.0 0.0 0.0 + CAF:unbox Hopfield.Hopfield 902 0 0.0 0.0 0.0 0.0 + unbox Hopfield.Hopfield 1167 1 0.0 0.0 0.0 0.0 + CAF:bench6 Hopfield.Benchmark 721 0 0.0 0.0 0.0 0.0 + bench2 Hopfield.Benchmark 1094 1 0.0 0.0 0.0 0.0 + CAF:bench7 Hopfield.Benchmark 720 0 0.0 0.0 0.0 0.0 + bench2 Hopfield.Benchmark 1096 0 0.0 0.0 0.0 0.0 + performAndPrint1 Hopfield.ClusterExperiments 1097 1 0.0 0.0 0.0 0.0 + CAF:lvl2_rN0P Hopfield.ClusterExperiments 711 0 0.0 0.0 0.0 0.0 + performAndPrint1 Hopfield.ClusterExperiments 1102 0 0.0 0.0 0.0 0.0 + CAF:lvl1_rN0O Hopfield.ClusterExperiments 710 0 0.0 0.0 0.0 0.0 + performAndPrint1 Hopfield.ClusterExperiments 1101 0 0.0 0.0 0.0 0.0 + CAF:lvl_rN0N Hopfield.ClusterExperiments 709 0 0.0 0.0 0.0 0.0 + CAF:oneIteration1_$dMonadRandom Hopfield.ClusterExperiments 708 0 0.0 0.0 0.0 0.0 + CAF:$fShowExpType2 Hopfield.ClusterExperiments 702 0 0.0 0.0 0.0 0.0 + showsPrec Hopfield.ClusterExperiments 1100 0 0.0 0.0 0.0 0.0 + CAF Data.Random.Distribution.Normal 677 0 0.1 0.0 0.1 0.0 + CAF Options.Applicative.Extra 625 0 0.0 0.0 0.0 0.0 + CAF Options.Applicative.BashCompletion 620 0 0.0 0.0 0.0 0.0 + CAF System.Random 614 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Encoding 593 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Handle.FD 590 0 0.0 0.0 0.0 0.0 + CAF GHC.Show 589 0 0.0 0.0 0.0 0.0 + CAF GHC.Conc.Signal 585 0 0.0 0.0 0.0 0.0 + CAF GHC.Float 582 0 0.0 0.0 0.0 0.0 + CAF GHC.Float.ConversionUtils 581 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Encoding.Iconv 580 0 0.0 0.0 0.0 0.0 + CAF GHC.Event.Thread 560 0 0.0 0.0 0.0 0.0 + CAF GHC.Event.Internal 556 0 0.0 0.0 0.0 0.0 + CAF GHC.Integer.Logarithms.Internals 548 0 0.0 0.0 0.0 0.0 diff --git a/notes/profiles/tests.prof b/notes/profiles/tests.prof new file mode 100644 index 0000000..9145cf9 --- /dev/null +++ b/notes/profiles/tests.prof @@ -0,0 +1,678 @@ + Fri Jan 4 22:50 2013 Time and Allocation Profiling Report (Final) + + tests +RTS -p -RTS + + total time = 16.72 secs (16719 ticks @ 1000 us, 1 processor) + total alloc = 17,833,298,152 bytes (excludes profiling overheads) + +COST CENTRE MODULE %time %alloc + +storkeyHiddenSum Hopfield 17.8 21.7 +energy_.s Hopfield 13.2 11.9 +validWeights Hopfield 12.3 1.0 +updateNeuron RestrictedBoltzmannMachine 11.5 6.4 +*. Util 8.6 13.9 +train.w Hopfield 4.9 6.8 +getActivationProbability.a RestrictedBoltzmannMachine 3.9 6.2 +computeH_.weighted Hopfield 3.4 7.7 +combine Util 1.8 3.1 +signGen Utils 1.5 1.9 +vector2D Util 1.3 1.6 +patternGen Utils 1.2 2.0 +updateWeightsGivenIndicesStorkey Hopfield 1.1 0.6 +getCounterPattern RestrictedBoltzmannMachine 1.1 0.9 +updateWeights.pos RestrictedBoltzmannMachine 0.9 1.6 +updateWeights.neg RestrictedBoltzmannMachine 0.8 1.6 +updateWeights.d_ws RestrictedBoltzmannMachine 0.7 1.3 +toGenVector Utils 0.6 1.0 + + + individual inherited +COST CENTRE MODULE no. entries %time %alloc %time %alloc + +MAIN MAIN 166 0 0.0 0.0 100.0 100.0 + main Main 333 0 0.0 0.0 100.0 100.0 + testMeasurement TestMeasurement 927 0 0.2 0.0 1.0 1.0 + testMeasurement.genPatternAndRadius TestMeasurement 938 0 0.0 0.0 0.0 0.1 + patternRangeGen Utils 939 0 0.0 0.0 0.0 0.1 + patternGen Utils 940 100 0.0 0.0 0.0 0.0 + toGenVector Utils 941 100 0.0 0.0 0.0 0.0 + signGen Utils 955 0 0.0 0.0 0.0 0.0 + testMeasurement.testHamming TestMeasurement 928 100 0.0 0.0 0.8 0.9 + testMeasurement.testHamming.hasRDiffs TestMeasurement 935 2500 0.0 0.0 0.1 0.1 + numDiffs Util 942 2500 0.1 0.0 0.1 0.0 + sampleHammingDistance Measurement 931 100 0.0 0.0 0.0 0.0 + sampleHammingDistance.multByPat Measurement 954 0 0.0 0.0 0.0 0.0 + sampleHammingDistance.n Measurement 951 100 0.0 0.0 0.0 0.0 + sampleHammingDistance.basePerm Measurement 948 100 0.0 0.0 0.0 0.0 + toArray Util 949 100 0.0 0.0 0.0 0.0 + toArray.l Util 950 100 0.0 0.0 0.0 0.0 + sampleHammingDistance.coeffSamples Measurement 933 100 0.0 0.0 0.0 0.0 + shuffle Util 944 100 0.0 0.0 0.0 0.0 + shuffle.len Util 947 100 0.0 0.0 0.0 0.0 + shuffle.shuffledArray Util 946 0 0.0 0.0 0.0 0.0 + evalRandGen Utils 930 100 0.0 0.0 0.7 0.9 + sampleHammingDistance Measurement 932 0 0.0 0.1 0.7 0.9 + sampleHammingDistance.multByPat Measurement 943 2500 0.0 0.1 0.0 0.1 + sampleHammingDistance.coeffSamples Measurement 934 0 0.0 0.0 0.6 0.7 + shuffle Util 945 0 0.5 0.7 0.6 0.7 + shuffle.shuffledArray Util 952 2500 0.1 0.0 0.1 0.0 + shuffle.shuffledArray.\ Util 953 126325 0.0 0.0 0.0 0.0 + testUtil TestUtil 916 0 0.2 0.0 0.2 0.0 + binaryCheck Utils 920 100 0.0 0.0 0.0 0.0 + binaryCheck.refold Utils 923 100 0.0 0.0 0.0 0.0 + binaryCheck.bits Utils 921 100 0.0 0.0 0.0 0.0 + toBinary Util 922 100 0.0 0.0 0.0 0.0 + buildIntTuple Utils 918 0 0.0 0.0 0.0 0.0 + buildIntTuple.min_size Utils 919 100 0.0 0.0 0.0 0.0 + testHopfield TestHopfield 562 0 0.0 0.0 70.1 70.2 + forAllMethods TestHopfield 563 0 0.0 0.0 70.1 70.2 + forAllMethods.\ TestHopfield 564 0 0.0 0.0 70.1 70.2 + testHopfield.\ TestHopfield 836 0 0.4 0.0 25.2 26.5 + energyDecreasesAfterUpdate Utils 839 200 0.0 0.0 23.7 25.0 + energyDecreasesAfterUpdate.ws Utils 846 194 0.0 0.0 10.2 12.9 + buildHopfieldData Hopfield 847 194 0.0 0.0 10.2 12.9 + trainStorkey.start_ws Hopfield 901 98 0.0 0.0 0.0 0.0 + trainStorkey Hopfield 900 98 0.0 0.0 7.9 9.9 + updateWeightsStorkey Hopfield 905 963 0.1 0.3 7.9 9.9 + updateWeightsGivenIndicesStorkey Hopfield 907 304206 0.4 0.2 7.7 9.5 + updateWeightsGivenIndicesStorkey.h Hopfield 911 932 0.1 0.0 7.3 9.2 + storkeyHiddenSum Hopfield 912 605300 5.7 7.0 7.2 9.2 + *. Util 914 12566616 1.5 2.3 1.5 2.3 + storkeyHiddenSum.n Hopfield 913 932 0.0 0.0 0.0 0.0 + *. Util 910 605300 0.1 0.1 0.1 0.1 + ./. Util 909 932 0.0 0.0 0.0 0.0 + updateWeightsGivenIndicesStorkey.n Hopfield 908 932 0.0 0.0 0.0 0.0 + vector2D Util 906 963 0.1 0.1 0.1 0.1 + updateWeightsStorkey.n Hopfield 904 963 0.0 0.0 0.0 0.0 + trainStorkey.start_ws Hopfield 902 0 0.0 0.0 0.0 0.0 + vector2D Util 903 98 0.0 0.0 0.0 0.0 + trainStorkey.n Hopfield 899 98 0.0 0.0 0.0 0.0 + train Hopfield 860 96 0.0 0.0 2.3 3.0 + vector2D Util 863 96 0.1 0.1 0.1 0.1 + train.ws Hopfield 862 96 0.1 0.2 2.2 2.9 + ./. Util 866 370472 0.1 0.1 0.1 0.1 + train.w Hopfield 865 375615 2.0 2.6 2.0 2.6 + train.n Hopfield 861 96 0.0 0.0 0.0 0.0 + buildHopfieldData.trainingFunction Hopfield 859 194 0.0 0.0 0.0 0.0 + buildHopfieldData.\ Hopfield 858 2033 0.0 0.0 0.0 0.0 + buildHopfieldData.first_len Hopfield 853 194 0.0 0.0 0.0 0.0 + energyDecreasesAfterUpdate.\ Utils 840 2059 0.0 0.0 13.5 12.1 + energyDecreasesAfterUpdate.energyDecreases Utils 841 2059 0.0 0.0 13.5 12.1 + energyDecreasesAfterUpdate.check Utils 881 1998 0.0 0.0 10.3 7.9 + energy Hopfield 882 0 0.0 0.0 10.3 7.9 + checkWsPat Hopfield 883 3996 0.0 0.0 10.3 7.9 + energy_ Hopfield 890 3996 0.0 0.0 8.5 7.8 + energy_.s Hopfield 891 3996 6.6 6.2 8.5 7.8 + *. Util 894 8866056 0.9 1.6 0.9 1.6 + energy_.x Hopfield 893 9010888 0.6 0.0 0.6 0.0 + energy_.w Hopfield 892 8866056 0.4 0.0 0.4 0.0 + energy_.p Hopfield 889 3996 0.0 0.0 0.0 0.0 + validWeightsPatternSize Hopfield 888 3996 0.0 0.0 0.0 0.0 + validPattern Hopfield 887 3996 0.0 0.0 0.0 0.0 + validWeights Hopfield 884 3996 1.7 0.1 1.7 0.1 + validWeights.\ Hopfield 886 144832 0.0 0.0 0.0 0.0 + validWeights.n Hopfield 885 3996 0.0 0.0 0.0 0.0 + update Hopfield 842 2059 0.0 0.0 3.2 4.2 + checkWsPat Hopfield 843 2059 0.0 0.0 3.2 4.2 + update_ Hopfield 873 2059 0.0 0.0 2.3 4.1 + randomElem Util 897 1998 0.4 0.1 0.4 0.1 + update_.flipAtIndex Hopfield 895 1998 0.1 0.1 0.1 0.1 + update_.valueAtIndex Hopfield 896 72416 0.0 0.0 0.0 0.0 + update_.updatables Hopfield 874 2059 0.0 0.0 1.8 3.9 + getUpdatables_ Hopfield 875 2059 0.0 0.0 1.8 3.9 + getUpdatables_.new Hopfield 876 72606 0.0 0.0 1.8 3.8 + computeH_ Hopfield 878 72606 0.0 0.0 1.8 3.8 + computeH_.weighted Hopfield 879 72606 1.3 3.0 1.8 3.8 + *. Util 880 4433864 0.5 0.8 0.5 0.8 + computeH_.p Hopfield 877 72606 0.0 0.0 0.0 0.0 + validWeightsPatternSize Hopfield 872 2059 0.0 0.0 0.0 0.0 + validPattern Hopfield 868 2059 0.0 0.0 0.0 0.0 + validWeights Hopfield 844 2059 0.9 0.1 0.9 0.1 + validWeights.\ Hopfield 864 72606 0.0 0.0 0.0 0.0 + validWeights.n Hopfield 845 2059 0.0 0.0 0.0 0.0 + patternsTupleGen Utils 838 0 0.0 0.0 1.0 1.5 + patternGen Utils 869 194 0.0 0.0 0.5 0.7 + toGenVector Utils 870 194 0.2 0.4 0.5 0.7 + signGen Utils 871 0 0.3 0.3 0.3 0.3 + patListGen Utils 849 0 0.0 0.0 0.5 0.7 + patternGen Utils 854 194 0.0 0.0 0.0 0.0 + toGenVector Utils 855 194 0.0 0.0 0.0 0.0 + boundedListGen Utils 851 194 0.0 0.0 0.0 0.0 + nonempty Utils 850 0 0.0 0.0 0.5 0.7 + boundedListGen Utils 852 0 0.0 0.0 0.5 0.7 + patternGen Utils 856 0 0.2 0.4 0.5 0.7 + signGen Utils 867 0 0.3 0.3 0.3 0.3 + toGenVector Utils 857 0 0.0 0.0 0.0 0.0 + testHopfield.\ TestHopfield 692 0 0.3 0.0 23.9 25.5 + energyDecreasesAfterUpdate Utils 695 200 0.0 0.0 22.6 24.1 + energyDecreasesAfterUpdate.ws Utils 703 189 0.0 0.0 9.8 12.7 + buildHopfieldData Hopfield 704 189 0.0 0.0 9.8 12.7 + trainStorkey.start_ws Hopfield 759 95 0.0 0.0 0.0 0.0 + trainStorkey Hopfield 758 95 0.0 0.0 8.0 10.2 + updateWeightsStorkey Hopfield 763 977 0.1 0.3 8.0 10.2 + updateWeightsGivenIndicesStorkey Hopfield 765 312065 0.4 0.2 7.8 9.8 + updateWeightsGivenIndicesStorkey.h Hopfield 769 970 0.1 0.0 7.4 9.5 + storkeyHiddenSum Hopfield 770 621008 6.0 7.2 7.3 9.5 + *. Util 772 12976908 1.3 2.3 1.3 2.3 + storkeyHiddenSum.n Hopfield 771 970 0.0 0.0 0.0 0.0 + *. Util 768 621008 0.1 0.1 0.1 0.1 + ./. Util 767 970 0.0 0.0 0.0 0.0 + updateWeightsGivenIndicesStorkey.n Hopfield 766 970 0.0 0.0 0.0 0.0 + vector2D Util 764 977 0.1 0.1 0.1 0.1 + updateWeightsStorkey.n Hopfield 762 977 0.0 0.0 0.0 0.0 + trainStorkey.start_ws Hopfield 760 0 0.0 0.0 0.0 0.0 + vector2D Util 761 95 0.0 0.0 0.0 0.0 + trainStorkey.n Hopfield 757 95 0.0 0.0 0.0 0.0 + train Hopfield 717 94 0.0 0.0 1.8 2.6 + vector2D Util 720 94 0.1 0.1 0.1 0.1 + train.ws Hopfield 719 94 0.2 0.2 1.7 2.5 + ./. Util 723 334684 0.1 0.1 0.1 0.1 + train.w Hopfield 722 339459 1.4 2.2 1.4 2.2 + train.n Hopfield 718 94 0.0 0.0 0.0 0.0 + buildHopfieldData.trainingFunction Hopfield 716 189 0.0 0.0 0.0 0.0 + buildHopfieldData.\ Hopfield 715 1946 0.0 0.0 0.0 0.0 + buildHopfieldData.first_len Hopfield 710 189 0.0 0.0 0.0 0.0 + energyDecreasesAfterUpdate.\ Utils 697 2085 0.0 0.0 12.8 11.3 + energyDecreasesAfterUpdate.energyDecreases Utils 698 2085 0.0 0.0 12.7 11.3 + energyDecreasesAfterUpdate.check Utils 738 2037 0.0 0.0 9.9 7.4 + energy Hopfield 740 0 0.0 0.0 9.9 7.4 + checkWsPat Hopfield 741 4074 0.0 0.0 9.9 7.4 + energy_ Hopfield 748 4074 0.0 0.0 8.1 7.2 + energy_.s Hopfield 749 4074 6.5 5.8 8.1 7.2 + *. Util 752 8252976 0.9 1.5 0.9 1.5 + energy_.x Hopfield 751 8396568 0.4 0.0 0.4 0.0 + energy_.w Hopfield 750 8252976 0.3 0.0 0.3 0.0 + energy_.p Hopfield 747 4074 0.0 0.0 0.0 0.0 + validWeightsPatternSize Hopfield 746 4074 0.0 0.0 0.0 0.0 + validPattern Hopfield 745 4074 0.0 0.0 0.0 0.0 + validWeights Hopfield 742 4074 1.7 0.1 1.7 0.1 + validWeights.\ Hopfield 744 143592 0.0 0.0 0.0 0.0 + validWeights.n Hopfield 743 4074 0.0 0.0 0.0 0.0 + update Hopfield 699 2085 0.0 0.0 2.8 3.9 + checkWsPat Hopfield 700 2085 0.0 0.0 2.8 3.9 + update_ Hopfield 730 2085 0.0 0.0 2.1 3.9 + randomElem Util 755 2037 0.3 0.1 0.3 0.1 + update_.flipAtIndex Hopfield 753 2037 0.0 0.1 0.0 0.1 + update_.valueAtIndex Hopfield 754 71796 0.0 0.0 0.0 0.0 + update_.updatables Hopfield 731 2085 0.0 0.0 1.7 3.6 + getUpdatables_ Hopfield 732 2085 0.0 0.0 1.7 3.6 + getUpdatables_.new Hopfield 733 71955 0.0 0.0 1.6 3.6 + computeH_ Hopfield 735 71955 0.0 0.0 1.6 3.5 + computeH_.weighted Hopfield 736 71955 1.1 2.8 1.6 3.5 + *. Util 737 4127269 0.5 0.7 0.5 0.7 + computeH_.p Hopfield 734 71955 0.0 0.0 0.0 0.0 + validWeightsPatternSize Hopfield 729 2085 0.0 0.0 0.0 0.0 + validPattern Hopfield 725 2085 0.0 0.0 0.0 0.0 + validWeights Hopfield 701 2085 0.7 0.1 0.8 0.1 + validWeights.\ Hopfield 721 71955 0.0 0.0 0.0 0.0 + validWeights.n Hopfield 702 2085 0.0 0.0 0.0 0.0 + patternsTupleGen Utils 694 0 0.0 0.0 0.9 1.4 + patternGen Utils 726 189 0.0 0.0 0.4 0.7 + toGenVector Utils 727 189 0.2 0.4 0.4 0.7 + signGen Utils 728 0 0.2 0.3 0.2 0.3 + patListGen Utils 706 0 0.0 0.0 0.5 0.7 + patternGen Utils 711 189 0.0 0.0 0.0 0.0 + toGenVector Utils 712 189 0.0 0.0 0.0 0.0 + boundedListGen Utils 708 189 0.0 0.0 0.0 0.0 + nonempty Utils 707 0 0.0 0.0 0.5 0.7 + boundedListGen Utils 709 0 0.0 0.0 0.5 0.7 + patternGen Utils 713 0 0.3 0.3 0.5 0.6 + signGen Utils 724 0 0.2 0.3 0.2 0.3 + toGenVector Utils 714 0 0.0 0.0 0.0 0.0 + testHopfield.\ TestHopfield 565 0 0.9 0.1 21.0 18.2 + nonempty Utils 609 0 0.0 0.0 0.0 0.0 + trainingPatsAreFixedPoints Utils 608 200 0.0 0.0 17.8 14.8 + trainingPatsAreFixedPoints.hs Utils 616 200 0.0 0.0 9.1 11.8 + buildHopfieldData Hopfield 617 200 0.0 0.0 9.1 11.8 + trainStorkey.start_ws Hopfield 677 100 0.0 0.0 0.0 0.0 + trainStorkey Hopfield 676 100 0.0 0.0 7.6 9.6 + updateWeightsStorkey Hopfield 681 963 0.1 0.3 7.6 9.6 + updateWeightsGivenIndicesStorkey Hopfield 683 282437 0.3 0.2 7.4 9.3 + updateWeightsGivenIndicesStorkey.h Hopfield 687 901 0.1 0.0 7.0 9.0 + storkeyHiddenSum Hopfield 688 561904 5.6 6.8 7.0 9.0 + *. Util 690 12344016 1.4 2.2 1.4 2.2 + storkeyHiddenSum.n Hopfield 689 901 0.0 0.0 0.0 0.0 + *. Util 686 561904 0.1 0.1 0.1 0.1 + ./. Util 685 901 0.0 0.0 0.0 0.0 + updateWeightsGivenIndicesStorkey.n Hopfield 684 901 0.0 0.0 0.0 0.0 + vector2D Util 682 963 0.1 0.1 0.1 0.1 + updateWeightsStorkey.n Hopfield 680 963 0.0 0.0 0.0 0.0 + trainStorkey.start_ws Hopfield 678 0 0.0 0.0 0.0 0.0 + vector2D Util 679 100 0.0 0.0 0.0 0.0 + trainStorkey.n Hopfield 675 100 0.0 0.0 0.0 0.0 + train Hopfield 621 100 0.0 0.0 1.5 2.1 + vector2D Util 624 100 0.1 0.1 0.1 0.1 + train.ws Hopfield 623 100 0.1 0.2 1.5 2.1 + ./. Util 627 262160 0.1 0.1 0.1 0.1 + train.w Hopfield 626 266422 1.3 1.8 1.3 1.8 + train.n Hopfield 622 100 0.0 0.0 0.0 0.0 + buildHopfieldData.trainingFunction Hopfield 620 200 0.0 0.0 0.0 0.0 + buildHopfieldData.\ Hopfield 619 2087 0.0 0.0 0.0 0.0 + buildHopfieldData.first_len Hopfield 618 200 0.0 0.0 0.0 0.0 + trainingPatsAreFixedPoints.ws Utils 615 200 0.0 0.0 0.0 0.0 + trainingPatsAreFixedPoints.checkFixedPoint Utils 610 2087 0.0 0.0 8.6 3.0 + checkFixed Measurement 639 1203 0.0 0.0 6.8 1.0 + checkFixed.\ Measurement 640 11813 0.0 0.0 6.8 1.0 + compTerm Measurement 641 11813 0.0 0.0 6.8 1.0 + computeH Hopfield 643 11813 0.0 0.0 6.8 1.0 + checkWsPat Hopfield 644 11813 0.0 0.0 6.8 1.0 + computeH.\ Hopfield 650 11813 0.0 0.0 0.3 0.5 + computeH_ Hopfield 652 11813 0.0 0.0 0.3 0.5 + computeH_.weighted Hopfield 653 11813 0.2 0.4 0.3 0.5 + *. Util 654 556115 0.1 0.1 0.1 0.1 + computeH_.p Hopfield 651 11813 0.0 0.0 0.0 0.0 + validWeightsPatternSize Hopfield 649 11813 0.0 0.0 0.0 0.0 + validPattern Hopfield 648 11813 0.0 0.0 0.0 0.0 + validWeights Hopfield 645 11813 6.5 0.5 6.5 0.5 + validWeights.\ Hopfield 647 556115 0.0 0.0 0.0 0.0 + validWeights.n Hopfield 646 11813 0.0 0.0 0.0 0.0 + compTerm.pat Measurement 642 1203 0.0 0.0 0.0 0.0 + update Hopfield 611 2087 0.0 0.0 1.8 2.0 + checkWsPat Hopfield 612 2087 0.0 0.0 1.8 2.0 + update_ Hopfield 630 2087 0.0 0.0 1.1 2.0 + update_.updatables Hopfield 631 2087 0.0 0.0 1.0 2.0 + getUpdatables_ Hopfield 632 2087 0.0 0.0 1.0 2.0 + getUpdatables_.new Hopfield 634 42094 0.0 0.0 1.0 1.9 + computeH_ Hopfield 636 42094 0.0 0.0 1.0 1.9 + computeH_.weighted Hopfield 637 42094 0.8 1.5 1.0 1.9 + *. Util 638 2255800 0.2 0.4 0.2 0.4 + computeH_.p Hopfield 635 42094 0.0 0.0 0.0 0.0 + validWeightsPatternSize Hopfield 629 2087 0.0 0.0 0.0 0.0 + validPattern Hopfield 628 2087 0.0 0.0 0.0 0.0 + validWeights Hopfield 613 2087 0.8 0.1 0.8 0.1 + validWeights.\ Hopfield 625 62485 0.0 0.0 0.0 0.0 + validWeights.n Hopfield 614 2087 0.0 0.0 0.0 0.0 + testHopfield.\.patListGen' TestHopfield 594 0 0.0 0.0 0.9 1.3 + patListGen Utils 595 0 0.0 0.0 0.9 1.3 + patternGen Utils 601 400 0.0 0.0 0.0 0.0 + toGenVector Utils 602 400 0.0 0.0 0.0 0.0 + boundedListGen Utils 597 400 0.0 0.0 0.0 0.0 + nonempty Utils 596 0 0.0 0.0 0.9 1.3 + boundedListGen Utils 598 0 0.0 0.0 0.9 1.3 + patternGen Utils 603 0 0.3 0.6 0.9 1.3 + signGen Utils 607 0 0.5 0.6 0.5 0.6 + toGenVector Utils 604 0 0.0 0.1 0.0 0.1 + testHopfield.\.\ TestHopfield 590 200 0.0 0.0 0.0 0.0 + buildHopfieldData Hopfield 591 200 0.0 0.0 0.0 0.0 + buildHopfieldData.\ Hopfield 605 2060 0.0 0.0 0.0 0.0 + buildHopfieldData.first_len Hopfield 600 200 0.0 0.0 0.0 0.0 + testHopfield.\.patternGenAll1 TestHopfield 571 0 0.0 0.0 0.0 0.0 + boundedReplicateGen Utils 575 0 0.0 0.0 0.0 0.0 + nonempty Utils 573 0 0.0 0.0 0.0 0.0 + toV TestHopfield 572 0 0.0 0.0 0.0 0.0 + testHopfield.\.\ TestHopfield 566 200 0.1 0.0 1.4 1.9 + list2D Util 584 200 0.0 0.1 0.0 0.1 + allWeightsSame Utils 583 200 0.1 0.2 0.1 0.2 + allWeightsSame.w Utils 587 192 0.0 0.0 0.0 0.0 + ./. Util 588 192 0.0 0.0 0.0 0.0 + buildHopfieldData Hopfield 567 200 0.0 0.0 1.2 1.6 + trainStorkey.start_ws Hopfield 657 100 0.0 0.0 0.0 0.0 + trainStorkey Hopfield 656 100 0.0 0.0 0.8 1.1 + updateWeightsStorkey Hopfield 661 100 0.0 0.0 0.8 1.1 + updateWeightsGivenIndicesStorkey Hopfield 663 32972 0.0 0.0 0.7 1.0 + updateWeightsGivenIndicesStorkey.h Hopfield 671 95 0.0 0.0 0.7 1.0 + storkeyHiddenSum Hopfield 672 62788 0.5 0.7 0.7 1.0 + *. Util 674 1350012 0.1 0.2 0.1 0.2 + storkeyHiddenSum.n Hopfield 673 95 0.0 0.0 0.0 0.0 + *. Util 670 62788 0.0 0.0 0.0 0.0 + ./. Util 665 95 0.0 0.0 0.0 0.0 + updateWeightsGivenIndicesStorkey.n Hopfield 664 95 0.0 0.0 0.0 0.0 + vector2D Util 662 100 0.0 0.0 0.0 0.0 + updateWeightsStorkey.n Hopfield 660 100 0.0 0.0 0.0 0.0 + trainStorkey.start_ws Hopfield 658 0 0.0 0.0 0.0 0.0 + vector2D Util 659 100 0.0 0.0 0.0 0.0 + trainStorkey.n Hopfield 655 100 0.0 0.0 0.0 0.0 + train Hopfield 579 100 0.0 0.0 0.4 0.5 + vector2D Util 582 100 0.1 0.1 0.1 0.1 + train.ws Hopfield 581 100 0.1 0.2 0.4 0.5 + ./. Util 586 282828 0.0 0.1 0.0 0.1 + train.w Hopfield 585 287321 0.2 0.2 0.2 0.2 + train.n Hopfield 580 100 0.0 0.0 0.0 0.0 + buildHopfieldData.trainingFunction Hopfield 578 200 0.0 0.0 0.0 0.0 + buildHopfieldData.\ Hopfield 577 200 0.0 0.0 0.0 0.0 + buildHopfieldData.first_len Hopfield 568 200 0.0 0.0 0.0 0.0 + testBolzmannMachine TestBolzmann 335 0 0.7 0.1 28.7 28.7 + updateNeuronCheck Utils 471 200 0.0 0.0 18.4 18.7 + updateNeuronCheck.bd Utils 480 200 0.0 0.0 18.3 18.7 + buildBoltzmannData' RestrictedBoltzmannMachine 481 200 0.0 0.0 18.3 18.7 + trainBolzmann RestrictedBoltzmannMachine 484 200 0.0 0.0 18.3 18.7 + updateWeights.nr_hidden RestrictedBoltzmannMachine 527 7305 0.0 0.0 0.0 0.0 + trainBolzmann.genWeights RestrictedBoltzmannMachine 502 200 0.0 0.1 0.6 0.6 + normal Util 517 200 0.6 0.6 0.6 0.6 + trainBolzmann.paths_with_binary_indices RestrictedBoltzmannMachine 496 200 0.0 0.0 0.2 0.0 + getBinaryIndices Util 497 200 0.0 0.0 0.2 0.0 + toBinary Util 501 5577 0.1 0.0 0.1 0.0 + getBinaryIndices.bitsNeeded Util 499 200 0.0 0.0 0.0 0.0 + log2 Util 500 0 0.0 0.0 0.0 0.0 + getBinaryIndices.nub_xs Util 498 200 0.1 0.0 0.1 0.0 + trainBolzmann.nr_visible RestrictedBoltzmannMachine 494 200 0.0 0.0 0.0 0.0 + trainBolzmann.ws RestrictedBoltzmannMachine 493 200 0.0 0.0 0.0 0.0 + vector2D Util 492 200 0.0 0.0 0.0 0.0 + trainBolzmann.ws_start RestrictedBoltzmannMachine 491 200 0.0 0.0 0.0 0.0 + updateWeights RestrictedBoltzmannMachine 486 7305 0.1 0.0 17.3 18.0 + vector2D Util 551 7305 0.5 0.7 0.5 0.7 + updateWeights.new_weights RestrictedBoltzmannMachine 548 7305 0.0 0.0 0.8 1.6 + list2D Util 550 7305 0.3 0.6 0.3 0.6 + combine Util 549 7305 0.5 1.1 0.5 1.1 + updateWeights.pos RestrictedBoltzmannMachine 538 7305 0.7 1.1 1.7 2.7 + updateWeights.getSigmaH RestrictedBoltzmannMachine 541 7305 0.1 0.1 0.9 1.4 + getActivationProbability RestrictedBoltzmannMachine 543 87700 0.0 0.0 0.7 1.3 + getActivationProbability.a RestrictedBoltzmannMachine 545 87700 0.5 1.1 0.7 1.3 + activation RestrictedBoltzmannMachine 547 87700 0.0 0.0 0.0 0.0 + *. Util 546 1430134 0.2 0.3 0.2 0.3 + getActivationProbability.p RestrictedBoltzmannMachine 544 87700 0.0 0.0 0.0 0.0 + getActivationProbability.pat' RestrictedBoltzmannMachine 542 87700 0.0 0.0 0.0 0.0 + fromDataVector Util 540 7305 0.0 0.0 0.0 0.0 + multiplyR Numeric.LinearAlgebra.LAPACK 539 7305 0.0 0.1 0.0 0.1 + updateWeights.d_ws RestrictedBoltzmannMachine 536 7305 0.5 0.9 1.2 2.0 + combine Util 537 7305 0.7 1.1 0.7 1.1 + updateWeights.getSigmaH RestrictedBoltzmannMachine 529 0 0.0 0.0 0.0 0.0 + getCounterPattern RestrictedBoltzmannMachine 504 14610 0.7 0.6 11.1 7.9 + updateNeuron RestrictedBoltzmannMachine 515 212300 7.9 4.4 10.2 7.2 + updateNeuron' RestrictedBoltzmannMachine 516 212300 0.1 0.0 2.2 2.8 + updateNeuron'.a RestrictedBoltzmannMachine 518 212300 0.0 0.0 2.1 2.8 + getActivationProbability RestrictedBoltzmannMachine 520 212300 0.1 0.0 2.1 2.7 + getActivationProbability.a RestrictedBoltzmannMachine 522 212300 1.5 2.2 2.0 2.7 + activation RestrictedBoltzmannMachine 524 212300 0.2 0.0 0.2 0.0 + *. Util 523 3035668 0.3 0.5 0.3 0.5 + getActivationProbability.p RestrictedBoltzmannMachine 521 212300 0.0 0.0 0.0 0.0 + getActivationProbability.pat' RestrictedBoltzmannMachine 519 212300 0.0 0.0 0.0 0.0 + getCounterPattern.updatedIndices RestrictedBoltzmannMachine 512 14610 0.0 0.1 0.0 0.1 + notMode RestrictedBoltzmannMachine 514 14610 0.0 0.0 0.0 0.0 + getDimension RestrictedBoltzmannMachine 513 14610 0.0 0.0 0.0 0.0 + getCounterPattern.diff RestrictedBoltzmannMachine 511 14610 0.0 0.0 0.0 0.0 + validPattern RestrictedBoltzmannMachine 505 14610 0.1 0.0 0.2 0.0 + validPattern.\ RestrictedBoltzmannMachine 510 212300 0.1 0.0 0.1 0.0 + validPattern.actual_dim RestrictedBoltzmannMachine 508 14610 0.0 0.0 0.0 0.0 + getDimension RestrictedBoltzmannMachine 509 14610 0.0 0.0 0.0 0.0 + validPattern.checked_dim RestrictedBoltzmannMachine 507 14610 0.0 0.0 0.0 0.0 + == RestrictedBoltzmannMachine 506 14610 0.0 0.0 0.0 0.0 + updateWeights.biased_v RestrictedBoltzmannMachine 503 7305 0.0 0.0 0.0 0.0 + updateWeights.f RestrictedBoltzmannMachine 489 0 0.1 0.1 0.3 0.2 + fromDataVector Util 490 14610 0.2 0.1 0.2 0.1 + updateWeights.neg RestrictedBoltzmannMachine 487 7305 0.6 1.1 1.7 2.8 + updateWeights.getSigmaH RestrictedBoltzmannMachine 526 7305 0.1 0.1 0.9 1.5 + getActivationProbability RestrictedBoltzmannMachine 531 87700 0.0 0.0 0.8 1.4 + getActivationProbability.a RestrictedBoltzmannMachine 533 87700 0.6 1.1 0.8 1.4 + activation RestrictedBoltzmannMachine 535 87700 0.0 0.0 0.0 0.0 + *. Util 534 1517834 0.2 0.3 0.2 0.3 + getActivationProbability.p RestrictedBoltzmannMachine 532 87700 0.0 0.0 0.0 0.0 + getActivationProbability.pat' RestrictedBoltzmannMachine 530 87700 0.0 0.0 0.0 0.0 + fromDataVector Util 525 7305 0.1 0.0 0.1 0.0 + multiplyR Numeric.LinearAlgebra.LAPACK 488 7305 0.1 0.1 0.1 0.1 + trainBolzmann.pats' RestrictedBoltzmannMachine 485 200 0.1 0.0 0.2 0.1 + trainBolzmann.encoding RestrictedBoltzmannMachine 495 7305 0.1 0.0 0.1 0.0 + buildBoltzmannData'.\ RestrictedBoltzmannMachine 483 7305 0.0 0.0 0.0 0.0 + buildBoltzmannData'.first_len RestrictedBoltzmannMachine 482 200 0.0 0.0 0.0 0.0 + updateNeuron'.a RestrictedBoltzmannMachine 473 200 0.0 0.0 0.0 0.0 + updateNeuron' RestrictedBoltzmannMachine 472 200 0.0 0.0 0.0 0.0 + updateNeuron'.a RestrictedBoltzmannMachine 474 0 0.0 0.0 0.0 0.0 + getActivationProbability RestrictedBoltzmannMachine 476 200 0.0 0.0 0.0 0.0 + getActivationProbability.a RestrictedBoltzmannMachine 479 200 0.0 0.0 0.0 0.0 + activation RestrictedBoltzmannMachine 554 200 0.0 0.0 0.0 0.0 + *. Util 553 2400 0.0 0.0 0.0 0.0 + getActivationProbability.p RestrictedBoltzmannMachine 478 200 0.0 0.0 0.0 0.0 + getActivationProbability.pat' RestrictedBoltzmannMachine 477 0 0.0 0.0 0.0 0.0 + getActivationProbability.pat' RestrictedBoltzmannMachine 475 200 0.0 0.0 0.0 0.0 + probabilityCheck Utils 369 100 0.0 0.0 8.4 8.3 + probabilityCheck.ws Utils 393 100 0.0 0.0 0.0 0.0 + probabilityCheck.bd Utils 388 100 0.0 0.0 8.4 8.3 + buildBoltzmannData' RestrictedBoltzmannMachine 389 100 0.0 0.0 8.4 8.3 + trainBolzmann RestrictedBoltzmannMachine 392 100 0.0 0.0 8.4 8.3 + updateWeights.nr_hidden RestrictedBoltzmannMachine 441 3569 0.0 0.0 0.0 0.0 + trainBolzmann.genWeights RestrictedBoltzmannMachine 416 100 0.0 0.0 0.3 0.3 + normal Util 431 100 0.3 0.2 0.3 0.2 + trainBolzmann.paths_with_binary_indices RestrictedBoltzmannMachine 407 100 0.0 0.0 0.1 0.0 + getBinaryIndices Util 408 100 0.0 0.0 0.1 0.0 + toBinary Util 415 2849 0.0 0.0 0.0 0.0 + getBinaryIndices.bitsNeeded Util 412 100 0.0 0.0 0.0 0.0 + log2 Util 414 0 0.0 0.0 0.0 0.0 + getBinaryIndices.nub_xs Util 410 100 0.0 0.0 0.0 0.0 + trainBolzmann.nr_visible RestrictedBoltzmannMachine 405 100 0.0 0.0 0.0 0.0 + trainBolzmann.ws RestrictedBoltzmannMachine 404 100 0.0 0.0 0.0 0.0 + vector2D Util 403 100 0.0 0.0 0.0 0.0 + trainBolzmann.ws_start RestrictedBoltzmannMachine 402 100 0.0 0.0 0.0 0.0 + updateWeights RestrictedBoltzmannMachine 395 3569 0.0 0.0 7.9 8.0 + vector2D Util 465 3569 0.2 0.3 0.2 0.3 + updateWeights.new_weights RestrictedBoltzmannMachine 462 3569 0.0 0.0 0.3 0.7 + list2D Util 464 3569 0.1 0.2 0.1 0.2 + combine Util 463 3569 0.3 0.5 0.3 0.5 + updateWeights.pos RestrictedBoltzmannMachine 452 3569 0.2 0.5 0.8 1.2 + updateWeights.getSigmaH RestrictedBoltzmannMachine 455 3569 0.1 0.1 0.5 0.6 + getActivationProbability RestrictedBoltzmannMachine 457 39210 0.0 0.0 0.4 0.6 + getActivationProbability.a RestrictedBoltzmannMachine 459 39210 0.3 0.5 0.4 0.6 + activation RestrictedBoltzmannMachine 461 39210 0.0 0.0 0.0 0.0 + *. Util 460 614697 0.1 0.1 0.1 0.1 + getActivationProbability.p RestrictedBoltzmannMachine 458 39210 0.0 0.0 0.0 0.0 + getActivationProbability.pat' RestrictedBoltzmannMachine 456 39210 0.0 0.0 0.0 0.0 + fromDataVector Util 454 3569 0.0 0.0 0.0 0.0 + multiplyR Numeric.LinearAlgebra.LAPACK 453 3569 0.1 0.0 0.1 0.0 + updateWeights.d_ws RestrictedBoltzmannMachine 450 3569 0.3 0.4 0.6 0.9 + combine Util 451 3569 0.3 0.5 0.3 0.5 + updateWeights.getSigmaH RestrictedBoltzmannMachine 443 0 0.0 0.0 0.0 0.0 + getCounterPattern RestrictedBoltzmannMachine 418 7138 0.4 0.3 5.1 3.6 + updateNeuron RestrictedBoltzmannMachine 429 98465 3.5 2.0 4.6 3.2 + updateNeuron' RestrictedBoltzmannMachine 430 98465 0.0 0.0 1.0 1.2 + updateNeuron'.a RestrictedBoltzmannMachine 432 98465 0.0 0.0 1.0 1.2 + getActivationProbability RestrictedBoltzmannMachine 434 98465 0.0 0.0 1.0 1.2 + getActivationProbability.a RestrictedBoltzmannMachine 436 98465 0.7 0.9 0.9 1.2 + activation RestrictedBoltzmannMachine 438 98465 0.1 0.0 0.1 0.0 + *. Util 437 1307814 0.2 0.2 0.2 0.2 + getActivationProbability.p RestrictedBoltzmannMachine 435 98465 0.0 0.0 0.0 0.0 + getActivationProbability.pat' RestrictedBoltzmannMachine 433 98465 0.0 0.0 0.0 0.0 + getCounterPattern.updatedIndices RestrictedBoltzmannMachine 426 7138 0.0 0.0 0.0 0.0 + notMode RestrictedBoltzmannMachine 428 7138 0.0 0.0 0.0 0.0 + getDimension RestrictedBoltzmannMachine 427 7138 0.0 0.0 0.0 0.0 + getCounterPattern.diff RestrictedBoltzmannMachine 425 7138 0.0 0.0 0.0 0.0 + validPattern RestrictedBoltzmannMachine 419 7138 0.0 0.0 0.1 0.0 + validPattern.\ RestrictedBoltzmannMachine 424 98465 0.1 0.0 0.1 0.0 + validPattern.actual_dim RestrictedBoltzmannMachine 422 7138 0.0 0.0 0.0 0.0 + getDimension RestrictedBoltzmannMachine 423 7138 0.0 0.0 0.0 0.0 + validPattern.checked_dim RestrictedBoltzmannMachine 421 7138 0.0 0.0 0.0 0.0 + == RestrictedBoltzmannMachine 420 7138 0.0 0.0 0.0 0.0 + updateWeights.biased_v RestrictedBoltzmannMachine 417 3569 0.0 0.0 0.0 0.0 + updateWeights.f RestrictedBoltzmannMachine 400 0 0.0 0.0 0.2 0.1 + fromDataVector Util 401 7138 0.1 0.1 0.1 0.1 + updateWeights.neg RestrictedBoltzmannMachine 396 3569 0.2 0.5 0.7 1.2 + updateWeights.getSigmaH RestrictedBoltzmannMachine 440 3569 0.1 0.1 0.4 0.7 + getActivationProbability RestrictedBoltzmannMachine 445 39210 0.0 0.0 0.3 0.6 + getActivationProbability.a RestrictedBoltzmannMachine 447 39210 0.3 0.5 0.3 0.6 + activation RestrictedBoltzmannMachine 449 39210 0.0 0.0 0.0 0.0 + *. Util 448 653907 0.0 0.1 0.0 0.1 + getActivationProbability.p RestrictedBoltzmannMachine 446 39210 0.0 0.0 0.0 0.0 + getActivationProbability.pat' RestrictedBoltzmannMachine 444 39210 0.0 0.0 0.0 0.0 + fromDataVector Util 439 3569 0.0 0.0 0.0 0.0 + multiplyR Numeric.LinearAlgebra.LAPACK 397 3569 0.1 0.0 0.1 0.0 + trainBolzmann.pats' RestrictedBoltzmannMachine 394 100 0.0 0.0 0.1 0.0 + trainBolzmann.encoding RestrictedBoltzmannMachine 406 3569 0.1 0.0 0.1 0.0 + buildBoltzmannData'.\ RestrictedBoltzmannMachine 391 3569 0.0 0.0 0.0 0.0 + buildBoltzmannData'.first_len RestrictedBoltzmannMachine 390 100 0.0 0.0 0.0 0.0 + probabilityCheck.\ Utils 371 948 0.0 0.0 0.0 0.0 + probabilityCheck.c Utils 470 948 0.0 0.0 0.0 0.0 + getActivationProbability RestrictedBoltzmannMachine 384 948 0.0 0.0 0.0 0.0 + getActivationProbability.a RestrictedBoltzmannMachine 387 948 0.0 0.0 0.0 0.0 + activation RestrictedBoltzmannMachine 469 948 0.0 0.0 0.0 0.0 + *. Util 467 10971 0.0 0.0 0.0 0.0 + getActivationProbability.p RestrictedBoltzmannMachine 386 948 0.0 0.0 0.0 0.0 + getActivationProbability.pat' RestrictedBoltzmannMachine 385 0 0.0 0.0 0.0 0.0 + getActivationProbability.pat' RestrictedBoltzmannMachine 383 948 0.0 0.0 0.0 0.0 + testBolzmannMachine.boltzmannAndPatGen' TestBolzmann 367 0 0.0 0.0 1.0 1.2 + boltzmannAndPatGen Utils 368 0 0.0 0.0 1.0 1.2 + patListGen Utils 375 0 0.0 0.0 0.9 1.2 + patternGen Utils 379 300 0.0 0.0 0.0 0.0 + toGenVector Utils 380 300 0.0 0.0 0.0 0.0 + boundedListGen Utils 377 300 0.0 0.0 0.0 0.0 + nonempty Utils 376 0 0.0 0.0 0.9 1.2 + boundedListGen Utils 378 0 0.0 0.1 0.9 1.2 + patternGen Utils 381 0 0.3 0.5 0.9 1.1 + binaryGen Utils 411 0 0.5 0.5 0.5 0.5 + toGenVector Utils 382 0 0.0 0.1 0.0 0.1 + patternGen Utils 372 300 0.0 0.0 0.0 0.0 + toGenVector Utils 373 300 0.0 0.0 0.0 0.0 + binaryGen Utils 468 0 0.0 0.0 0.0 0.0 + build_BM_Check Utils 341 100 0.0 0.0 0.0 0.0 + build_BM_Check.bd Utils 342 100 0.0 0.0 0.0 0.0 + buildBoltzmannData' RestrictedBoltzmannMachine 343 100 0.0 0.0 0.0 0.0 + trainBolzmann RestrictedBoltzmannMachine 360 100 0.0 0.0 0.0 0.0 + buildBoltzmannData'.\ RestrictedBoltzmannMachine 359 3714 0.0 0.0 0.0 0.0 + buildBoltzmannData'.first_len RestrictedBoltzmannMachine 352 100 0.0 0.0 0.0 0.0 + testBolzmannMachine.boltzmannBuildGen' TestBolzmann 339 0 0.0 0.0 0.3 0.4 + boltzmannBuildGen Utils 340 0 0.0 0.0 0.3 0.4 + patListGen Utils 345 0 0.0 0.0 0.3 0.4 + patternGen Utils 353 100 0.0 0.0 0.0 0.0 + toGenVector Utils 354 100 0.0 0.0 0.0 0.0 + boundedListGen Utils 348 100 0.0 0.0 0.0 0.0 + nonempty Utils 347 0 0.0 0.0 0.3 0.4 + boundedListGen Utils 349 0 0.0 0.0 0.3 0.4 + patternGen Utils 355 0 0.1 0.2 0.3 0.4 + binaryGen Utils 362 0 0.2 0.2 0.2 0.2 + toGenVector Utils 356 0 0.0 0.0 0.0 0.0 + CAF Main 331 0 0.0 0.0 0.0 0.0 + main Main 332 1 0.0 0.0 0.0 0.0 + CAF TestBolzmann 330 0 0.0 0.0 0.0 0.0 + testBolzmannMachine.boltzmannBuildGen' TestBolzmann 336 1 0.0 0.0 0.0 0.0 + testBolzmannMachine TestBolzmann 334 1 0.0 0.0 0.0 0.0 + testBolzmannMachine.boltzmannAndPatGen' TestBolzmann 365 1 0.0 0.0 0.0 0.0 + boltzmannAndPatGen Utils 366 1 0.0 0.0 0.0 0.0 + patListGen Utils 374 1 0.0 0.0 0.0 0.0 + testBolzmannMachine.maxNrHidden TestBolzmann 364 1 0.0 0.0 0.0 0.0 + testBolzmannMachine.maxPatListSize TestBolzmann 358 1 0.0 0.0 0.0 0.0 + testBolzmannMachine.maxPatSize TestBolzmann 351 1 0.0 0.0 0.0 0.0 + testBolzmannMachine.boltzmannBuildGen' TestBolzmann 337 0 0.0 0.0 0.0 0.0 + boltzmannBuildGen Utils 338 1 0.0 0.0 0.0 0.0 + patListGen Utils 344 1 0.0 0.0 0.0 0.0 + CAF TestHopfield 329 0 0.0 0.0 0.0 0.0 + _EPSILON TestHopfield 834 1 0.0 0.0 0.0 0.0 + testHopfield.check TestHopfield 791 0 0.0 0.0 0.0 0.0 + toV TestHopfield 570 1 0.0 0.0 0.0 0.0 + configs TestHopfield 557 1 0.0 0.0 0.0 0.0 + testHopfield TestHopfield 555 1 0.0 0.0 0.0 0.0 + testHopfield.\ TestHopfield 898 0 0.0 0.0 0.0 0.0 + energy Hopfield 821 0 0.0 0.0 0.0 0.0 + checkWsPat Hopfield 822 3 0.0 0.0 0.0 0.0 + energy_ Hopfield 829 3 0.0 0.0 0.0 0.0 + energy_.s Hopfield 830 3 0.0 0.0 0.0 0.0 + *. Util 833 38 0.0 0.0 0.0 0.0 + energy_.x Hopfield 832 48 0.0 0.0 0.0 0.0 + energy_.w Hopfield 831 38 0.0 0.0 0.0 0.0 + energy_.p Hopfield 828 3 0.0 0.0 0.0 0.0 + validWeightsPatternSize Hopfield 827 3 0.0 0.0 0.0 0.0 + validPattern Hopfield 826 3 0.0 0.0 0.0 0.0 + validWeights Hopfield 823 3 0.0 0.0 0.0 0.0 + validWeights.\ Hopfield 825 10 0.0 0.0 0.0 0.0 + validWeights.n Hopfield 824 3 0.0 0.0 0.0 0.0 + testHopfield.givesPattern TestHopfield 816 1 0.0 0.0 0.0 0.0 + testHopfield.check TestHopfield 790 5 0.0 0.0 0.0 0.0 + buildHopfieldData Hopfield 793 5 0.0 0.0 0.0 0.0 + train Hopfield 809 5 0.0 0.0 0.0 0.0 + vector2D Util 812 5 0.0 0.0 0.0 0.0 + train.ws Hopfield 811 5 0.0 0.0 0.0 0.0 + ./. Util 814 35 0.0 0.0 0.0 0.0 + train.w Hopfield 813 45 0.0 0.0 0.0 0.0 + train.n Hopfield 810 5 0.0 0.0 0.0 0.0 + buildHopfieldData.trainingFunction Hopfield 808 5 0.0 0.0 0.0 0.0 + buildHopfieldData.\ Hopfield 795 8 0.0 0.0 0.0 0.0 + buildHopfieldData.first_len Hopfield 794 5 0.0 0.0 0.0 0.0 + matchPattern Hopfield 792 5 0.0 0.0 0.0 0.0 + repeatedUpdate_ Hopfield 799 5 0.0 0.0 0.0 0.0 + repeatUntilNothing Util 800 6 0.0 0.0 0.0 0.0 + update_ Hopfield 801 6 0.0 0.0 0.0 0.0 + randomElem Util 820 1 0.0 0.0 0.0 0.0 + update_.flipAtIndex Hopfield 818 1 0.0 0.0 0.0 0.0 + update_.valueAtIndex Hopfield 819 3 0.0 0.0 0.0 0.0 + update_.updatables Hopfield 802 6 0.0 0.0 0.0 0.0 + getUpdatables_ Hopfield 803 6 0.0 0.0 0.0 0.0 + getUpdatables_.new Hopfield 804 18 0.0 0.0 0.0 0.0 + computeH_ Hopfield 806 18 0.0 0.0 0.0 0.0 + computeH_.weighted Hopfield 807 18 0.0 0.0 0.0 0.0 + *. Util 815 54 0.0 0.0 0.0 0.0 + computeH_.p Hopfield 805 18 0.0 0.0 0.0 0.0 + findInList Util 797 5 0.0 0.0 0.0 0.0 + findInList.m_index Util 798 5 0.0 0.0 0.0 0.0 + testHopfield.givesIndex TestHopfield 788 4 0.0 0.0 0.0 0.0 + vector2D Util 778 5 0.0 0.0 0.0 0.0 + getUpdatables Hopfield 774 0 0.0 0.0 0.0 0.0 + checkWsPat Hopfield 775 2 0.0 0.0 0.0 0.0 + getUpdatables_ Hopfield 782 2 0.0 0.0 0.0 0.0 + getUpdatables_.new Hopfield 783 8 0.0 0.0 0.0 0.0 + computeH_ Hopfield 785 8 0.0 0.0 0.0 0.0 + computeH_.weighted Hopfield 786 8 0.0 0.0 0.0 0.0 + *. Util 787 34 0.0 0.0 0.0 0.0 + computeH_.p Hopfield 784 8 0.0 0.0 0.0 0.0 + validWeightsPatternSize Hopfield 781 2 0.0 0.0 0.0 0.0 + validPattern Hopfield 780 2 0.0 0.0 0.0 0.0 + validWeights Hopfield 776 2 0.0 0.0 0.0 0.0 + validWeights.\ Hopfield 779 8 0.0 0.0 0.0 0.0 + validWeights.n Hopfield 777 2 0.0 0.0 0.0 0.0 + testHopfield.\ TestHopfield 756 0 0.0 0.0 0.0 0.0 + testHopfield.maxPatListSize TestHopfield 599 1 0.0 0.0 0.0 0.0 + testHopfield.\ TestHopfield 589 0 0.0 0.0 0.0 0.0 + forAllMethods TestHopfield 556 3 0.0 0.0 0.0 0.0 + forAllMethods.\ TestHopfield 558 6 0.0 0.0 0.0 0.0 + testHopfield.\ TestHopfield 835 2 0.0 0.0 0.0 0.0 + patternsTupleGen Utils 837 2 0.0 0.0 0.0 0.0 + patListGen Utils 848 2 0.0 0.0 0.0 0.0 + testHopfield.\ TestHopfield 691 2 0.0 0.0 0.0 0.0 + patternsTupleGen Utils 693 2 0.0 0.0 0.0 0.0 + patListGen Utils 705 2 0.0 0.0 0.0 0.0 + testHopfield.\ TestHopfield 561 2 0.0 0.0 0.0 0.0 + testHopfield.\.patListGen' TestHopfield 592 2 0.0 0.0 0.0 0.0 + patListGen Utils 593 2 0.0 0.0 0.0 0.0 + testHopfield.\.patternGenAll1 TestHopfield 569 2 0.0 0.0 0.0 0.0 + boundedReplicateGen Utils 574 2 0.0 0.0 0.0 0.0 + showsPrec Hopfield 559 6 0.0 0.0 0.0 0.0 + CAF TestUtil 328 0 0.0 0.0 0.0 0.0 + testUtil TestUtil 915 1 0.0 0.0 0.0 0.0 + CAF TestMeasurement 327 0 0.0 0.0 0.0 0.0 + testMeasurement.genPatternAndRadius TestMeasurement 929 1 0.0 0.0 0.0 0.0 + testMeasurement TestMeasurement 926 1 0.0 0.0 0.0 0.0 + testMeasurement.genPatternAndRadius TestMeasurement 936 0 0.0 0.0 0.0 0.0 + patternRangeGen Utils 937 1 0.0 0.0 0.0 0.0 + CAF Utils 326 0 0.0 0.0 0.0 0.0 + binaryCheck Utils 924 0 0.0 0.0 0.0 0.0 + binaryCheck.refold Utils 925 0 0.0 0.0 0.0 0.0 + buildIntTuple Utils 917 1 0.0 0.0 0.0 0.0 + patternsTupleGen Utils 696 0 0.0 0.0 0.0 0.0 + signGen Utils 606 1 0.0 0.0 0.0 0.0 + boundedReplicateGen Utils 576 0 0.0 0.0 0.0 0.0 + updateNeuronCheck Utils 552 0 0.0 0.0 0.0 0.0 + boltzmannAndPatGen Utils 370 0 0.0 0.0 0.0 0.0 + boltzmannBuildGen Utils 363 0 0.0 0.0 0.0 0.0 + binaryGen Utils 361 1 0.0 0.0 0.0 0.0 + patListGen Utils 357 0 0.0 0.0 0.0 0.0 + boundedListGen Utils 350 0 0.0 0.0 0.0 0.0 + nonempty Utils 346 1 0.0 0.0 0.0 0.0 + CAF Hopfield 325 0 0.0 0.0 0.0 0.0 + getUpdatables Hopfield 773 1 0.0 0.0 0.0 0.0 + energy Hopfield 739 1 0.0 0.0 0.0 0.0 + trainStorkey Hopfield 666 0 0.0 0.0 0.0 0.0 + updateWeightsStorkey Hopfield 667 0 0.0 0.0 0.0 0.0 + updateWeightsGivenIndicesStorkey Hopfield 668 0 0.0 0.0 0.0 0.0 + ./. Util 669 0 0.0 0.0 0.0 0.0 + getUpdatables_ Hopfield 633 0 0.0 0.0 0.0 0.0 + showsPrec Hopfield 560 0 0.0 0.0 0.0 0.0 + CAF RestrictedBoltzmannMachine 323 0 0.0 0.0 0.0 0.0 + learningRate RestrictedBoltzmannMachine 466 1 0.0 0.0 0.0 0.0 + updateWeights RestrictedBoltzmannMachine 398 0 0.0 0.0 0.0 0.0 + updateWeights.f RestrictedBoltzmannMachine 399 1 0.0 0.0 0.0 0.0 + CAF Util 322 0 0.0 0.0 0.0 0.0 + log2 Util 413 1 0.0 0.0 0.0 0.0 + getBinaryIndices Util 409 0 0.0 0.0 0.0 0.0 + CAF Data.Random.Distribution.Normal 321 0 0.0 0.0 0.0 0.0 + CAF Test.Hspec.Runner 277 0 0.0 0.0 0.0 0.0 + CAF Test.Hspec.FailureReport 273 0 0.0 0.0 0.0 0.0 + CAF Test.Hspec.Formatters.Internal 272 0 0.0 0.0 0.0 0.0 + CAF Test.Hspec.Formatters 271 0 0.0 0.0 0.0 0.0 + CAF System.IO.Silently 269 0 0.0 0.0 0.0 0.0 + CAF Test.QuickCheck.Arbitrary 259 0 0.0 0.0 0.0 0.0 + CAF Test.QuickCheck.Test 256 0 0.0 0.0 0.0 0.0 + CAF System.Random 249 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Encoding 227 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Handle.FD 224 0 0.0 0.0 0.0 0.0 + CAF GHC.Conc.Signal 215 0 0.0 0.0 0.0 0.0 + CAF GHC.Float 211 0 0.0 0.0 0.0 0.0 + CAF GHC.Float.ConversionUtils 210 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.Encoding.Iconv 209 0 0.0 0.0 0.0 0.0 + CAF GHC.IO.FD 186 0 0.0 0.0 0.0 0.0 + CAF GHC.Integer.Logarithms.Internals 174 0 0.0 0.0 0.0 0.0 diff --git a/report/screenshots/gui1.png b/report/screenshots/gui1.png new file mode 100644 index 0000000..88d3027 Binary files /dev/null and b/report/screenshots/gui1.png differ diff --git a/report/screenshots/gui2.png b/report/screenshots/gui2.png new file mode 100644 index 0000000..2cd57e1 Binary files /dev/null and b/report/screenshots/gui2.png differ diff --git a/report/screenshots/gui3.png b/report/screenshots/gui3.png new file mode 100644 index 0000000..001fb11 Binary files /dev/null and b/report/screenshots/gui3.png differ diff --git a/results/circle-converged/000000.bmp b/results/circle-converged/000000.bmp new file mode 100644 index 0000000..e91cdd7 Binary files /dev/null and b/results/circle-converged/000000.bmp differ diff --git a/results/circle-converged/000001.bmp b/results/circle-converged/000001.bmp new file mode 100644 index 0000000..e6ef298 Binary files /dev/null and b/results/circle-converged/000001.bmp differ diff --git a/results/circle-converged/000002.bmp b/results/circle-converged/000002.bmp new file mode 100644 index 0000000..28f4697 Binary files /dev/null and b/results/circle-converged/000002.bmp differ diff --git a/results/circle-converged/000003.bmp b/results/circle-converged/000003.bmp new file mode 100644 index 0000000..5c3a268 Binary files /dev/null and b/results/circle-converged/000003.bmp differ diff --git a/results/circle-converged/000004.bmp b/results/circle-converged/000004.bmp new file mode 100644 index 0000000..dd10722 Binary files /dev/null and b/results/circle-converged/000004.bmp differ diff --git a/results/circle-converged/000005.bmp b/results/circle-converged/000005.bmp new file mode 100644 index 0000000..aaa0b48 Binary files /dev/null and b/results/circle-converged/000005.bmp differ diff --git a/results/circle-converged/000006.bmp b/results/circle-converged/000006.bmp new file mode 100644 index 0000000..9bbee31 Binary files /dev/null and b/results/circle-converged/000006.bmp differ diff --git a/results/circle-converged/000007.bmp b/results/circle-converged/000007.bmp new file mode 100644 index 0000000..3f28385 Binary files /dev/null and b/results/circle-converged/000007.bmp differ diff --git a/results/circle-converged/000008.bmp b/results/circle-converged/000008.bmp new file mode 100644 index 0000000..ef065a2 Binary files /dev/null and b/results/circle-converged/000008.bmp differ diff --git a/results/circle-converged/000009.bmp b/results/circle-converged/000009.bmp new file mode 100644 index 0000000..d722c41 Binary files /dev/null and b/results/circle-converged/000009.bmp differ diff --git a/results/circle-converged/000010.bmp b/results/circle-converged/000010.bmp new file mode 100644 index 0000000..ed62ad0 Binary files /dev/null and b/results/circle-converged/000010.bmp differ