Applying machine learning algorithms on manufacturing of flexible biosensors for real-time monitoring of neuronal cells