import numpy as np
class EchoStateNetwork:
def __init__(self, input_size, reservoir_size, output_size, spectral_radius=0.9):
self.input_size = input_size
self.reservoir_size = reservoir_size
self.output_size = output_size
self.spectral_radius = spectral_radius
self.input_weights = np.random.rand(reservoir_size, input_size) -