Пример #1
0
	def compute_score(self, observation, prediction):
		"""Implementation of sciunit.Test.score_prediction."""
		print("%s: Observation = %s, Prediction = %s" % (self.name,str(observation),str(prediction)))

		score = zscore(observation,prediction)	
		score = ZScore(score)
		score.related_data['mean_spikewidth'] = prediction['mean']
		return score
Пример #2
0
	def compute_score(self, observation, prediction):
		"""Implementation of sciunit.Test.score_prediction."""
		score = zscore(observation,prediction)	
		score = ZScore(score)
		score.related_data['mean_vm'] = prediction['mean']
		return score