How do I use Tensorflow for signal processing?
<p>I have recently started learning about CNN and tensorflow(still a beginner). I am trying to train a simple convolutional neural to identify my randomly generated exponential signals , from their tau(time constant) value.</p>

<p>My question is how to assign them into classes and get tensorflow to learn from this data?</p>

<p>The code I used for generating the signals is below-</p>

<pre><code>import matplotlib.pyplot as plt
import random
import numpy as np

lorange= 1
hirange= 10
amplitude= random.uniform(-10,10)
t= 10
random.seed()
tau=random.uniform(lorange,hirange)
x=np.arange(t)

plt.xlabel('t=time')
plt.ylabel('x(t)')
plt.plot(x, amplitude*np.exp(-x/tau))
plt.show()
</code></pre>