utils/stats.py
def q(y_true, y_pred):
	'''q value as described in Tropsha, Gramatica, Gombar:
	The Importance of Being Earnest'''
	y_true = np.array(y_true)
	y_pred = np.array(y_pred)
	y_mean = np.mean(y_true)
	return 1 - np.sum((y_true - y_pred) ** 2) / np.sum((y_true - y_mean) ** 2)
q value as described in Tropsha, Gramatica, Gombar:
	The Importance of Being Earnest
q value as described in Tropsha, Gramatica, Gombar:
The Importance of Being Earnest
q value as described in Tropsha Gramatica Gombar : The Importance of Being Earnest
def q(y_true, y_pred):
	y_true = np.array(y_true)
	y_pred = np.array(y_pred)
	y_mean = np.mean(y_true)
	return 1 - np.sum((y_true - y_pred) ** 2) / np.sum((y_true - y_mean) ** 2)
def q ( y_true , y_pred ) : y_true = np . array ( y_true ) y_pred = np . array ( y_pred ) y_mean = np . mean ( y_true ) return 1 - np . sum ( ( y_true - y_pred ) ** 2 ) / np . sum ( ( y_true - y_mean ) ** 2 )
q value as described in Tropsha, Gramatica, Gombar:
The Importance of Being Earnest
q value as described in Tropsha Gramatica Gombar : The Importance of Being Earnest
'''q value as described in Tropsha, Gramatica, Gombar:
	The Importance of Being Earnest'''
y_true
y_pred