agent/affordance_extractors/lm_affordance_extractor.py [383:389]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                mean_squared_error = 0.
                for i_noun in range(len(target_nouns)):
                    est_prob, target_prob, squared_error = self.calc_error_with_3_thresholds(scores[i_noun], thresh_lo, best_thresh_md, thresh_hi, i_noun, affordable_attribute)
                    mean_squared_error += squared_error
                mean_squared_error /= len(target_nouns)
                if mean_squared_error < lowest_error:
                    lowest_error = mean_squared_error
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



agent/affordance_extractors/lm_affordance_extractor.py [395:401]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                mean_squared_error = 0.
                for i_noun in range(len(target_nouns)):
                    est_prob, target_prob, squared_error = self.calc_error_with_3_thresholds(scores[i_noun], thresh_lo, best_thresh_md, thresh_hi, i_noun, affordable_attribute)
                    mean_squared_error += squared_error
                mean_squared_error /= len(target_nouns)
                if mean_squared_error < lowest_error:
                    lowest_error = mean_squared_error
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



