til it reaches the target value `error` passed as argument:

<script src="https://gist.github.com/spolu/699025bd4773c2c2a171.js"></script>

<strong>Choosing the best input signal</strong>

Once we had a functioning neural network and training algorithm, the next step was to test the different network structures and input signals to pick the most promising one. Here are the initial results we got:
<ul>
<li>`Type` is the input type (n-grams, words or hashtags) taken over the user's recent posts captions (earl