Mercurial > ift6266
comparison deep/amt/amt.py @ 430:5777b5041ac9
fixed error computation for 36 classes
author | Dumitru Erhan <dumitru.erhan@gmail.com> |
---|---|
date | Sun, 02 May 2010 22:26:19 -0400 |
parents | 6478eef4f8aa |
children | 7bdd412754ea |
comparison
equal
deleted
inserted
replaced
429:21bf438629d5 | 430:5777b5041ac9 |
---|---|
74 answer_assoc[str(i)]=i | 74 answer_assoc[str(i)]=i |
75 return answer_assoc | 75 return answer_assoc |
76 | 76 |
77 def tsix_classes_assoc(): | 77 def tsix_classes_assoc(): |
78 answer_assoc = {} | 78 answer_assoc = {} |
79 for i in range(0,10): | |
80 answer_assoc[str(i)]=i | |
79 for i in range(10,36): | 81 for i in range(10,36): |
80 answer_assoc[chr(i+55)]=i | 82 answer_assoc[chr(i+55)]=i |
81 answer_assoc[chr(i+87)]=i | 83 answer_assoc[chr(i+87)]=i |
82 return answer_assoc | 84 return answer_assoc |
83 | 85 |