mirror of
				https://github.com/Akkudoktor-EOS/EOS.git
				synced 2025-10-30 14:26:21 +00:00 
			
		
		
		
	Merge
This commit is contained in:
		| @@ -166,12 +166,6 @@ class HourlyElectricityPriceForecast: | |||||||
|             axis=0, |             axis=0, | ||||||
|             weights=np.array([1, 2, 4, 8, 16, 32, 64]) / np.sum(np.array([1, 2, 4, 8, 16, 32, 64])), |             weights=np.array([1, 2, 4, 8, 16, 32, 64]) / np.sum(np.array([1, 2, 4, 8, 16, 32, 64])), | ||||||
|         ) |         ) | ||||||
|         return average_prices |  | ||||||
|         average_prices = np.average( |  | ||||||
|             price_matrix, |  | ||||||
|             axis=0, |  | ||||||
|             weights=np.array([1, 2, 4, 8, 16, 32, 64]) / np.sum(np.array([1, 2, 4, 8, 16, 32, 64])), |  | ||||||
|         ) |  | ||||||
|  |  | ||||||
|         final_weights = np.linspace(1, 0, price_matrix.shape[1]) |         final_weights = np.linspace(1, 0, price_matrix.shape[1]) | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user